diff options
| author | Jarkko Nikula <[email protected]> | 2010-10-28 14:05:40 +0300 |
|---|---|---|
| committer | Liam Girdwood <[email protected]> | 2010-10-30 17:33:38 +0100 |
| commit | 63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (patch) | |
| tree | 64a8dc4234432cfc064e3ae81e86d7bc8498c0d2 /arch/powerpc/lib/code-patching.c | |
| parent | 1bc13b2e3518ff7856924d7c2bdf06196f605260 (diff) | |
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 <[email protected]>
Cc: Peter Ujfalusi <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Peter Ujfalusi <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions