diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-24 16:07:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-24 16:19:45 -0500 |
commit | 182c51ce7944a214dd77a0b5c0462241e49dd418 (patch) | |
tree | bd7b6ab829a18932f2710992762fd129d17d6040 /include/sound | |
parent | 5509f2f80c711add6bbcec9af7f4bbba2e2cc22b (diff) |
ASoC: wm8962: Optimise power consumption for IN4 DC measurement usage
When the hardware is configured with one or both of the IN4 inputs used
for DC measurement (with no DC blocking capacitor connected) then we can
improve power consumption slightly in idle modes by applying a register
write sequence. Provide platform data to enable this, implemented using
a regmap patch.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/wm8962.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/wm8962.h b/include/sound/wm8962.h index 1750bed7c2f..79e6d427b85 100644 --- a/include/sound/wm8962.h +++ b/include/sound/wm8962.h | |||
@@ -49,6 +49,12 @@ struct wm8962_pdata { | |||
49 | bool irq_active_low; | 49 | bool irq_active_low; |
50 | 50 | ||
51 | bool spk_mono; /* Speaker outputs tied together as mono */ | 51 | bool spk_mono; /* Speaker outputs tied together as mono */ |
52 | |||
53 | /** | ||
54 | * This flag should be set if one or both IN4 inputs is wired | ||
55 | * in a DC measurement configuration. | ||
56 | */ | ||
57 | bool in4_dc_measure; | ||
52 | }; | 58 | }; |
53 | 59 | ||
54 | #endif | 60 | #endif |