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

Skip to content
Commit 3d50082e authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: composite: Draw current based on speed upon resume



If usb device goes to suspend in high speed mode and resumed
back, it is drawing 900mA. Fix this issue by checking gadget
speed before calling usb_gadget_vbus_draw().

Change-Id: I8e94811597084fce015951bd27cc65dec3ae91ff
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 76ec68dc
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