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

Skip to content
Commit e9e128b5 authored by Mayank Rana's avatar Mayank Rana Committed by Gerrit - the friendly Code Review server
Browse files

usb: composite: Adjust MaxPower based on enumerated USB speed



USB device is trying to draw 900mA when enumerated in USB high speed
mode although reporting bMaxPower as 500mA to host. Fix this issue by
adjusting MaxPower based on enumerated USB speed before reporting
current to draw to linux charger driver.

Change-Id: I37032c83be6403004ee8d107cb8d7cae04fa0ffa
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 9af99ae9
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