]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
USB: serial: Change DbC debug device binding ID
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 7 Nov 2017 02:28:16 +0000 (10:28 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 14 Mar 2018 10:41:24 +0000 (11:41 +0100)
BugLink: http://bugs.launchpad.net/bugs/1744212
commit 12f28144cf2cf69e1520e238eee7c384719ca44b upstream.

The product ID for "Linux USB GDB Target device" has been
changed. Change the driver binding table accordingly.

This patch should be back-ported to kernels as old as v4.12,
that contain the commit 57fb47279a04 ("usb/serial: Add DBC
debug device support to usb_debug").

Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/usb/serial/usb_debug.c

index 12f4c5a91e628eaf043a5d103d86a0838164da96..48f285a1ad00bdb8b3a458bdebe4b2e0c186752f 100644 (file)
@@ -34,13 +34,13 @@ static const struct usb_device_id id_table[] = {
 };
 
 static const struct usb_device_id dbc_id_table[] = {
-       { USB_DEVICE(0x1d6b, 0x0004) },
+       { USB_DEVICE(0x1d6b, 0x0011) },
        { },
 };
 
 static const struct usb_device_id id_table_combined[] = {
        { USB_DEVICE(0x0525, 0x127a) },
-       { USB_DEVICE(0x1d6b, 0x0004) },
+       { USB_DEVICE(0x1d6b, 0x0011) },
        { },
 };
 MODULE_DEVICE_TABLE(usb, id_table_combined);