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

Skip to content
Commit 130ad93d authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: pm8921-charger: fix decrease_usb_value for PM8917



When decreasing the usb value from the usb_ma_table make
sure to take into account wether the value is available
on the PMIC platform by checking the first bit and if
the iusbfineres flag is set. This ensures that both
PM8917 and PM8921 are supported correctly.

Change-Id: I0be94103a066554924f8b212d3751f13812c49e0
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 13b8aa4d
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