projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d833cdb
)
ALSA: usb-audio: remove assignment from if condition
author
Eldad Zack
<eldad@fogrefinery.com>
Sat, 3 Aug 2013 08:50:16 +0000
(10:50 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 6 Aug 2013 08:48:22 +0000
(10:48 +0200)
Following general kernel style.
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/pcm.c
b/sound/usb/pcm.c
index 3d3e8d108d55d7aa6ab120c72cea725b8d9dd7db..be5c7c2219eac75fbeb89abeeec88c05397b4c9c 100644
(file)
--- a/
sound/usb/pcm.c
+++ b/
sound/usb/pcm.c
@@
-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;