Skip to content
Commit 2b58594e authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Kumar Gala
Browse files

usb: device: Use set_endpoint helper for set_config



Refactor code making set_endpoint() helper which check validity of
input parameters.

Fix bug with usb_set_configuration() always returning true.

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
parent df33e5e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment