commit | 12a15ea8af2a511c0473d4095a11a7b01e15c294 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Feb 05 19:13:41 2013 -0800 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Wed Feb 20 13:09:20 2013 -0800 |
tree | c8def6e1664c5c7607bc82fdb19d1afe578f9cf9 | |
parent | a32ea2a797ac47e5f535dd42211a5bc0c25ab36a [diff] |
hwmon: qpnp-adc: Ratelimit periodic calibration on error Ratelimit the calls to do IADC periodic calibration based on the error count. Once the IADC locks-up performing a periodic calibration does not help. Ratelimit it to avoid kernel buffer overflow with the IADC error logs. Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org> Change-Id: I5e24854727a513758f40bbdf18ea6b1147d7e569