|
Hans de Goede |
3f1f29 |
From 1d729b8511fd72f66d7cc10e801a546daa40bb79 Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
3f1f29 |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
3f1f29 |
Date: Wed, 6 Jul 2011 12:40:28 +0200
|
|
Hans de Goede |
3f1f29 |
Subject: [PATCH 21/35] usb: fixup bluetooth descriptors
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
Commit 4696425cd05c7baa0a4b469d43ba4b8488bcfc0f changes some
|
|
Hans de Goede |
3f1f29 |
endpoints from isocrounous to interrupt by mistake. Fix it.
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
3f1f29 |
---
|
|
Hans de Goede |
3f1f29 |
hw/usb-bt.c | 24 ++++++++++++------------
|
|
Hans de Goede |
3f1f29 |
1 files changed, 12 insertions(+), 12 deletions(-)
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
diff --git a/hw/usb-bt.c b/hw/usb-bt.c
|
|
Hans de Goede |
3f1f29 |
index baae487..e364513 100644
|
|
Hans de Goede |
3f1f29 |
--- a/hw/usb-bt.c
|
|
Hans de Goede |
3f1f29 |
+++ b/hw/usb-bt.c
|
|
Hans de Goede |
3f1f29 |
@@ -99,13 +99,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
|
|
Hans de Goede |
3f1f29 |
.eps = (USBDescEndpoint[]) {
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
@@ -120,13 +120,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
|
|
Hans de Goede |
3f1f29 |
.eps = (USBDescEndpoint[]) {
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x09,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x09,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
@@ -141,13 +141,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
|
|
Hans de Goede |
3f1f29 |
.eps = (USBDescEndpoint[]) {
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x11,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x11,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
@@ -162,13 +162,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
|
|
Hans de Goede |
3f1f29 |
.eps = (USBDescEndpoint[]) {
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x19,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x19,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
@@ -183,13 +183,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
|
|
Hans de Goede |
3f1f29 |
.eps = (USBDescEndpoint[]) {
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x21,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x21,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
@@ -204,13 +204,13 @@ static const USBDescIface desc_iface_bluetooth[] = {
|
|
Hans de Goede |
3f1f29 |
.eps = (USBDescEndpoint[]) {
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_OUT | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x31,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
{
|
|
Hans de Goede |
3f1f29 |
.bEndpointAddress = USB_DIR_IN | USB_SCO_EP,
|
|
Hans de Goede |
3f1f29 |
- .bmAttributes = USB_ENDPOINT_XFER_INT,
|
|
Hans de Goede |
3f1f29 |
+ .bmAttributes = USB_ENDPOINT_XFER_ISOC,
|
|
Hans de Goede |
3f1f29 |
.wMaxPacketSize = 0x31,
|
|
Hans de Goede |
3f1f29 |
.bInterval = 0x01,
|
|
Hans de Goede |
3f1f29 |
},
|
|
Hans de Goede |
3f1f29 |
--
|
|
Hans de Goede |
3f1f29 |
1.7.5.1
|
|
Hans de Goede |
3f1f29 |
|