Bluetooth: btusb: Add support for another MediaTek 7922 VID/PID

Message ID 20230711175743.20606-1-rgammans@gammascience.co.uk
State New
Headers
Series Bluetooth: btusb: Add support for another MediaTek 7922 VID/PID |

Commit Message

Roger Gammans July 11, 2023, 5:57 p.m. UTC
  This one is found on the Dell Inspiron 2-in-1 7435

Signed-off-by: Roger Gammans <rgammans@gammascience.co.uk>
---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Luiz Augusto von Dentz July 12, 2023, 9:08 p.m. UTC | #1
Hi Roger,

On Tue, Jul 11, 2023 at 10:58 AM Roger Gammans
<rgammans@gammascience.co.uk> wrote:
>
> This one is found on the Dell Inspiron 2-in-1 7435
>
> Signed-off-by: Roger Gammans <rgammans@gammascience.co.uk>
> ---
>  drivers/bluetooth/btusb.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index 2a8e2bb038f5..bda50d84c886 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -622,6 +622,9 @@ static const struct usb_device_id blacklist_table[] = {
>         { USB_DEVICE(0x0489, 0xe0e4), .driver_info = BTUSB_MEDIATEK |
>                                                      BTUSB_WIDEBAND_SPEECH |
>                                                      BTUSB_VALID_LE_STATES },
> +       { USB_DEVICE(0x0489, 0xe0f1), .driver_info = BTUSB_MEDIATEK |
> +                                                    BTUSB_WIDEBAND_SPEECH |
> +                                                    BTUSB_VALID_LE_STATES },
>         { USB_DEVICE(0x0489, 0xe0f2), .driver_info = BTUSB_MEDIATEK |
>                                                      BTUSB_WIDEBAND_SPEECH |
>                                                      BTUSB_VALID_LE_STATES },
> --
> 2.39.2

Please add the information from /sys/kernel/debug/usb/devices.
  
Roger Gammans July 12, 2023, 9:22 p.m. UTC | #2
On Wed, 2023-07-12 at 14:08 -0700, Luiz Augusto von Dentz wrote:
> Hi Roger,
> 
> Please add the information from /sys/kernel/debug/usb/devices.

No problem. V2 inbound shortly.
  

Patch

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 2a8e2bb038f5..bda50d84c886 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -622,6 +622,9 @@  static const struct usb_device_id blacklist_table[] = {
 	{ USB_DEVICE(0x0489, 0xe0e4), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
+	{ USB_DEVICE(0x0489, 0xe0f1), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH |
+						     BTUSB_VALID_LE_STATES },
 	{ USB_DEVICE(0x0489, 0xe0f2), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },