Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3cfacd38 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss Committed by Stephen Boyd
Browse files

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: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent eab29a8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment