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)
commit96cd79626fc3fe5d77c243785368679e9b313642
tree6292330e5675dc47f50bd49d1fe782658989e06c
parent5935b9526a5e92e294397be8a1253c2a17d97204
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