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

Takashi Iwai tiwai at suse.de
Tue Aug 26 15:39:22 CEST 2008


At Tue, 26 Aug 2008 11:35:43 +0100,
Mark Brown wrote:
> 
> 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>

Thanks, applied.
Will be included in the next pull request.


Takashi


More information about the Alsa-devel mailing list