usb: ftdi_sio: fixup BeagleBone A5+ quirk
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Nov 2012 15:30:46 +0000 (16:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 22:57:20 +0000 (14:57 -0800)
BeagleBone A5+ devices ended up getting shipped with the
'BeagleBone/XDS100V2' product string, and not XDS100 like it
was agreed, so adjust the quirk to match.

For details, see the thread on the beagle list:

https://groups.google.com/forum/#!msg/beagleboard/zrFPew9_Wvo/ibWr1-eE8JwJ

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c

index 8c3379b52f242b0feca6a93204e5a9cd2c1e94c4..e1203bdede15d4cdac216ac8f5315d10d257fef1 100644 (file)
@@ -1783,7 +1783,7 @@ static int ftdi_8u2232c_probe(struct usb_serial *serial)
        struct usb_device *udev = serial->dev;
 
        if ((udev->manufacturer && !strcmp(udev->manufacturer, "CALAO Systems")) ||
-           (udev->product && !strcmp(udev->product, "BeagleBone/XDS100")))
+           (udev->product && !strcmp(udev->product, "BeagleBone/XDS100V2")))
                return ftdi_jtag_probe(serial);
 
        return 0;