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

Adam Thomson Adam.Thomson.Opensource at diasemi.com
Wed Jan 9 15:38:44 CET 2019


On 08 January 2019 09:13, Adam Thomson wrote:

> 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.

Apologies for repeat submissions. Had some glitches with mail servers here.
 
> 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


More information about the Alsa-devel mailing list