Bluetooth: btusb: Sort usb_device_id table by the ID
authorJiande Lu <jiande.lu@mediatek.com>
Tue, 23 Apr 2024 06:51:57 +0000 (14:51 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 14 May 2024 14:51:06 +0000 (10:51 -0400)
Sort usb device id table for enhanced readability.

Signed-off-by: Jiande Lu <jiande.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c

index 16647bc..482d6d7 100644 (file)
@@ -588,6 +588,9 @@ static const struct usb_device_id quirks_table[] = {
        { USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
+       { USB_DEVICE(0x0489, 0xe0cd), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH |
+                                                    BTUSB_VALID_LE_STATES },
        { USB_DEVICE(0x0489, 0xe0e0), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
@@ -597,6 +600,9 @@ static const struct usb_device_id quirks_table[] = {
        { USB_DEVICE(0x04ca, 0x3802), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
+       { USB_DEVICE(0x0e8d, 0x0608), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH |
+                                                    BTUSB_VALID_LE_STATES },
        { USB_DEVICE(0x13d3, 0x3563), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
@@ -612,12 +618,6 @@ static const struct usb_device_id quirks_table[] = {
        { USB_DEVICE(0x13d3, 0x3583), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x0489, 0xe0cd), .driver_info = BTUSB_MEDIATEK |
-                                                    BTUSB_WIDEBAND_SPEECH |
-                                                    BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x0e8d, 0x0608), .driver_info = BTUSB_MEDIATEK |
-                                                    BTUSB_WIDEBAND_SPEECH |
-                                                    BTUSB_VALID_LE_STATES },
        { USB_DEVICE(0x13d3, 0x3606), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
@@ -634,12 +634,6 @@ static const struct usb_device_id quirks_table[] = {
        { USB_DEVICE(0x0489, 0xe0d9), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x0489, 0xe0f5), .driver_info = BTUSB_MEDIATEK |
-                                                    BTUSB_WIDEBAND_SPEECH |
-                                                    BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x13d3, 0x3568), .driver_info = BTUSB_MEDIATEK |
-                                                    BTUSB_WIDEBAND_SPEECH |
-                                                    BTUSB_VALID_LE_STATES },
        { USB_DEVICE(0x0489, 0xe0e2), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
@@ -664,22 +658,25 @@ static const struct usb_device_id quirks_table[] = {
        { USB_DEVICE(0x04ca, 0x3804), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x35f5, 0x7922), .driver_info = BTUSB_MEDIATEK |
+       { USB_DEVICE(0x04ca, 0x38e4), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x13d3, 0x3614), .driver_info = BTUSB_MEDIATEK |
+       { USB_DEVICE(0x13d3, 0x3568), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x13d3, 0x3615), .driver_info = BTUSB_MEDIATEK |
+       { USB_DEVICE(0x13d3, 0x3605), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x04ca, 0x38e4), .driver_info = BTUSB_MEDIATEK |
+       { USB_DEVICE(0x13d3, 0x3607), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x13d3, 0x3605), .driver_info = BTUSB_MEDIATEK |
+       { USB_DEVICE(0x13d3, 0x3614), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
-       { USB_DEVICE(0x13d3, 0x3607), .driver_info = BTUSB_MEDIATEK |
+       { USB_DEVICE(0x13d3, 0x3615), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH |
+                                                    BTUSB_VALID_LE_STATES },
+       { USB_DEVICE(0x35f5, 0x7922), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },