ALSA: remove calls to usb_pipe_type_check for control endpoints
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2020 15:37:56 +0000 (17:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Sep 2020 09:03:02 +0000 (11:03 +0200)
commit4f6d57e4306868e4cb5fdf32f2e10f33dad1614f
tree45e9297b41d5ef6d3460f30d148887d7b79a7831
parente9b20f0fe17ab06c3b55153046209987749daa48
ALSA: remove calls to usb_pipe_type_check for control endpoints

A USB device will always haev a bi-directional endpoint 0, that's just
how the devices work, so no need to check for that in a few quirk tests
as it will always pass.

Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Alexander Tsoy <alexander@tsoy.me>
Reported-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200914153756.3412156-12-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/quirks.c