diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-03 02:26:33 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-03 02:26:33 -0400 |
commit | c50e86ce7c2961a41f2f7aa6e4fd6c99229ba205 (patch) | |
tree | 4ea36009719bd8fc523239fe1bdccb90f0dce3ae /drivers/bluetooth/btusb.c | |
parent | 14d33d384693eb6083396199de516fdef320f7af (diff) | |
parent | 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d (diff) |
Merge tag 'v3.6-rc4'
Merge 3.6-rc4 to get latest OMAP and device tree fixes.
Diffstat (limited to 'drivers/bluetooth/btusb.c')
-rw-r--r-- | drivers/bluetooth/btusb.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index c9463af8e564..cef3bac1a543 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c | |||
@@ -21,15 +21,7 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <linux/kernel.h> | ||
25 | #include <linux/module.h> | 24 | #include <linux/module.h> |
26 | #include <linux/init.h> | ||
27 | #include <linux/slab.h> | ||
28 | #include <linux/types.h> | ||
29 | #include <linux/sched.h> | ||
30 | #include <linux/errno.h> | ||
31 | #include <linux/skbuff.h> | ||
32 | |||
33 | #include <linux/usb.h> | 25 | #include <linux/usb.h> |
34 | 26 | ||
35 | #include <net/bluetooth/bluetooth.h> | 27 | #include <net/bluetooth/bluetooth.h> |
@@ -106,6 +98,7 @@ static struct usb_device_id btusb_table[] = { | |||
106 | { USB_DEVICE(0x0a5c, 0x21e6) }, | 98 | { USB_DEVICE(0x0a5c, 0x21e6) }, |
107 | { USB_DEVICE(0x0a5c, 0x21e8) }, | 99 | { USB_DEVICE(0x0a5c, 0x21e8) }, |
108 | { USB_DEVICE(0x0a5c, 0x21f3) }, | 100 | { USB_DEVICE(0x0a5c, 0x21f3) }, |
101 | { USB_DEVICE(0x0a5c, 0x21f4) }, | ||
109 | { USB_DEVICE(0x413c, 0x8197) }, | 102 | { USB_DEVICE(0x413c, 0x8197) }, |
110 | 103 | ||
111 | /* Foxconn - Hon Hai */ | 104 | /* Foxconn - Hon Hai */ |
@@ -125,6 +118,7 @@ static struct usb_device_id blacklist_table[] = { | |||
125 | 118 | ||
126 | /* Atheros 3011 with sflash firmware */ | 119 | /* Atheros 3011 with sflash firmware */ |
127 | { USB_DEVICE(0x0cf3, 0x3002), .driver_info = BTUSB_IGNORE }, | 120 | { USB_DEVICE(0x0cf3, 0x3002), .driver_info = BTUSB_IGNORE }, |
121 | { USB_DEVICE(0x0cf3, 0xe019), .driver_info = BTUSB_IGNORE }, | ||
128 | { USB_DEVICE(0x13d3, 0x3304), .driver_info = BTUSB_IGNORE }, | 122 | { USB_DEVICE(0x13d3, 0x3304), .driver_info = BTUSB_IGNORE }, |
129 | { USB_DEVICE(0x0930, 0x0215), .driver_info = BTUSB_IGNORE }, | 123 | { USB_DEVICE(0x0930, 0x0215), .driver_info = BTUSB_IGNORE }, |
130 | { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE }, | 124 | { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE }, |
@@ -139,6 +133,8 @@ static struct usb_device_id blacklist_table[] = { | |||
139 | { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 }, | 133 | { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 }, |
140 | { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 }, | 134 | { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 }, |
141 | { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 }, | 135 | { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 }, |
136 | { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 }, | ||
137 | { USB_DEVICE(0x0489, 0xe057), .driver_info = BTUSB_ATH3012 }, | ||
142 | 138 | ||
143 | /* Atheros AR5BBU12 with sflash firmware */ | 139 | /* Atheros AR5BBU12 with sflash firmware */ |
144 | { USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE }, | 140 | { USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE }, |
@@ -1026,7 +1022,7 @@ static int btusb_probe(struct usb_interface *intf, | |||
1026 | data->isoc = usb_ifnum_to_if(data->udev, 1); | 1022 | data->isoc = usb_ifnum_to_if(data->udev, 1); |
1027 | 1023 | ||
1028 | if (!reset) | 1024 | if (!reset) |
1029 | set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks); | 1025 | set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks); |
1030 | 1026 | ||
1031 | if (force_scofix || id->driver_info & BTUSB_WRONG_SCO_MTU) { | 1027 | if (force_scofix || id->driver_info & BTUSB_WRONG_SCO_MTU) { |
1032 | if (!disable_scofix) | 1028 | if (!disable_scofix) |
@@ -1038,7 +1034,7 @@ static int btusb_probe(struct usb_interface *intf, | |||
1038 | 1034 | ||
1039 | if (id->driver_info & BTUSB_DIGIANSWER) { | 1035 | if (id->driver_info & BTUSB_DIGIANSWER) { |
1040 | data->cmdreq_type = USB_TYPE_VENDOR; | 1036 | data->cmdreq_type = USB_TYPE_VENDOR; |
1041 | set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks); | 1037 | set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks); |
1042 | } | 1038 | } |
1043 | 1039 | ||
1044 | if (id->driver_info & BTUSB_CSR) { | 1040 | if (id->driver_info & BTUSB_CSR) { |
@@ -1046,7 +1042,7 @@ static int btusb_probe(struct usb_interface *intf, | |||
1046 | 1042 | ||
1047 | /* Old firmware would otherwise execute USB reset */ | 1043 | /* Old firmware would otherwise execute USB reset */ |
1048 | if (le16_to_cpu(udev->descriptor.bcdDevice) < 0x117) | 1044 | if (le16_to_cpu(udev->descriptor.bcdDevice) < 0x117) |
1049 | set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks); | 1045 | set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks); |
1050 | } | 1046 | } |
1051 | 1047 | ||
1052 | if (id->driver_info & BTUSB_SNIFFER) { | 1048 | if (id->driver_info & BTUSB_SNIFFER) { |