Message ID | 20200703091124.1.I63705bf6abab9cb79c14f7959a59b201af2b8827@changeid (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Bluetooth: btusb: add Realtek 8822CE to blacklist_table | expand |
Hi Joseph, > This patch adds the Realtek 8822CE controller to the blacklist_table > to support the wideband speech capability. > > Signed-off-by: Joseph Hwang <josephsih@chromium.org> > --- > > drivers/bluetooth/btusb.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c > index 0e143c0cecf2a1..34a84c64e4c83e 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 }, I rather not have to list these one-by-one. Can we just not globally declare support for this? Or can we have a Realtek vendor command to read this out? Regards Marcel
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 0e143c0cecf2a1..34a84c64e4c83e 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 },
This patch adds the Realtek 8822CE controller to the blacklist_table to support the wideband speech capability. Signed-off-by: Joseph Hwang <josephsih@chromium.org> --- drivers/bluetooth/btusb.c | 4 ++++ 1 file changed, 4 insertions(+)