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

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Oct 28 20:33:26 CEST 2010


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>


More information about the Alsa-devel mailing list