lkml.org 
[lkml]   [2018]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.16 017/113] USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster
    Date
    4.16-stable review patch.  If anyone has any objections, please let me know.

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

    From: Vasyl Vavrychuk <vvavrychuk@gmail.com>

    commit 470b5d6f0cf4674be2d1ec94e54283a1770b6a1a upstream.

    Arrow USB Blaster integrated on MAX1000 board uses the same vendor ID
    (0x0403) and product ID (0x6010) as the "original" FTDI device.

    This patch avoids picking up by ftdi_sio of the first interface of this
    USB device. After that this device can be used by Arrow user-space JTAG
    driver.

    Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/usb/serial/ftdi_sio.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- a/drivers/usb/serial/ftdi_sio.c
    +++ b/drivers/usb/serial/ftdi_sio.c
    @@ -1898,7 +1898,8 @@ static int ftdi_8u2232c_probe(struct usb
    return ftdi_jtag_probe(serial);

    if (udev->product &&
    - (!strcmp(udev->product, "BeagleBone/XDS100V2") ||
    + (!strcmp(udev->product, "Arrow USB Blaster") ||
    + !strcmp(udev->product, "BeagleBone/XDS100V2") ||
    !strcmp(udev->product, "SNAP Connect E10")))
    return ftdi_jtag_probe(serial);


    \
     
     \ /
      Last update: 2018-04-30 21:54    [W:2.271 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site