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

Skip to content
Commit 97ed7577 authored by Jack Pham's avatar Jack Pham
Browse files

usb: dwc3-msm: Use PROP_INPUT_CURRENT_LIMIT to for vbus_draw



The charger driver expects USB to indicate the amount of VBUS
current to draw while in peripheral mode using the power_supply
property POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT instead of
POWER_SUPPLY_PROP_CURRENT_MAX, as the latter is intended as a
read-only property which indicates the actual maximum current
that the charger HW is allowed to draw.

Change-Id: Icaab0032d9f545610f91c23bf5624095b1123317
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent b38b5109
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