]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: snd-usb: fix sync pipe check
authorDaniel Mack <zonque@gmail.com>
Sun, 17 Jun 2012 11:44:27 +0000 (13:44 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jun 2012 06:36:36 +0000 (08:36 +0200)
commit7fb75db139965c1955bf6bbde62a357f9843286d
tree269017d339d7b7a634815454899e4cfd3ae06550
parentef890ae9b34cd99411bc72829944c74d2223ef70
ALSA: snd-usb: fix sync pipe check

Fix a bogus sanity check for sync pipe in pcm.c. This flaw was
introduced during the streaming logic refactorization.

While at it, improve the error messages that are generated in such cases.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-and-tested-by: <ben@b1c1l1.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c