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:
David Keitel <dkeitel@codeaurora.org>
Loading
Please sign in to comment