commit | 9c40b580f57ef31c05441da31fde5b959fd8ec61 | [log] [tgz] |
---|---|---|
author | Kiran Gunda <kgunda@codeaurora.org> | Mon Sep 10 12:16:41 2018 +0530 |
committer | Kiran Gunda <kgunda@codeaurora.org> | Tue Sep 11 09:47:47 2018 +0530 |
tree | 810fb62da5533ed92919585a35770b93e60d9c97 | |
parent | 30545cd5edfaea2a358681ee709c1a96e6369c3d [diff] |
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: Kiran Gunda <kgunda@codeaurora.org>