aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2025-05-22 11:38:16 +0100
committerMark Brown <broonie@kernel.org>2025-05-22 12:29:53 +0100
commitfd4b6c0fdf71d71f2bbc2f9aceb6f0814b4d93e2 (patch)
tree7a006cd30be56933218acd8ab80cb68abe836261 /sound
parentASoC: dt-bindings: audio-graph-card2: reference audio-graph routing property (diff)
downloadlinux-rng-fd4b6c0fdf71d71f2bbc2f9aceb6f0814b4d93e2.tar.xz
linux-rng-fd4b6c0fdf71d71f2bbc2f9aceb6f0814b4d93e2.zip
ASoC: wm_adsp: Make cirrus_dir const
The cirrus_dir pointer should be const data but was missing the second const needed to achieve this. I haven't marked this as a 'Fixes' because it isn't causing any bugs, it's only a code improvement. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20250522103816.543919-1-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm_adsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index e822979e6a19..3c580faab3b7 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -775,7 +775,7 @@ static int wm_adsp_request_firmware_file(struct wm_adsp *dsp,
return ret;
}
-static const char *cirrus_dir = "cirrus/";
+static const char * const cirrus_dir = "cirrus/";
static int wm_adsp_request_firmware_files(struct wm_adsp *dsp,
const struct firmware **wmfw_firmware,
char **wmfw_filename,