diff --git a/asoc/msm-pcm-host-voice-v2.c b/asoc/msm-pcm-host-voice-v2.c index 42c3a59a99ef..75cac617568b 100644 --- a/asoc/msm-pcm-host-voice-v2.c +++ b/asoc/msm-pcm-host-voice-v2.c @@ -1035,7 +1035,7 @@ static int msm_pcm_close(struct snd_pcm_substream *substream) pr_err("%s, dai_data is NULL\n", __func__); ret = -EINVAL; - goto done; + return ret; } wake_up(&dai_data->queue_wait);