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

Skip to content
Commit 00282bf6 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-smbcharger: draw correct current requested by USB



When the USB driver specifies 0mA in the USB power supply, it actually
allows the charger driver to draw 100mA as per the unenumerated USB
specifications.

Currently the qpnp-smbcharger driver suspends the USB charge path when 0mA
is requested. This is incorrect. Only suspend the charge path when 2mA
is requested by the USB driver. Otherwise, use 100mA as the input
current limit.

Change-Id: I2a95ac096ec20c9795d579daf3ebf7c355b51769
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 286b0d28
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