Skip to content
Commit 8f898e92 authored by Clemens Ladisch's avatar Clemens Ladisch
Browse files

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: default avatarClemens Ladisch <clemens@ladisch.de>
parent f722406f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment