Searched hist:"8 f898e92aea2c24c7f379ee265d178f69ebb9c07" (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/sound/usb/ |
H A D | format.h | diff 8f898e92aea2c24c7f379ee265d178f69ebb9c07 Thu Jan 31 14:39:17 CST 2013 Clemens Ladisch <clemens@ladisch.de> ALSA: usb-audio: store protocol version in struct audioformat
Instead of reading bInterfaceProtocol from the descriptor whenever it's needed, store this value in the audioformat structure. Besides simplifying some code, this will allow us to correctly handle vendor- specific devices where the descriptors are marked with other values.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
H A D | clock.c | diff 8f898e92aea2c24c7f379ee265d178f69ebb9c07 Thu Jan 31 14:39:17 CST 2013 Clemens Ladisch <clemens@ladisch.de> ALSA: usb-audio: store protocol version in struct audioformat
Instead of reading bInterfaceProtocol from the descriptor whenever it's needed, store this value in the audioformat structure. Besides simplifying some code, this will allow us to correctly handle vendor- specific devices where the descriptors are marked with other values.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
H A D | stream.c | diff 8f898e92aea2c24c7f379ee265d178f69ebb9c07 Thu Jan 31 14:39:17 CST 2013 Clemens Ladisch <clemens@ladisch.de> ALSA: usb-audio: store protocol version in struct audioformat
Instead of reading bInterfaceProtocol from the descriptor whenever it's needed, store this value in the audioformat structure. Besides simplifying some code, this will allow us to correctly handle vendor- specific devices where the descriptors are marked with other values.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
H A D | format.c | diff 8f898e92aea2c24c7f379ee265d178f69ebb9c07 Thu Jan 31 14:39:17 CST 2013 Clemens Ladisch <clemens@ladisch.de> ALSA: usb-audio: store protocol version in struct audioformat
Instead of reading bInterfaceProtocol from the descriptor whenever it's needed, store this value in the audioformat structure. Besides simplifying some code, this will allow us to correctly handle vendor- specific devices where the descriptors are marked with other values.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
H A D | card.h | diff 8f898e92aea2c24c7f379ee265d178f69ebb9c07 Thu Jan 31 14:39:17 CST 2013 Clemens Ladisch <clemens@ladisch.de> ALSA: usb-audio: store protocol version in struct audioformat
Instead of reading bInterfaceProtocol from the descriptor whenever it's needed, store this value in the audioformat structure. Besides simplifying some code, this will allow us to correctly handle vendor- specific devices where the descriptors are marked with other values.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
H A D | pcm.c | diff 8f898e92aea2c24c7f379ee265d178f69ebb9c07 Thu Jan 31 14:39:17 CST 2013 Clemens Ladisch <clemens@ladisch.de> ALSA: usb-audio: store protocol version in struct audioformat
Instead of reading bInterfaceProtocol from the descriptor whenever it's needed, store this value in the audioformat structure. Besides simplifying some code, this will allow us to correctly handle vendor- specific devices where the descriptors are marked with other values.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
H A D | quirks.c | diff 42d4ab832d843b5a512b373c86e70caa43a041c8 Tue Jul 09 13:36:15 CDT 2013 Eldad Zack <eldad@fogrefinery.com> 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>
|