]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
USB: serial: ftdi_sio: don't access latency timer on old chips
authorIan Abbott <abbotti@mev.co.uk>
Wed, 8 Mar 2017 16:02:57 +0000 (16:02 +0000)
committerJohan Hovold <johan@kernel.org>
Mon, 13 Mar 2017 15:13:48 +0000 (16:13 +0100)
commit2dea7cd7287781cd4bfd0167dba423e0f486ef61
treeb7936e359cade511ba269ffd27a7ad52734e85ac
parent4495c08e84729385774601b5146d51d9e5849f81
USB: serial: ftdi_sio: don't access latency timer on old chips

The latency timer was introduced with the FT232BM and FT245BM chips.  Do
not bother attempting to read or write it for older chip versions.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c