summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2013-07-09 20:36:15 +0200
committerTakashi Iwai <tiwai@suse.de>2013-07-10 17:52:14 +0200
commit42d4ab832d843b5a512b373c86e70caa43a041c8 (patch)
tree725c623907fdce98550b7d79e05212e501f30c84 /drivers
parentcd63a5ffd24214246b1092365c7d6c2cd5aca29b (diff)
downloadlinux-42d4ab832d843b5a512b373c86e70caa43a041c8.tar.bz2
ALSA: usb-audio: fix regression for fixed stream quirk
Commit 8f898e92aea2c24c7f379ee265d178f69ebb9c07 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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions