power: pm8xxx-ccadc: fix incorrect gain and offset readings
The driver assumed that the gain and offset value can be negative.
gain and offset should always be interpreted as positive
numbers when read from the ccadc.
Change-Id: Iaecb181e0b7c224f24f666928bef3ca87fe6de8d
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please sign in to comment