projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24af0d7
)
ASoC: cs42l43: make const array controls static
author
Colin Ian King
<colin.i.king@gmail.com>
Fri, 15 Sep 2023 09:26:39 +0000
(10:26 +0100)
committer
Mark Brown
<broonie@kernel.org>
Fri, 15 Sep 2023 23:05:56 +0000
(
00:05
+0100)
Don't populate the const array controls on the stack, instead make it
static.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20230915092639.31074-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l43.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l43.c
b/sound/soc/codecs/cs42l43.c
index 1a95c370fc4c9d6687650fe7a06f37d95c884084..4e3bc15f1b259f43e561177d44b5ae140077bf94 100644
(file)
--- a/
sound/soc/codecs/cs42l43.c
+++ b/
sound/soc/codecs/cs42l43.c
@@
-162,7
+162,7
@@
CS42L43_IRQ_COMPLETE(load_detect)
static irqreturn_t cs42l43_mic_shutter(int irq, void *data)
{
struct cs42l43_codec *priv = data;
- const char * const controls[] = {
+
static
const char * const controls[] = {
"Decimator 1 Switch",
"Decimator 2 Switch",
"Decimator 3 Switch",