diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-03 08:47:03 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-03 12:08:43 -0500 |
commit | 913d7b4cc0d958df9f2e4bc0e6926c037d96d07e (patch) | |
tree | 002e053fcda7dd2fb41e90706963b2366e83e29c /include/sound/wm8960.h | |
parent | b6877a477d356a7c07a6c173d58c34a0a6abb086 (diff) |
ASoC: Add support for WM8960 capless mode
The WM8960 headphone outputs can be run in capless mode with OUT3
used to drive a pseudo ground for the headphone drivers. In this
mode the mono mixer is not used, the mixer should be turned on
in concert with the headphone output drivers and the device bias
levels are managed differently.
Also tweak the existing bias management to remove the use of active
discharge while we're at it since that's often audible.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound/wm8960.h')
-rw-r--r-- | include/sound/wm8960.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/wm8960.h b/include/sound/wm8960.h index 808a258e696c..74e9a95529c5 100644 --- a/include/sound/wm8960.h +++ b/include/sound/wm8960.h | |||
@@ -16,6 +16,8 @@ | |||
16 | #define WM8960_DRES_MAX 3 | 16 | #define WM8960_DRES_MAX 3 |
17 | 17 | ||
18 | struct wm8960_data { | 18 | struct wm8960_data { |
19 | bool capless; /* Headphone outputs configured in capless mode */ | ||
20 | |||
19 | int dres; /* Discharge resistance for headphone outputs */ | 21 | int dres; /* Discharge resistance for headphone outputs */ |
20 | }; | 22 | }; |
21 | 23 | ||