Commit 0350b6a0 authored by Daniel Mack's avatar Daniel Mack Committed by Takashi Iwai

include/linux/usb/audio.h: add __attribute__((packed))

This was missing on the definition of struct uac_iso_endpoint_descriptor
Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5e688883
...@@ -456,7 +456,7 @@ struct uac_iso_endpoint_descriptor { ...@@ -456,7 +456,7 @@ struct uac_iso_endpoint_descriptor {
__u8 bmAttributes; __u8 bmAttributes;
__u8 bLockDelayUnits; __u8 bLockDelayUnits;
__le16 wLockDelay; __le16 wLockDelay;
}; } __attribute__((packed));
#define UAC_ISO_ENDPOINT_DESC_SIZE 7 #define UAC_ISO_ENDPOINT_DESC_SIZE 7
#define UAC_EP_CS_ATTR_SAMPLE_RATE 0x01 #define UAC_EP_CS_ATTR_SAMPLE_RATE 0x01
......
Markdown is supported
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