commit | d752e47bd976dbb1d86b229c81c9aa4f5efec2a5 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Feb 26 18:30:14 2013 -0800 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Feb 26 18:36:27 2013 -0800 |
tree | 205e1f0974efddba2f4921abc7aca0cba1484996 | |
parent | 1bf46343e75b5c3ef003a7c3898ad83aa193e3a6 [diff] |
hwmon: qpnp-adc-current: Add div0 error checks during calibration Add error checks to avoid div0 condition during periodic gain/offset calibration and print more debug info of the gain and offet while we are here. Change-Id: I2b8431efa21eb9fe685455286f32fc825b924bee Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org> Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>