diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2009-06-21 17:19:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:19 -0400 |
commit | 85e08ca54c5c203cd2638f0fc8fa899a539f6254 (patch) | |
tree | 145fef8b25d136293d3dc8eb2dfecd84ce1ea08e /drivers/usb/gadget | |
parent | 81bf46f3034046c572714bdee1dc51beb3475082 (diff) |
USB: Move endpoint sync type definitions from usb/audio.h to usb/ch9.h
And use the new definitions in the USB Audio Class gadget driver.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/f_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_audio.c b/drivers/usb/gadget/f_audio.c index 66527ba2d2ea..76afbd1b515f 100644 --- a/drivers/usb/gadget/f_audio.c +++ b/drivers/usb/gadget/f_audio.c | |||
@@ -174,7 +174,7 @@ static struct usb_endpoint_descriptor as_out_ep_desc __initdata = { | |||
174 | .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, | 174 | .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, |
175 | .bDescriptorType = USB_DT_ENDPOINT, | 175 | .bDescriptorType = USB_DT_ENDPOINT, |
176 | .bEndpointAddress = USB_DIR_OUT, | 176 | .bEndpointAddress = USB_DIR_OUT, |
177 | .bmAttributes = USB_AS_ENDPOINT_ADAPTIVE | 177 | .bmAttributes = USB_ENDPOINT_SYNC_ADAPTIVE |
178 | | USB_ENDPOINT_XFER_ISOC, | 178 | | USB_ENDPOINT_XFER_ISOC, |
179 | .wMaxPacketSize = __constant_cpu_to_le16(OUT_EP_MAX_PACKET_SIZE), | 179 | .wMaxPacketSize = __constant_cpu_to_le16(OUT_EP_MAX_PACKET_SIZE), |
180 | .bInterval = 4, | 180 | .bInterval = 4, |