mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]>
This commit is contained in:
parent
2cbde7abfd
commit
3706163140
2 changed files with 13 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue