aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 6001b7f0a138..ab01e39a0a81 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1982,8 +1982,8 @@ int snd_soc_add_controls(struct snd_soc_codec *codec,
1982 const struct snd_kcontrol_new *control = &controls[i]; 1982 const struct snd_kcontrol_new *control = &controls[i];
1983 err = snd_ctl_add(card, snd_soc_cnew(control, codec, NULL)); 1983 err = snd_ctl_add(card, snd_soc_cnew(control, codec, NULL));
1984 if (err < 0) { 1984 if (err < 0) {
1985 dev_err(codec->dev, "%s: Failed to add %s\n", 1985 dev_err(codec->dev, "%s: Failed to add %s: %d\n",
1986 codec->name, control->name); 1986 codec->name, control->name, err);
1987 return err; 1987 return err;
1988 } 1988 }
1989 } 1989 }