commit | 866fe9f914014ca0c922006ba8d762ef26dc7beb | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Dec 13 23:01:40 2011 -0800 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Dec 16 13:21:25 2011 -0800 |
tree | f895bf5d666af10a94b653a53786fd24f030c857 | |
parent | 10d87eafd6a6cb5b7595bc7da733a08353b18910 [diff] |
hwmon: pm8xxx-adc: Set the trim bit in the RSV register Default value read from the RSV register is 0 when the driver is initialized. Set the TRIM bit for every read during the configuration. Setting this bit improves the PON OCV readings done by the BMS controller as part of the XOADC calibration routine. Change-Id: I164897c053e3dad08612739f5df9ee28cf5e06d3 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>