mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
ALSA: usb-audio: remove assignment from if condition
Following general kernel style. Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d833cdb10c
commit
d133f2c22e
1 changed files with 2 additions and 1 deletions
|
|
@ -479,7 +479,8 @@ add_sync_ep:
|
|||
subs->data_endpoint->sync_master = subs->sync_endpoint;
|
||||
}
|
||||
|
||||
if ((err = snd_usb_init_pitch(subs->stream->chip, fmt->iface, alts, fmt)) < 0)
|
||||
err = snd_usb_init_pitch(subs->stream->chip, fmt->iface, alts, fmt);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
subs->cur_audiofmt = fmt;
|
||||
|
|
|
|||
Loading…
Reference in a new issue