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

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

hwmon: qpnp-adc-voltage: Add timeout for end of conversion



Add a timeout while the ADC read API waits for the end of
conversion interrupt. After a timeout, the status register
is read to ensure the ADC conversion is complete. The
timeout is added to return back to the user if the end
of conversion interrupt is not triggered.

Change-Id: I0deed0099212221c938a5ab7f775231e2bc85905
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 82b61b69
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