mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
ALSA: line6: Fix missing error handling in line6_pcm_acquire()
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
bc518ba4cc
commit
eab22e4053
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user