Jarkko Nikula e784539fe8 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>
2008-08-26 12:44:03 +02:00
..
2008-05-27 15:56:20 +02:00
2008-05-27 15:56:20 +02:00
2008-07-10 09:32:58 +02:00
2008-07-29 08:09:44 +09:00
2008-05-27 15:56:20 +02:00
2007-02-09 09:03:54 +01:00
2008-05-27 15:56:20 +02:00
2008-01-31 17:29:48 +01:00
2007-05-21 09:18:19 -07:00