Commit 6ada5dde authored by Doug Goldstein's avatar Doug Goldstein Committed by Zefan Li

USB: ftdi_sio: Use jtag quirk for SNAP Connect E10

commit b229a0f8 upstream.

This patch uses the existing CALAO Systems ftdi_8u2232c_probe in order
to avoid attaching a TTY to the JTAG port as this board is based on the
CALAO Systems reference design and needs the same fix up.
Signed-off-by: default avatarDoug Goldstein <cardoe@cardoe.com>
[johan: clean up probe logic ]
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
parent f10c969c
...@@ -1950,8 +1950,12 @@ static int ftdi_8u2232c_probe(struct usb_serial *serial) ...@@ -1950,8 +1950,12 @@ static int ftdi_8u2232c_probe(struct usb_serial *serial)
dbg("%s", __func__); dbg("%s", __func__);
if ((udev->manufacturer && !strcmp(udev->manufacturer, "CALAO Systems")) || if (udev->manufacturer && !strcmp(udev->manufacturer, "CALAO Systems"))
(udev->product && !strcmp(udev->product, "BeagleBone/XDS100V2"))) return ftdi_jtag_probe(serial);
if (udev->product &&
(!strcmp(udev->product, "BeagleBone/XDS100V2") ||
!strcmp(udev->product, "SNAP Connect E10")))
return ftdi_jtag_probe(serial); return ftdi_jtag_probe(serial);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment