summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/fs210x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/fs210x.c')
-rw-r--r--sound/soc/codecs/fs210x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/fs210x.c b/sound/soc/codecs/fs210x.c
index e6195b71adad..eda716f817b5 100644
--- a/sound/soc/codecs/fs210x.c
+++ b/sound/soc/codecs/fs210x.c
@@ -968,7 +968,7 @@ static int fs210x_effect_scene_info(struct snd_kcontrol *kcontrol,
if (scene->name)
name = scene->name;
- strscpy(uinfo->value.enumerated.name, name, strlen(name) + 1);
+ strscpy(uinfo->value.enumerated.name, name);
return 0;
}