]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: ftdi_sio: fixup BeagleBone A5+ quirk
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Nov 2012 15:30:46 +0000 (16:30 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:17 +0000 (03:33 +0000)
commit 1a88d5eee2ef2ad1d3c4e32043e9c4c5347d4fc1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/ftdi_sio.c

index e29a6640c387d68ae973a87801c012584f20b0c6..fc194a204aadd6e7f4796004680ecb587c06cda7 100644 (file)
@@ -1807,7 +1807,7 @@ static int ftdi_8u2232c_probe(struct usb_serial *serial)
        dbg("%s", __func__);
 
        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;