]> git.baikalelectronics.ru Git - 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)
commit64bd98f8475149024bfaa245d02a902706038d4c
tree269017d339d7b7a634815454899e4cfd3ae06550
parentcaaad8afc438a5720df5d2ddff2ca3ba47f7fda4
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