Skip to contentSkip to conversation

btusb: add realtek 8723 in the blacklist

PATCH In review Bruce.Ma 2 participants 2 messages Oct 30, 2013 Bluetooth drivers

lore
Share & tools
lore

Bruce.Ma

author
#0 lore raw

PATCH 1/1 btusb: add realtek 8723 in the blacklist

From: Bruce Ma <[email protected]>
Date: Tue, 22 Oct 2013 11:21:20 +0800
Subject: [PATCH] btusb: add realtek 8723 in the blacklist

The vendor realtek provides an off-tree driver for realtek 8723, so we add realtek 8723 in the in-tree driver's blacklist.

---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +3 -0
index eae58a1..3097ac8 100644
@@ -138,6 +138,9 @@ static struct usb_device_id blacklist_table[] = {
     { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
     { USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
 
+    /* Realtek 8723 Bluetooth */
+    { USB_DEVICE(0x0bda, 0xb728), .driver_info = BTUSB_IGNORE },
+
     /* Atheros AR9285 Malbec with sflash firmware */
     { USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },
 
Signature · 1 line
1.8.1.2
maintainer
#1 lore raw

Hi Bruce,

Quoted 6 lines

From: Bruce Ma <[email protected]>
Date: Tue, 22 Oct 2013 11:21:20 +0800
Subject: [PATCH] btusb: add realtek 8723 in the blacklist

The vendor realtek provides an off-tree driver for realtek 8723, so we add realtek 8723 in the in-tree driver's blacklist.

we do not care about out-of-tree drivers. Get the Realtek driver merged upstream.

Quoted 10 lines

---
drivers/bluetooth/btusb.c | 3 +++

1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +0 -0
index eae58a1..3097ac8 100644

drivers/bluetooth/btusb.c static struct usb_device_id blacklist_table[] = { · line 145

Quoted 8 lines
drivers/bluetooth/btusb.c +3 -0
@@ -138,6 +138,9 @@ static struct usb_device_id blacklist_table[] = {
    { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
    { USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
 
+    /* Realtek 8723 Bluetooth */
+    { USB_DEVICE(0x0bda, 0xb728), .driver_info = BTUSB_IGNORE },
+
    /* Atheros AR9285 Malbec with sflash firmware */
    { USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },

And as an extra advice, using proper tabs vs spaces is important.

Regards

Marcel