kernel_optimize_test/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
debug.h
endpoint.c ALSA: USB: adjust for changed 3.8 USB API 2013-04-29 10:57:35 +02:00
endpoint.h
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
helper.h
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
mixer_maps.c
mixer_quirks.c ALSA: usb-audio: Add Audio Advantage Micro II 2013-06-28 13:37:12 +02:00
mixer_quirks.h
mixer.c ALSA: usb-audio: Fix invalid volume resolution for Logitech HD Webcam c310 2013-06-17 10:25:02 +02:00
mixer.h
pcm.c ALSA: usb-audio: detect implicit feedback on Roland devices 2013-06-27 21:59:47 +02:00
pcm.h
power.h
proc.c ALSA: usb-audio: proc: use found syncmaxsize to determine feedback format 2013-05-17 08:05:34 +02:00
proc.h
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
stream.c ALSA: usb-audio: add support for many Roland/Yamaha devices 2013-06-27 21:59:48 +02:00
stream.h
usbaudio.h ALSA: usb-audio: add support for many Roland/Yamaha devices 2013-06-27 21:59:48 +02:00