• Mark Brown's avatar
    ASoC: wm8994: Provide VMID mode control and fix default sequence · 22f8d055
    Mark Brown authored
    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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    22f8d055
wm8994.h 3.4 KB