aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/usb/audio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/audio.h b/include/linux/usb/audio.h
index 5d646c388752..ed5cf92a3c0f 100644
--- a/include/linux/usb/audio.h
+++ b/include/linux/usb/audio.h
@@ -244,7 +244,7 @@ struct uac_selector_unit_descriptor {
244static inline __u8 uac_selector_unit_iSelector(struct uac_selector_unit_descriptor *desc) 244static inline __u8 uac_selector_unit_iSelector(struct uac_selector_unit_descriptor *desc)
245{ 245{
246 __u8 *raw = (__u8 *) desc; 246 __u8 *raw = (__u8 *) desc;
247 return raw[9 + desc->bLength - 1]; 247 return raw[desc->bLength - 1];
248} 248}
249 249
250/* 4.3.2.5 Feature Unit Descriptor */ 250/* 4.3.2.5 Feature Unit Descriptor */