[alsa-devel] [PATCH] ASoC: tpa6130a2: Fix unbalanced regulator disables

Liam Girdwood lrg at slimlogic.co.uk
Sat Oct 30 18:38:27 CEST 2010


On Thu, 2010-10-28 at 19:33 +0100, Mark Brown wrote:
> On Thu, Oct 28, 2010 at 02:05:40PM +0300, Jarkko Nikula wrote:
> > This driver has unbalanced regulator_disable when doing module loading and
> > unloading. This is because tpa6130a2_probe followed by tpa6130a2_remove
> > calls twice tpa6130a2_power(0). Fix this by implementing a state checking
> > in tpa6130a2_power.
> > 
> > Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>
> > Cc: Peter Ujfalusi <peter.ujfalusi at nokia.com>
> 
> Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

Applied.

Thanks

Liam
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list