commit | e2363595082c89451b37027c8a8d8bba5d11caa7 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Dec 14 18:59:01 2012 -0800 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Wed Dec 19 16:57:21 2012 -0800 |
tree | e226d8b5909cc41fde536dd180cb0740f58e211b | |
parent | 26b8eac86d93900ba7f383e17cb36632016a84f6 [diff] |
hwmon: qpnp-adc-current: Disable IADC bank on the error path Disable the IADC bank on the error path. If the end of conversion bit is not set some of the status registers are collected. After collecting them, disable the bank to avoid keeping the bank enabled all the time. The bank is disabled on the success path when the result is read. Change-Id: Ie3e7497bc4b1497e5db5c7b4374debaf8dbd9f5c Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>