commit | 4e63ed6b90803eeb400c392e9ff493200d926b06 | [log] [tgz] |
---|---|---|
author | Tomer Maimon <tmaimon77@gmail.com> | Sun Apr 07 11:19:28 2019 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Apr 07 11:26:47 2019 +0100 |
tree | 80cb05024960d2ff83fecb56ccdfd27dab5e01bf | |
parent | 131ac62253dba79daf4a6d83ab12293d2b9863d3 [diff] |
iio: adc: modify NPCM ADC read reference voltage 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 <tmaimon77@gmail.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>