aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/usb/pcm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 3d3e8d108d55..be5c7c2219ea 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -479,7 +479,8 @@ add_sync_ep:
479 subs->data_endpoint->sync_master = subs->sync_endpoint; 479 subs->data_endpoint->sync_master = subs->sync_endpoint;
480 } 480 }
481 481
482 if ((err = snd_usb_init_pitch(subs->stream->chip, fmt->iface, alts, fmt)) < 0) 482 err = snd_usb_init_pitch(subs->stream->chip, fmt->iface, alts, fmt);
483 if (err < 0)
483 return err; 484 return err;
484 485
485 subs->cur_audiofmt = fmt; 486 subs->cur_audiofmt = fmt;