diff options
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 735903a74675..46485de9e6f8 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -357,8 +357,9 @@ static int dapm_new_mixer(struct snd_soc_codec *codec, | |||
357 | path->long_name); | 357 | path->long_name); |
358 | ret = snd_ctl_add(codec->card, path->kcontrol); | 358 | ret = snd_ctl_add(codec->card, path->kcontrol); |
359 | if (ret < 0) { | 359 | if (ret < 0) { |
360 | printk(KERN_ERR "asoc: failed to add dapm kcontrol %s\n", | 360 | printk(KERN_ERR "asoc: failed to add dapm kcontrol %s: %d\n", |
361 | path->long_name); | 361 | path->long_name, |
362 | ret); | ||
362 | kfree(path->long_name); | 363 | kfree(path->long_name); |
363 | path->long_name = NULL; | 364 | path->long_name = NULL; |
364 | return ret; | 365 | return ret; |