diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-05-29 21:50:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-05-29 21:50:33 +0200 |
commit | a98d3984c85222aa9efc63c4f9dd3d805ce469f2 (patch) | |
tree | aeb9ebdcc06ca92b8114f30cedf16b8f3780b3f2 /include | |
parent | 52593de4c11fb24c83d8036ba34706881aab5e3d (diff) | |
parent | 55567ab70bd8551c73253e44ea5244db41eac81b (diff) | |
download | kernel-crypto-a98d3984c85222aa9efc63c4f9dd3d805ce469f2.tar.gz kernel-crypto-a98d3984c85222aa9efc63c4f9dd3d805ce469f2.tar.xz kernel-crypto-a98d3984c85222aa9efc63c4f9dd3d805ce469f2.zip |
Merge branch 'fix/misc' into for-linus
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/audio-v2.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/usb/audio-v2.h b/include/linux/usb/audio-v2.h index 2389f93a28b..92f1d99f0f1 100644 --- a/include/linux/usb/audio-v2.h +++ b/include/linux/usb/audio-v2.h @@ -105,6 +105,22 @@ struct uac_as_header_descriptor_v2 { __u8 iChannelNames; } __attribute__((packed)); +/* 4.10.1.2 Class-Specific AS Isochronous Audio Data Endpoint Descriptor */ + +struct uac2_iso_endpoint_descriptor { + __u8 bLength; /* in bytes: 8 */ + __u8 bDescriptorType; /* USB_DT_CS_ENDPOINT */ + __u8 bDescriptorSubtype; /* EP_GENERAL */ + __u8 bmAttributes; + __u8 bmControls; + __u8 bLockDelayUnits; + __le16 wLockDelay; +} __attribute__((packed)); + +#define UAC2_CONTROL_PITCH (3 << 0) +#define UAC2_CONTROL_DATA_OVERRUN (3 << 2) +#define UAC2_CONTROL_DATA_UNDERRUN (3 << 4) + /* 6.1 Interrupt Data Message */ #define UAC2_INTERRUPT_DATA_MSG_VENDOR (1 << 0) |