Colin Leitner 9d4f3c7eb2 USB: ftdi_sio: added CS5 quirk for broken smartcard readers
commit c1f15196ac3b541d084dc80a8fbd8a74c6a0bd44 upstream.

Genuine FTDI chips support only CS7/8. A previous fix in commit
8704211f65a2 ("USB: ftdi_sio: fixed handling of unsupported CSIZE
setting") enforced this limitation and reported it back to userspace.

However, certain types of smartcard readers depend on specific
driver behaviour that requests 0 data bits (not 5) to change into a
different operating mode if CS5 has been set.

This patch reenables this behaviour for all FTDI devices.

Tagged to be added to stable, because it affects a lot of users of
embedded systems which rely on these readers to work properly.

Reported-by: Heinrich Siebmanns <H.Siebmanns@t-online.de>
Tested-by: Heinrich Siebmanns <H.Siebmanns@t-online.de>
Signed-off-by: Colin Leitner <colin.leitner@gmail.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-06 11:33:53 -08:00
..
2013-01-15 22:30:15 -08:00
2013-01-15 22:30:15 -08:00
2013-09-03 11:37:15 -07:00
2013-07-29 07:43:16 -07:00
2011-03-31 11:26:23 -03:00
2010-05-20 13:21:47 -07:00
2013-01-15 22:30:15 -08:00
2013-04-29 12:19:23 -07:00
2013-08-18 20:33:01 -07:00
2013-01-15 22:30:15 -08:00
2011-11-15 10:06:15 -08:00
2013-03-11 11:09:17 -07:00
2013-07-23 16:21:50 -07:00
2010-05-20 13:21:47 -07:00