Commit eb38081f authored by David Keitel's avatar David Keitel
Browse files

power: pm8xxx-ccadc: fix return value in conversion



When the ADC_WAIT_COUNT is exceeded the return value should
be non-zero to indicate that there was an error when doing
the conversion.

CRs-Fixed: 347892
Change-Id: Ic35359b153069e0cbca7f73714ce3f7387718694
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 3cd33861
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment