diff options
| author | Nikita Yushchenko <[email protected]> | 2016-09-22 10:10:40 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2016-09-24 18:26:59 +0000 |
| commit | a114580f8f3e5bdefc14d75d6c3ba7032210b980 (patch) | |
| tree | 0f563f289991273024fe34e1a1eafeb2300a551b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Linux 4.8-rc1 (diff) | |
| download | kernel-a114580f8f3e5bdefc14d75d6c3ba7032210b980.tar.gz kernel-a114580f8f3e5bdefc14d75d6c3ba7032210b980.zip | |
ASoC: tpa6130a2: fix volume setting when no stream is running
After moving tpa6130a2 power management to DAPM, if chip can be physically
powered off (either reset_gpio is defined, or regulator indeed removes
power), then volume change no longer works unless chip is on due to
a running stream.
Fix that by entering regcache cache_only mode while chip is off.
Move regcache calls to tpa6130a2_power() to get them at driver init time
as well.
Signed-off-by: Nikita Yushchenko <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
