lkml.org 
[lkml]   [2017]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 14/31] USB: serial: Change DbC debug device binding ID
    Date
    4.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Lu Baolu <baolu.lu@linux.intel.com>

    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>

    ---
    drivers/usb/serial/usb_debug.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- a/drivers/usb/serial/usb_debug.c
    +++ b/drivers/usb/serial/usb_debug.c
    @@ -34,13 +34,13 @@ static const struct usb_device_id id_tab
    };

    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);

    \
     
     \ /
      Last update: 2017-11-19 16:06    [W:4.701 / U:0.136 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site