usb: fixup bluetooth descriptors

Commit 4696425cd0 changes some
endpoints from isocrounous to interrupt by mistake.  Fix it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2011-07-06 12:40:28 +02:00
parent eb3b58f96f
commit dd850cf203

View File

@ -99,13 +99,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
.eps = (USBDescEndpoint[]) { .eps = (USBDescEndpoint[]) {
{ {
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP, .bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0, .wMaxPacketSize = 0,
.bInterval = 0x01, .bInterval = 0x01,
}, },
{ {
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP, .bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0, .wMaxPacketSize = 0,
.bInterval = 0x01, .bInterval = 0x01,
}, },
@ -120,13 +120,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
.eps = (USBDescEndpoint[]) { .eps = (USBDescEndpoint[]) {
{ {
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP, .bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x09, .wMaxPacketSize = 0x09,
.bInterval = 0x01, .bInterval = 0x01,
}, },
{ {
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP, .bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x09, .wMaxPacketSize = 0x09,
.bInterval = 0x01, .bInterval = 0x01,
}, },
@ -141,13 +141,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
.eps = (USBDescEndpoint[]) { .eps = (USBDescEndpoint[]) {
{ {
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP, .bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x11, .wMaxPacketSize = 0x11,
.bInterval = 0x01, .bInterval = 0x01,
}, },
{ {
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP, .bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x11, .wMaxPacketSize = 0x11,
.bInterval = 0x01, .bInterval = 0x01,
}, },
@ -162,13 +162,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
.eps = (USBDescEndpoint[]) { .eps = (USBDescEndpoint[]) {
{ {
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP, .bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x19, .wMaxPacketSize = 0x19,
.bInterval = 0x01, .bInterval = 0x01,
}, },
{ {
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP, .bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x19, .wMaxPacketSize = 0x19,
.bInterval = 0x01, .bInterval = 0x01,
}, },
@ -183,13 +183,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
.eps = (USBDescEndpoint[]) { .eps = (USBDescEndpoint[]) {
{ {
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP, .bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x21, .wMaxPacketSize = 0x21,
.bInterval = 0x01, .bInterval = 0x01,
}, },
{ {
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP, .bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x21, .wMaxPacketSize = 0x21,
.bInterval = 0x01, .bInterval = 0x01,
}, },
@ -204,13 +204,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
.eps = (USBDescEndpoint[]) { .eps = (USBDescEndpoint[]) {
{ {
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP, .bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x31, .wMaxPacketSize = 0x31,
.bInterval = 0x01, .bInterval = 0x01,
}, },
{ {
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP, .bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT, .bmAttributes = USB_ENDPOINT_XFER_ISOC,
.wMaxPacketSize = 0x31, .wMaxPacketSize = 0x31,
.bInterval = 0x01, .bInterval = 0x01,
}, },