]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: caiaq: Add yet more sanity checks for invalid EPs
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Oct 2017 10:30:41 +0000 (12:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Oct 2017 14:59:28 +0000 (16:59 +0200)
commit29c280e1fa807abbec0a2c6251fd71df1f74079b
tree6292330e5675dc47f50bd49d1fe782658989e06c
parent9372efad67ba70d6d824f8c2a002cc6df794297d
ALSA: caiaq: Add yet more sanity checks for invalid EPs

A few other places in caiaq driver have the URB handling with the
fixed endpoints without checking the validity, too.  Add the sanity
check with the new helper function at each appropriate place for
avoiding the spurious kernel warnings due to invalid EPs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/input.c