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

Skip to content
Commit 07731aa5 authored by Thinh Nguyen's avatar Thinh Nguyen Committed by Jack Pham
Browse files

usb: gadget: configfs: Add max_speed setting



Some functions support speeds other than SuperSpeed. Add max_speed
attribute to configfs gadget allowing user to specify the maximum speed
the composite driver supports. The valid input speed names are
super-speed-plus, super-speed, high-speed, full-speed, and low-speed.

Signed-off-by: default avatarThinh Nguyen <thinhn@synopsys.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: I88aa2bee62da8af902954015437eaf9e7a158b27
Git-commit: a02497033e8e04c30501abb78c92d862982b9912
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[jackp@codeaurora.org: sprintf -> scnprintf to placate Cocci]
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 4abb83b7
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