[PATCH 0/2] ASoC: da7219: Improvements to DAI clocks handling in driver

Adam Thomson
2019-01-09T14:13:43Z

This small patchset provides improvements to CCF based clock handling relating
to the DAI clocks. In the first patch MCLK is made parent of DAI clocks, if MCLK
has been provided to the driver, which means that MCLK will automatically be
enabled as a prerequisite to DAI clocks. The second patch adds the ability to
read the WCLK rate provided by the codec when DAI clocks are featured. This is
more useful than the returned rate simply being the rate of the parent clock,
which in this case would be MCLK.

Adam Thomson (2):
ASoC: da7219: MCLK should be enabled before DAI clocks
ASoC: da7219: Add recalc_rate function to return DAI clock rate

sound/soc/codecs/da7219.c | 77 ++++++++++++++++++++++++++++++++++++++++-------
sound/soc/codecs/da7219.h | 1 +
2 files changed, 67 insertions(+), 11 deletions(-)

--
1.9.1