Skip to content

Commit

Permalink
USB: ftdi_sio: add support for BeagleBone rev A5+
Browse files Browse the repository at this point in the history
BeagleBone changed to the default FTDI 0403:6010 id in rev A5 to make life
easier for Windows users, so we need a similar workaround as the Calao
board to support it.

Signed-off-by: Peter Korsgaard <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jacmet authored and gregkh committed Mar 1, 2012
1 parent 7204cf5 commit 444aa7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1769,8 +1769,8 @@ static int ftdi_8u2232c_probe(struct usb_serial *serial)

dbg("%s", __func__);

if ((udev->manufacturer) &&
(strcmp(udev->manufacturer, "CALAO Systems") == 0))
if ((udev->manufacturer && !strcmp(udev->manufacturer, "CALAO Systems")) ||
(udev->product && !strcmp(udev->product, "BeagleBone/XDS100")))
return ftdi_jtag_probe(serial);

return 0;
Expand Down

0 comments on commit 444aa7f

Please sign in to comment.