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

Skip to content
Commit 21ba1207 authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: Always request maximum available current from PDO



Currently when selecting a PDO the request object is specifying
900mA as the operating current, which is suboptimal if the
supply is capable of more. Instead, simply request for the
maximum available. In the case where a PDO does not meet the
minimum current, set the capability mismatch flag and indicate
the required amount via the maximum field in the request.

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