diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c index cc0903af6a7f..78e809241e19 100644 --- a/sound/usb/pcm.c +++ b/sound/usb/pcm.c @@ -671,7 +671,7 @@ static int snd_usb_pcm_prepare(struct snd_pcm_substream *substream) ret = snd_vendor_set_pcm_intf(iface, subs->data_endpoint->iface, subs->data_endpoint->altsetting, subs->direction, subs); - if (!ret) + if (ret) goto unlock; /* reset the pointer */