projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc518ba
)
ALSA: line6: Fix missing error handling in line6_pcm_acquire()
author
Takashi Iwai
<tiwai@suse.de>
Fri, 23 Jan 2015 12:00:03 +0000
(13:00 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 28 Jan 2015 06:20:40 +0000
(07:20 +0100)
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/line6/pcm.c
b/sound/usb/line6/pcm.c
index 8a6059adef69db8918feaf799934339b0e5b609b..826158fe914930d91eacd718e97fead611a8a697 100644
(file)
--- a/
sound/usb/line6/pcm.c
+++ b/
sound/usb/line6/pcm.c
@@
-133,7
+133,8
@@
int line6_pcm_acquire(struct snd_line6_pcm *line6pcm, int channels)
*/
if (line6pcm->active_urb_in | line6pcm->unlink_urb_in) {
dev_err(line6pcm->line6->ifcdev, "Device not yet ready\n");
- return -EBUSY;
+ err = -EBUSY;
+ goto pcm_acquire_error;
}
line6pcm->count_in = 0;