Re: [PATCH] iio: adc: Fix error handling in vadc_do_conversion

2021-03-06 Thread Jonathan Cameron
On Mon, 1 Mar 2021 16:16:22 +0800 Dinghao Liu wrote: > There is one vadc_poll_wait_eoc() call in vadc_do_conversion > that we have caught its return value but lack further handling. > Check and jump to err_disable label just like the other > vadc_poll_wait_eoc() in this function. > > Signed-off

[PATCH] iio: adc: Fix error handling in vadc_do_conversion

2021-03-01 Thread Dinghao Liu
There is one vadc_poll_wait_eoc() call in vadc_do_conversion that we have caught its return value but lack further handling. Check and jump to err_disable label just like the other vadc_poll_wait_eoc() in this function. Signed-off-by: Dinghao Liu --- drivers/iio/adc/qcom-spmi-vadc.c | 2 ++ 1 fi