aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-12 23:46:58 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-18 23:23:51 -0400
commit3706163140939bccd58fba739a9820f1d5eebeaf (patch)
tree0f445627169d77ed69753411ca3e944f5cc7e50d /include/sound
parent2cbde7abfdd8c3e2c1293b7096477e8bcf10b755 (diff)
ASoC: wm8960: Support shared LRCLK
If the LRCLK is shared and the WM8960 is clock master then we should enable the LRCM bit to tell the device that it should drive LRCLK when either ADC or DAC is enabled rather than separately driving the two LRCLKs. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/wm8960.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/wm8960.h b/include/sound/wm8960.h
index 74e9a95529c5..b5a1ab9ebb4a 100644
--- a/include/sound/wm8960.h
+++ b/include/sound/wm8960.h
@@ -19,6 +19,8 @@ struct wm8960_data {
19 bool capless; /* Headphone outputs configured in capless mode */ 19 bool capless; /* Headphone outputs configured in capless mode */
20 20
21 int dres; /* Discharge resistance for headphone outputs */ 21 int dres; /* Discharge resistance for headphone outputs */
22
23 bool shared_lrclk; /* DAC and ADC LRCLKs are wired together */
22}; 24};
23 25
24#endif 26#endif