commit | 738d9edcfd44f154924692e54109fb439fcf8bdd | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Oct 04 17:22:05 2017 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Oct 11 15:14:51 2017 +0200 |
tree | 0a1a1681acb0576176c90dca28fac2fa14684d81 | |
parent | 2a4340c57717162c6bf07a0860d05711d4de994b [diff] |
ALSA: usb-audio: Add sanity checks for invalid EPs USB-audio driver may set up a URB containing the fixed EP without validating its presence for some non-class-compliant devices. This may end up with an oops-like kernel warning when submitted. For avoiding it, this patch adds the call of the new sanity-check helper for URBs. The checks are needed only for MIDI I/O as the other places have already some other checks. Signed-off-by: Takashi Iwai <tiwai@suse.de>