From: Clemens Ladisch Date: Thu, 31 Jan 2013 20:39:17 +0000 (+0100) Subject: ALSA: usb-audio: store protocol version in struct audioformat X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f898e92aea2c24c7f379ee265d178f69ebb9c07;p=pandora-kernel.git 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 --- Reading git-diff-tree failed