diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2013-01-31 21:39:17 +0100 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2013-06-27 21:59:47 +0200 |
commit | 8f898e92aea2c24c7f379ee265d178f69ebb9c07 (patch) | |
tree | 6877a827d7541f0a3c779cd298bd65a69c550e06 /sound/usb/format.h | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | op-kernel-dev-8f898e92aea2c24c7f379ee265d178f69ebb9c07.zip op-kernel-dev-8f898e92aea2c24c7f379ee265d178f69ebb9c07.tar.gz |
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>
Diffstat (limited to 'sound/usb/format.h')
-rw-r--r-- | sound/usb/format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/format.h b/sound/usb/format.h index 6f31522..4b8a011 100644 --- a/sound/usb/format.h +++ b/sound/usb/format.h @@ -4,6 +4,6 @@ int snd_usb_parse_audio_format(struct snd_usb_audio *chip, struct audioformat *fp, unsigned int format, struct uac_format_type_i_continuous_descriptor *fmt, - int stream, struct usb_host_interface *iface); + int stream); #endif /* __USBAUDIO_FORMAT_H */ |