power: pm8921-charger: fix 10mv error on vdd_max
It was observed that the charging voltage is off by 10mV. The root
cause was the 10mV bit in the vdd_max register adds 10mV to the voltage
instead of reducing the voltage by 10mV.
The current driver thinks it subtracts 10mV. Fix this.
Change-Id: I37949113cb4c25642c873ce0cf39ac9fdeb276e1
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please sign in to comment