ASoC: Use snd_soc_substream_to_rtd() for accessing
authorMark Brown <broonie@kernel.org>
Tue, 7 May 2024 01:38:02 +0000 (10:38 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 7 May 2024 01:38:02 +0000 (10:38 +0900)
commitd98b07124ba42ba84740ca27f53ffba02abc1606
treede9240b4a12436eb8385b7e175163be89f15d826
parentba04ff20062c14bfb3119aae5eec1a919ddd54d3
parent47aa51677c975a5f66bc93d1c527e8878cf34d6c
ASoC: Use snd_soc_substream_to_rtd() for accessing

Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:

Do not open-code snd_soc_substream_to_rtd() when accessing
snd_pcm_substream->private_data.  This makes code more consistent with
rest of ASoC and allows in the future to move the field to any other
place or add additional checks in snd_soc_substream_to_rtd().
sound/soc/qcom/qdsp6/q6apm-dai.c