]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: Constify DAI ops auto_selectable_formats
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 17 Jun 2024 12:57:35 +0000 (14:57 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2024 17:29:02 +0000 (18:29 +0100)
commit595265c92668cbdbd9f299c49907734d468c12e9
treeaa4b15db506ff3353993c7e1c5e8c5737d2e28d5
parentd4a7d067e061c95c6387cf537258082074a4d299
ASoC: Constify DAI ops auto_selectable_formats

The static arrays passed as 'auto_selectable_formats' are not modified
by the drivers nor by the core code, so make it const for code safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Herve Codina <herve.codina@bootlin.com>
Link: https://msgid.link/r/20240617125735.582963-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4613.c
sound/soc/codecs/da7213.c
sound/soc/codecs/framer-codec.c
sound/soc/codecs/hdmi-codec.c
sound/soc/codecs/idt821034.c
sound/soc/codecs/pcm3168a.c
sound/soc/codecs/peb2466.c
sound/soc/generic/test-component.c
sound/soc/sh/fsi.c
sound/soc/sh/rcar/core.c
sound/soc/soc-utils.c