[PATCH v2 6/8] ASoC: cs42l42: Add Soundwire support

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Jan 19 17:27:21 CET 2023


>> You lost me here. Are you saying the soundwire bus clock is only known
>> in the prepare stage?
>>
> 
> hw_params() doesn't know the Soundwire bus clock so it can't do the
> check. We need to wait until we have both the sample rate and the
> chosen SWIRE_CLK.

Yes, makes sense. I forgot that all the stream management and bandwidth
allocation takes place in the prepare stage at the dailink level, and
the dai prepare happens after that. Thanks for the clarification.


More information about the Alsa-devel mailing list