[alsa-devel] [PATCH] ASoC: tpa6130a2: Fix unbalanced regulator disables
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>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
More information about the Alsa-devel