From: Mark Brown Date: Mon, 19 Mar 2012 17:32:06 +0000 (+0000) Subject: ASoC: wm8994: Provide VMID mode control and fix default sequence X-Git-Tag: v3.4-rc1~88^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f8d055350066b4a87de4adea8c5213cac54534;p=pandora-kernel.git 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 --- Reading git-diff-tree failed