commit | a9b91670bbf2664126859a20d184c56e0a47e0d7 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Feb 22 18:32:27 2013 -0800 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Feb 22 19:15:03 2013 -0800 |
tree | c0fdc1d7cdfcd21364c9e93bc1ef511539e0b33d | |
parent | 53a46f46058b92e908862abe18869cca5a6d5794 [diff] |
hwmon: qpnp-adc-current: Perform trim update after init Perform calibration to update trim immediately after initialization to utilize interrupts as opposed to performing it as part of driver initialization and rely on polling. This improves the boot time. Also add additional checks to ensure driver is initialized before reading from rsense. Change-Id: Ibfea3aa67abf86559830d85cb70a722168848a84 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>