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

Skip to content
Commit 37cf30d2 authored by Hemant Kumar's avatar Hemant Kumar Committed by Gerrit - the friendly Code Review server
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 e59d2258
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