linux_dsm_epyc7002/sound/usb
Eldad Zack 42d4ab832d ALSA: usb-audio: fix regression for fixed stream quirk
Commit 8f898e92ae removed the redundant
reads of bInterfaceProtocol from the descriptors, but introduced a
regression to devices with quirks of type QUIRK_AUDIO_FIXED_ENDPOINT,
since fp->protocol is not set in setup process.

As a consequence, audio streams would not get initialized, as the
following logs show:

[   48.923043] setting usb interface 3:1
[   48.923056] Creating new capture data endpoint #81
[   48.923484] 4:3:1: cannot set freq 48000 to ep 0x81

This patch sets fp->protocol in create_fixed_stream_quirk() and
resolves the regression.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-07-10 17:52:14 +02:00
..
6fire ALSA: usb: uniform style used in MODULE_SUPPORTED_DEVICE() 2013-06-21 14:37:08 +02:00
caiaq ALSA: usb: uniform style used in MODULE_SUPPORTED_DEVICE() 2013-06-21 14:37:08 +02:00
hiface Add M2Tech hiFace USB-SPDIF driver 2013-06-24 09:26:08 +02:00
misc ALSA: sound/usb/misc/ua101.c: convert __list_for_each usage to list_for_each 2013-06-18 07:47:32 +02:00
usx2y ALSA: usb: uniform style used in MODULE_SUPPORTED_DEVICE() 2013-06-21 14:37:08 +02:00
card.c ALSA: usb-audio: work around Android accessory firmware bug 2013-06-17 09:56:52 +02:00
card.h ALSA: usb-audio: store protocol version in struct audioformat 2013-06-27 21:59:47 +02:00
clock.c ALSA: usb-audio: store protocol version in struct audioformat 2013-06-27 21:59:47 +02:00
clock.h ALSA: usb-audio: UAC2: do clock validity check earlier 2013-04-04 08:30:59 +02:00
debug.h ALSA: usb-audio: make hwc_debug a noop in case HW_CONST_DEBUG is not set 2011-05-18 11:44:35 +02:00
endpoint.c ALSA: USB: adjust for changed 3.8 USB API 2013-04-29 10:57:35 +02:00
endpoint.h ALSA: usb-audio: spelling correction 2013-04-04 08:30:30 +02:00
format.c ALSA: usb-audio: store protocol version in struct audioformat 2013-06-27 21:59:47 +02:00
format.h ALSA: usb-audio: store protocol version in struct audioformat 2013-06-27 21:59:47 +02:00
helper.c ALSA: snd-usb-audio: set the timeout for usb control set messages to 5000 ms 2013-04-22 10:45:02 +02:00
helper.h ALSA: usb-audio: increase control transfer timeout 2011-09-27 09:21:48 +02:00
Kconfig Add M2Tech hiFace USB-SPDIF driver 2013-06-24 09:26:08 +02:00
Makefile Add M2Tech hiFace USB-SPDIF driver 2013-06-24 09:26:08 +02:00
midi.c ALSA: usb-audio: add MIDI port names for some Roland devices 2013-06-27 21:59:48 +02:00
midi.h ALSA: usb-audio: add support for Akai MPD16 2010-05-21 17:12:30 +02:00
mixer_maps.c ALSA: usb-audio: add support for M-Audio FT C600 2013-02-11 14:02:27 +01:00
mixer_quirks.c ALSA: usb-audio: Add Audio Advantage Micro II 2013-06-28 13:37:12 +02:00
mixer_quirks.h ALSA: usb-mixer: factor out quirks 2010-03-12 12:20:26 +01:00
mixer.c ALSA: usb-audio: Fix invalid volume resolution for Logitech HD Webcam c310 2013-06-17 10:25:02 +02:00
mixer.h ALSA: usb-audio: add control index offset 2012-11-29 08:43:12 +01:00
pcm.c ALSA: usb-audio: detect implicit feedback on Roland devices 2013-06-27 21:59:47 +02:00
pcm.h ALSA: usb: refine delay information with USB frame counter 2011-09-12 10:30:20 +02:00
power.h ALSA: usbaudio: implement USB autosuspend 2011-03-11 14:59:29 +01:00
proc.c ALSA: usb-audio: proc: use found syncmaxsize to determine feedback format 2013-05-17 08:05:34 +02:00
proc.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
quirks-table.h ALSA: usb-audio: Add Audio Advantage Micro II 2013-06-28 13:37:12 +02:00
quirks.c ALSA: usb-audio: fix regression for fixed stream quirk 2013-07-10 17:52:14 +02:00
quirks.h ALSA: snd-usb: add quirks handler for DSD streams 2013-04-18 10:03:53 +02:00
stream.c ALSA: usb-audio: add support for many Roland/Yamaha devices 2013-06-27 21:59:48 +02:00
stream.h ALSA: snd-usb: re-order code 2011-09-14 17:07:02 +02:00
usbaudio.h ALSA: usb-audio: add support for many Roland/Yamaha devices 2013-06-27 21:59:48 +02:00