aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2017-11-06 21:28:16 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-07 09:34:08 -0500
commit12f28144cf2cf69e1520e238eee7c384719ca44b (patch)
tree35eab463506187d3031679a6c3364f23898a640a
parentc67678ec78eff9cf1e7e997fe6c37c9fcccfc5b8 (diff)
USB: serial: Change DbC debug device binding ID
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: <stable@vger.kernel.org> # v4.12+ 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>
-rw-r--r--drivers/usb/serial/usb_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c
index a657c6ec00bb..ab5a2ac4993a 100644
--- a/drivers/usb/serial/usb_debug.c
+++ b/drivers/usb/serial/usb_debug.c
@@ -31,13 +31,13 @@ static const struct usb_device_id id_table[] = {
31}; 31};
32 32
33static const struct usb_device_id dbc_id_table[] = { 33static const struct usb_device_id dbc_id_table[] = {
34 { USB_DEVICE(0x1d6b, 0x0004) }, 34 { USB_DEVICE(0x1d6b, 0x0011) },
35 { }, 35 { },
36}; 36};
37 37
38static const struct usb_device_id id_table_combined[] = { 38static const struct usb_device_id id_table_combined[] = {
39 { USB_DEVICE(0x0525, 0x127a) }, 39 { USB_DEVICE(0x0525, 0x127a) },
40 { USB_DEVICE(0x1d6b, 0x0004) }, 40 { USB_DEVICE(0x1d6b, 0x0011) },
41 { }, 41 { },
42}; 42};
43MODULE_DEVICE_TABLE(usb, id_table_combined); 43MODULE_DEVICE_TABLE(usb, id_table_combined);