Re: [PATCH v1] iio: adc: modify NPCM ADC read reference voltage

2019-04-07 Thread Jonathan Cameron
On Sun, 7 Apr 2019 11:19:28 +0300 Tomer Maimon wrote: > Checking if regulator is valid before reading > NPCM ADC regulator voltage to avoid system crash > in a case the regulator is not valid. > > Signed-off-by: Tomer Maimon Good catch. Applied to the fixes-togreg branch of iio.git and marked

[PATCH v1] iio: adc: modify NPCM ADC read reference voltage

2019-04-07 Thread Tomer Maimon
Checking if regulator is valid before reading NPCM ADC regulator voltage to avoid system crash in a case the regulator is not valid. Signed-off-by: Tomer Maimon --- drivers/iio/adc/npcm_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/npcm_adc.c b/drivers