[alsa-devel] [PATCH] ASoC: Fix error paths in N810 machine driver init and release clocks at exit

Mark Brown broonie at sirena.org.uk
Tue Aug 26 12:35:43 CEST 2008


On Tue, Aug 26, 2008 at 01:32:57PM +0300, Jarkko Nikula wrote:
> Thanks to Felipe Balbi <felipe.balbi at 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 at nokia.com>

Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>


More information about the Alsa-devel mailing list