diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2008-08-26 06:32:57 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-08-26 06:44:03 -0400 |
commit | e784539fe81490a982a013621d39a60c4fce427e (patch) | |
tree | 1d809f790fe19a8faf46c9baa1da7dcf8b983a04 /block | |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions