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

USB: serial: ftdi_sio: clean up baudrate request



Multi-channel devices need to encode the channel selector in their
control requests and newer single-channel chip types use the same
request format.

Set the channel index also for these single-channel types so that the
index can be used to determine the baudrate request format instead of
listing types explicitly.

Note that FT232H and FTX accept either 0 or 1 as selector for their
single channel, presumably for backward compatibility reasons.

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