Skip to content
Commit f353c0d4 authored by Johan Hovold's avatar Johan Hovold
Browse files

USB: serial: ftdi_sio: tighten device-type detection



Clean up and tighten the device-type detection, which is based on
bcdDevice.

Don't make assumptions about unknown (future) types (currently assumed
to be either FT2232C or FT-X depending on bNumInterfaces) and instead
log an error and refuse to bind so that we can add proper support when
needed.

Note that the bcdDevice values have been provided by FTDI.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 027bf37d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment