]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Constify DAI passed to get_channel_map
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 17 Jun 2024 13:03:22 +0000 (15:03 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 18 Jun 2024 13:19:55 +0000 (14:19 +0100)
commit785d64c4941221044940ab199e6625af17296470
treef13cabe10057b06340d5f91e2a4f6c9f8c8f2102
parentf3ac3da7e4d0957b3402fb31a4ca480e739e086f
ASoC: Constify DAI passed to get_channel_map

get_channel_map() is supposed to obtain map of channels without
modifying the state of the given DAI, so make the pointer to 'struct
snd_soc_dai' as pointing to const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240617-n-asoc-const-auto-selectable-formats-v1-4-8004f346ee38@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h
sound/soc/codecs/lpass-rx-macro.c
sound/soc/codecs/lpass-tx-macro.c
sound/soc/codecs/lpass-va-macro.c
sound/soc/codecs/lpass-wsa-macro.c
sound/soc/codecs/wcd9335.c
sound/soc/codecs/wcd934x.c
sound/soc/soc-dai.c