summaryrefslogtreecommitdiffstats
path: root/include/sound/wm8960.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-13 05:46:58 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-19 05:23:51 +0200
commit3706163140939bccd58fba739a9820f1d5eebeaf (patch)
tree0f445627169d77ed69753411ca3e944f5cc7e50d /include/sound/wm8960.h
parentASoC: wm8776: Convert to direct regmap API usage (diff)
downloadlinux-3706163140939bccd58fba739a9820f1d5eebeaf.tar.xz
linux-3706163140939bccd58fba739a9820f1d5eebeaf.zip
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/wm8960.h')
-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 {
bool capless; /* Headphone outputs configured in capless mode */
int dres; /* Discharge resistance for headphone outputs */
+
+ bool shared_lrclk; /* DAC and ADC LRCLKs are wired together */
};
#endif