mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ASoC: da7213: Add support to handle mclk data provided to driver
Driver now can make use of mclk data, if provided, to set, enable and disable the clock source. As part of this, the choice to enable clock squaring is dealt with as part of dai_sysclk() call rather than as platform data. Signed-off-by: Adam Thomson <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
e90996a3ea
commit
6e7c444318
3 changed files with 62 additions and 16 deletions
|
|
@ -44,9 +44,6 @@ struct da7213_platform_data {
|
|||
enum da7213_dmic_data_sel dmic_data_sel;
|
||||
enum da7213_dmic_samplephase dmic_samplephase;
|
||||
enum da7213_dmic_clk_rate dmic_clk_rate;
|
||||
|
||||
/* MCLK squaring config */
|
||||
bool mclk_squaring;
|
||||
};
|
||||
|
||||
#endif /* _DA7213_PDATA_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue