commit | f84c8bbeedcb98e618a5999f18624f5e03995035 | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Tue Jul 30 12:22:03 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Sep 03 16:09:47 2013 -0700 |
tree | 5ebf3db4313f8184c626d32f6a8389486bbdd315 | |
parent | 0e96e0f0ff85455b25a8b8417341b627f56e9f3d [diff] |
hwmon: qpnp-current: Use ideal gain for PM8026 The IADC on PM8026 has been found to have improved accuracy if the gain compensation is removed from the conversion equation. Implement this in the IADC driver by faking a gain read of offset + ideal gain during calibration. Change-Id: I85abf713e796666946674e5ae603c918cfa9ae5a Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>