diff options
author | Mark Brown <broonie@linaro.org> | 2013-11-22 12:16:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-24 14:53:26 +0100 |
commit | 6a0773368619644432fbe46f64ded6aa204baab9 (patch) | |
tree | 22920372876bdeef1ee0a1ce7578a5bf3c058338 /sound/soc/codecs/wm8991.h | |
parent | Linux 3.13-rc1 (diff) | |
download | linux-6a0773368619644432fbe46f64ded6aa204baab9.tar.xz linux-6a0773368619644432fbe46f64ded6aa204baab9.zip |
ASoC: wm8991: Use a supply to manage input power
Instead of using a fake register and events to manage input power use a
supply to do the job, saving code and preparing for regmap conversion of
the driver.
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8991.h')
-rw-r--r-- | sound/soc/codecs/wm8991.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/codecs/wm8991.h b/sound/soc/codecs/wm8991.h index 07707d8d7e20..08ed383303c0 100644 --- a/sound/soc/codecs/wm8991.h +++ b/sound/soc/codecs/wm8991.h @@ -76,7 +76,6 @@ #define WM8991_PLL1 0x3C #define WM8991_PLL2 0x3D #define WM8991_PLL3 0x3E -#define WM8991_INTDRIVBITS 0x3F #define WM8991_REGISTER_COUNT 60 #define WM8991_MAX_REGISTER 0x3F @@ -807,14 +806,6 @@ */ #define WM8991_PLLK2_MASK 0x00FF /* PLLK2 - [7:0] */ -/* - * R63 (0x3F) - Internal Driver Bits - */ -#define WM8991_INMIXL_PWR_BIT 0 -#define WM8991_AINLMUX_PWR_BIT 1 -#define WM8991_INMIXR_PWR_BIT 2 -#define WM8991_AINRMUX_PWR_BIT 3 - #define WM8991_MCLK_DIV 0 #define WM8991_DACCLK_DIV 1 #define WM8991_ADCCLK_DIV 2 |