Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

USB: serial: add calc_num_ports callback to generic driver



Add a calc_num_ports callback to the generic driver and verify that the
device has the required endpoints there instead of in core.

Note that the generic driver num_ports field was never used.

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