diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-13 03:46:58 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-19 03:23:51 (GMT) |
commit | 3706163140939bccd58fba739a9820f1d5eebeaf (patch) | |
tree | 0f445627169d77ed69753411ca3e944f5cc7e50d /include/sound/wm8960.h | |
parent | 2cbde7abfdd8c3e2c1293b7096477e8bcf10b755 (diff) | |
download | linux-3706163140939bccd58fba739a9820f1d5eebeaf.tar.xz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/wm8960.h b/include/sound/wm8960.h index 74e9a95..b5a1ab9e 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 |