usb: serial: ftdi_sio: add "bricked" FTDI device PID
authorPerry Hung <iperry@gmail.com>
Thu, 23 Oct 2014 03:31:34 +0000 (23:31 -0400)
committerZefan Li <lizefan@huawei.com>
Mon, 2 Feb 2015 09:05:04 +0000 (17:05 +0800)
commit6b91578a5af27dbba3c9b26bc918165eefcff7d3
tree5bad78bef658f19b69421cf0970661e1519d969e
parent981cf05b831a41bf4e73ee557d404568907f36ff
usb: serial: ftdi_sio: add "bricked" FTDI device PID

commit 7f2719f0003da1ad13124ef00f48d7514c79e30d upstream.

An official recent Windows driver from FTDI detects counterfeit devices
and reprograms the internal EEPROM containing the USB PID to 0, effectively
bricking the device.

Add support for this VID/PID pair to correctly bind the driver on these
devices.

See:
http://hackaday.com/2014/10/22/watch-that-windows-update-ftdi-drivers-are-killing-fake-chips/

Signed-off-by: Perry Hung <iperry@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
[lizf: Backported to 3.4: adjust context]
Signed-off-by: Zefan Li <lizefan@huawei.com>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio_ids.h