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

Skip to content
Commit 8c9c2bb7 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

regulator: qpnp-lcdb: Correct the get_voltage calculation



NCP/LDO output voltage register is of 5 bits [4:0] only. The
current calculation uses [7:0] which causes a incorrect value
to be reported. Fix it.

Change-Id: Idd00f5364e6bac7b086f4ca606c592e57d8bb24a
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent f5a8dbc5
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