Skip to content

ASoC: da7219: Improvements to DAI clocks handling in driver

Adam Thomson alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: da7219: MCLK should be enabled before DAI clockssound/soc/codecs/da7219.c+24 -81 reply
2/2ASoC: da7219: Add recalc_rate function to return DAI clock ratesound/soc/codecs/da7219.c sound/soc/codecs/da7219.h+43 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
1.9.1