ALSA: hiface: Add sanity checks for invalid EPs
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Oct 2017 10:32:56 +0000 (12:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Oct 2017 14:59:27 +0000 (16:59 +0200)
commit5935b9526a5e92e294397be8a1253c2a17d97204
tree1f9c2e9f747b902e2b069baa0b974a04c0b56a5c
parent1f10034938e7e1aa787a683cb56cdee3595f29b4
ALSA: hiface: Add sanity checks for invalid EPs

hiface usb-audio driver sets up URBs containing the fixed endpoints
without validation.  This may end up with an oops-like kernel warning
when submitted.

For avoiding it, this patch adds the calls of the new sanity-check
helper for URBs.

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