commit | 53063846affd27def6f96e13a9fb80b9a3c2d126 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sat Sep 23 08:06:20 2017 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Sep 24 13:04:07 2017 +0100 |
tree | ef3014161e191694f215b2b4c5cf88abcfa7cb04 | |
parent | 7f70be6e4025db0551e6863e7eb9cca07122695c [diff] |
iio: adc: twl4030: Return an error if we can not enable the vusb3v1 regulator in 'twl4030_madc_probe()' If we can not enable the regulator, go through the error handling path instead of silently continuing. Fixes: 7cc97d77ee8a ("iio: adc: twl4030: Fix ADC[3:6] readings") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>