diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-10 10:47:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-14 06:44:23 +0200 |
commit | 4b7ed83aa3c7f4b9fe363875440836e0f2aabbdf (patch) | |
tree | d25cdee15a1d0b3df46d0b071076ce508336b36c /sound/soc/codecs/wm8994.h | |
parent | ASoC: Add VMID widget for wm_hubs devices (diff) | |
download | linux-4b7ed83aa3c7f4b9fe363875440836e0f2aabbdf.tar.xz linux-4b7ed83aa3c7f4b9fe363875440836e0f2aabbdf.zip |
ASoC: Disable WM8994 VMID for digital only paths
On WM8994 class devices only the analogue portions of the CODEC require
VMID so when running digital only paths we can leave VMID disabled.
On some earlier devices the FLL uses VMID so we don't use DAPM reference
counting alone, we maintain an internal reference count which is also
enabled and disabled by the FLL startup.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r-- | sound/soc/codecs/wm8994.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index 1ab2266039f7..f4f1355efc82 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h @@ -83,6 +83,8 @@ struct wm8994_priv { struct completion fll_locked[2]; bool fll_locked_irq; + int vmid_refcount; + int dac_rates[2]; int lrclk_shared[2]; |