Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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