[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 3.2.16 / 0062-Bluetooth-Adding-USB-device-13d3-3375-as-an-Atheros-.patch
1 From efa82e03e24743425f4cb3d3632f29756b70d5b5 Mon Sep 17 00:00:00 2001
2 From: Eran <eran@over-here.org>
3 Date: Mon, 5 Dec 2011 22:15:29 +0000
4 Subject: [PATCH 62/69] Bluetooth: Adding USB device 13d3:3375 as an Atheros
5 AR3012.
7 commit 9498ba7a1d38d42eef4ef6d906ab1743c9f0fd6f upstream.
9 The bluetooth module in the Asus UX31/UX21 is based on Atheros AR3012
10 and requires a firmware to be uploaded before it's usable.
12 output of usb-devices for this module:
13 T: Bus=01 Lev=02 Prnt=02 Port=07 Cnt=03 Dev#= 6 Spd=12 MxCh= 0
14 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
15 P: Vendor=13d3 ProdID=3375 Rev=00.02
16 S: Manufacturer=Atheros Communications
17 S: Product=Bluetooth USB Host Controller
18 S: SerialNumber=Alaska Day 2006
19 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
20 I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
21 I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
23 Signed-off-by: Eran <eran@over-here.org>
24 Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
25 Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
26 Cc: Jonathan Nieder <jrnieder@gmail.com>
27 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 ---
29 drivers/bluetooth/ath3k.c | 2 ++
30 drivers/bluetooth/btusb.c | 1 +
31 2 files changed, 3 insertions(+)
33 diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
34 index db811d2..67a79b0 100644
35 --- a/drivers/bluetooth/ath3k.c
36 +++ b/drivers/bluetooth/ath3k.c
37 @@ -71,6 +71,7 @@ static struct usb_device_id ath3k_table[] = {
39 /* Atheros AR3012 with sflash firmware*/
40 { USB_DEVICE(0x0CF3, 0x3004) },
41 + { USB_DEVICE(0x13d3, 0x3375) },
43 /* Atheros AR5BBU12 with sflash firmware */
44 { USB_DEVICE(0x0489, 0xE02C) },
45 @@ -87,6 +88,7 @@ static struct usb_device_id ath3k_blist_tbl[] = {
47 /* Atheros AR3012 with sflash firmware*/
48 { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
49 + { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
51 { } /* Terminating entry */
52 };
53 diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
54 index c16c750..df0331a 100644
55 --- a/drivers/bluetooth/btusb.c
56 +++ b/drivers/bluetooth/btusb.c
57 @@ -126,6 +126,7 @@ static struct usb_device_id blacklist_table[] = {
59 /* Atheros 3012 with sflash firmware */
60 { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
61 + { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
63 /* Atheros AR5BBU12 with sflash firmware */
64 { USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },
65 --
66 1.7.9.5