diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-10-28 14:05:40 +0300 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-30 17:33:38 +0100 |
commit | 63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (patch) | |
tree | 64a8dc4234432cfc064e3ae81e86d7bc8498c0d2 /sound/soc/codecs/wm9713.c | |
parent | 1bc13b2e3518ff7856924d7c2bdf06196f605260 (diff) | |
download | kernel_samsung_smdk4412-63f7526f26f0a9291ac3f7a986aa18ebfb61ec19.zip kernel_samsung_smdk4412-63f7526f26f0a9291ac3f7a986aa18ebfb61ec19.tar.gz kernel_samsung_smdk4412-63f7526f26f0a9291ac3f7a986aa18ebfb61ec19.tar.bz2 |
ASoC: tpa6130a2: Fix unbalanced regulator disables
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@gmail.com>
Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm9713.c')
0 files changed, 0 insertions, 0 deletions