diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-10-28 11:05:40 (GMT) |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-30 16:33:38 (GMT) |
commit | 63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (patch) | |
tree | 64a8dc4234432cfc064e3ae81e86d7bc8498c0d2 /sound/pci/hda/hda_generic.c | |
parent | 1bc13b2e3518ff7856924d7c2bdf06196f605260 (diff) | |
download | linux-fsl-qoriq-63f7526f26f0a9291ac3f7a986aa18ebfb61ec19.tar.xz |
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/pci/hda/hda_generic.c')
0 files changed, 0 insertions, 0 deletions