]> 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)
commitf26491800237f759ee56b3c25160ee73f2dd3c01
tree269017d339d7b7a634815454899e4cfd3ae06550
parent65ccb141f48266285b08a97c1d443de96fb9f119
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