OSDN Git Service

USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
authorAndrey Korolyov <andrey@xdel.ru>
Tue, 16 May 2017 20:54:41 +0000 (23:54 +0300)
committerJohan Hovold <johan@kernel.org>
Wed, 17 May 2017 08:31:20 +0000 (10:31 +0200)
commit5f63424ab7daac840df2b12dd5bcc5b38d50f779
tree95edceb1b40584291918b230d877e6befa3e7e3b
parent6aeb75e6adfaed16e58780309613a578fe1ee90b
USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs

This patch adds support for recognition of ARM-USB-TINY(H) devices which
are almost identical to ARM-USB-OCD(H) but lacking separate barrel jack
and serial console.

By suggestion from Johan Hovold it is possible to replace
ftdi_jtag_quirk with a bit more generic construction. Since all
Olimex-ARM debuggers has exactly two ports, we could safely always use
only second port within the debugger family.

Signed-off-by: Andrey Korolyov <andrey@xdel.ru>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio_ids.h