diff options
author | Nikita Yushchenko <nikita.yoush@cogentembedded.com> | 2016-09-22 13:10:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-24 19:26:59 +0100 |
commit | a114580f8f3e5bdefc14d75d6c3ba7032210b980 (patch) | |
tree | 0f563f289991273024fe34e1a1eafeb2300a551b /firmware/cpia2 | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
download | op-kernel-dev-a114580f8f3e5bdefc14d75d6c3ba7032210b980.zip op-kernel-dev-a114580f8f3e5bdefc14d75d6c3ba7032210b980.tar.gz |
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 <nikita.yoush@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions