alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ALSA: include/linux/usb/audio.h: add __attribute__((packed))
@ 2010-05-11 16:13 Daniel Mack
  2010-05-11 16:13 ` [PATCH 2/2] ALSA: sound/usb: add preliminary support for UAC2 interrupts Daniel Mack
  2010-05-11 20:52 ` [PATCH 1/2] ALSA: include/linux/usb/audio.h: add __attribute__((packed)) Takashi Iwai
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Mack @ 2010-05-11 16:13 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, Clemens Ladisch

This was missing on the definition of struct uac_iso_endpoint_descriptor

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Clemens Ladisch <clemens@ladisch.de>
---
 include/linux/usb/audio.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/usb/audio.h b/include/linux/usb/audio.h
index 57f2055..9fae6bd 100644
--- a/include/linux/usb/audio.h
+++ b/include/linux/usb/audio.h
@@ -456,7 +456,7 @@ struct uac_iso_endpoint_descriptor {
 	__u8  bmAttributes;
 	__u8  bLockDelayUnits;
 	__le16 wLockDelay;
-};
+} __attribute__((packed));
 #define UAC_ISO_ENDPOINT_DESC_SIZE	7
 
 #define UAC_EP_CS_ATTR_SAMPLE_RATE	0x01
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-12  7:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 16:13 [PATCH 1/2] ALSA: include/linux/usb/audio.h: add __attribute__((packed)) Daniel Mack
2010-05-11 16:13 ` [PATCH 2/2] ALSA: sound/usb: add preliminary support for UAC2 interrupts Daniel Mack
2010-05-11 20:52 ` [PATCH 1/2] ALSA: include/linux/usb/audio.h: add __attribute__((packed)) Takashi Iwai
2010-05-11 22:50   ` Daniel Mack
2010-05-12  6:41     ` Clemens Ladisch
2010-05-12  7:30       ` Daniel Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).