]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite32a6a19711ac36b84c3edad77e445d1f8ab6885
tree1f9c2e9f747b902e2b069baa0b974a04c0b56a5c
parent7beff640553947ba7634a9516f5fd39f420caa1d
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