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

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

USB: serial: f81534: use calc_num_endpoints to verify endpoints



Simplify the endpoint sanity check by letting core verify that the
required endpoints are present and moving the max-packet check to
calc_num_ports.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 5f391979
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