commit | e784539fe81490a982a013621d39a60c4fce427e | [log] [tgz] |
---|---|---|
author | Jarkko Nikula <jarkko.nikula@nokia.com> | Tue Aug 26 13:32:57 2008 +0300 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Aug 26 12:44:03 2008 +0200 |
tree | 1d809f790fe19a8faf46c9baa1da7dcf8b983a04 | |
parent | 3d839e5b87a70effc629c1cdbf77d837ef141919 [diff] |
ALSA: ASoC: Fix error paths in N810 machine driver init and release clocks at exit Thanks to Felipe Balbi <felipe.balbi@nokia.com> by noticing that if clk_get to sys_clkout2_src fails, then n810_snd_device is never released. Add also sys_clkout2_src release into error path, error code return and release the clocks at exit. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>