[PATCH 07/29] ASoC: sof: use asoc_substream_to_rtd()

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Jul 20 17:12:56 CEST 2020



On 7/19/20 8:18 PM, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> Now we can use asoc_substream_to_rtd() macro,
> let's use it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

I just ran this on the SOF CI and no issues detected:
https://github.com/thesofproject/linux/pull/2300

Tested-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>

it's a good clean-up, the SOF code was inconsistent with the use of the 
snd_pcm_substream_chip() and direct access to private_data, thanks 
Morimoto-san!


More information about the Alsa-devel mailing list