]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Constify return of snd_soc_dai_get_pcm_stream()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 17 Jun 2024 13:03:23 +0000 (15:03 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 18 Jun 2024 13:19:56 +0000 (14:19 +0100)
commitde267e7a6ea8e6fa29af2287adfc9fc9d87e6dc9
tree66c5ebbd3497416a3b1801e0183f030fb4389ecb
parent785d64c4941221044940ab199e6625af17296470
ASoC: Constify return of snd_soc_dai_get_pcm_stream()

Returned 'struct snd_soc_pcm_stream' by snd_soc_dai_get_pcm_stream() is
not modified by the users, so it can be changed as pointer to const.
This is a necessary step towards making the 'dai->driver' a pointer to
const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240617-n-asoc-const-auto-selectable-formats-v1-5-8004f346ee38@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h
sound/soc/intel/avs/pcm.c
sound/soc/soc-dai.c
sound/soc/soc-pcm.c