[PATCH v2] Bluetooth: btusb: add Realtek 8822CE to usb_device_id table

From: Joseph Hwang
Date: Mon Jul 13 2020 - 03:45:52 EST


This patch adds the Realtek 8822CE controller to the usb_device_id
table to support the wideband speech capability.

Reviewed-by: alainm@xxxxxxxxxxxx
Signed-off-by: Joseph Hwang <josephsih@xxxxxxxxxxxx>
---

Changes in v2:
- Fixed the commit subject and message body.

drivers/bluetooth/btusb.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index faa863dd5d0a33..aa0bc9942afda9 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -359,6 +359,10 @@ static const struct usb_device_id blacklist_table[] = {
{ USB_VENDOR_AND_INTERFACE_INFO(0x8087, 0xe0, 0x01, 0x01),
.driver_info = BTUSB_IGNORE },

+ /* Realtek 8822CE Bluetooth devices */
+ { USB_DEVICE(0x0bda, 0xb00c), .driver_info = BTUSB_REALTEK |
+ BTUSB_WIDEBAND_SPEECH },
+
/* Realtek Bluetooth devices */
{ USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
.driver_info = BTUSB_REALTEK },
--
2.27.0.383.g050319c2ae-goog