From: Lu Baolu Date: Tue, 7 Nov 2017 02:28:16 +0000 (+0800) Subject: USB: serial: Change DbC debug device binding ID X-Git-Tag: v4.15-rc1~140^2~43 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=12f28144cf2cf69e1520e238eee7c384719ca44b;p=linux-block.git 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: # v4.12+ Cc: Johan Hovold Signed-off-by: Lu Baolu Signed-off-by: Greg Kroah-Hartman --- 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[] = { }; 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);