commit | b60744d786437f3e4171dbbc4893db9b5a56c034 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Thu Mar 28 14:14:26 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Mar 29 16:35:21 2013 -0700 |
tree | 7effc67b205e47f497038538c6516450b2c7ae03 | |
parent | b2f489886d5a446d975de3d1fe526bc2095b887d [diff] |
thermal: qpnp-adc: Add checks for reading the correct index. Add a robust check to verify if the channel being requested for threshold monitoring exists when setting the thresholds for the channel. Also fix using the correct revision register to determine whether 5 or 8 channels are supported. Change-Id: I5b8b1e632eb82b704599247921e53075ad8c5c0c Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>