ASoC: dapm: Fix return value in snd_soc_dapm_new_control()
PATCH 1/1 ASoC: dapm: Fix return value in snd_soc_dapm_new_control()
Signed-off-by Dimitris Papastamos <[email protected]>
--- sound/soc/soc-dapm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-dapm.c +1 -1
@@ -2884,7 +2884,7 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, ret =PTR_ERR (w->priv);dev_err (dapm->dev,"Failed to request %s: %d\n" , w->name, ret); -return ret; +return NULL ; }break ;default :
Signature · 1 line
1.7.12
Quoted 1 line · Dimitris Papastamos
Signed-off-by Dimitris Papastamos <[email protected]>
Which kernel is this against? Both for-3.6 and for-3.7 already have the code like this (according to git am).