summaryrefslogtreecommitdiffstats
path: root/sound/usb/quirks.c
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-10-28 14:05:40 +0300
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-10-30 17:33:38 +0100
commit63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (patch)
tree64a8dc4234432cfc064e3ae81e86d7bc8498c0d2 /sound/usb/quirks.c
parent1bc13b2e3518ff7856924d7c2bdf06196f605260 (diff)
downloadop-kernel-dev-63f7526f26f0a9291ac3f7a986aa18ebfb61ec19.zip
op-kernel-dev-63f7526f26f0a9291ac3f7a986aa18ebfb61ec19.tar.gz
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/usb/quirks.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud