diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-19 17:32:06 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-19 19:08:17 +0000 |
commit | 22f8d055350066b4a87de4adea8c5213cac54534 (patch) | |
tree | 229a761bb0e5c4a9ee27db3d327bbd11905b9c96 /sound/soc/codecs/twl4030.c | |
parent | 6f8270cc9a43d767676c97df5773fdcede312a88 (diff) |
ASoC: wm8994: Provide VMID mode control and fix default sequence
The optimal management of VMID depends on a number of factors which vary
dynamically at runtime, for example the connection to a system docking
station. In some circumstances it is desirable to keep VMID enabled all
the time, in others it is desirable to aggressively power it up and down.
Provide a callback allowing machine driver to configure either the normal
power up/down mode (WM8994_VMID_MODE_NORMAL) or to maintain VMID even
when idle (WM8994_VMID_MODE_FORCE). This callback, wm8994_vmid_mode(),
should be called with the CODEC lock.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/twl4030.c')
0 files changed, 0 insertions, 0 deletions