commit | ca4c302398963c0cae29bc168e44cf91e40ff0d3 | [log] [tgz] |
---|---|---|
author | Eugen Hristev <eugen.hristev@microchip.com> | Wed Oct 11 14:21:14 2017 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Oct 14 19:52:07 2017 +0100 |
tree | 3ebbaf7ff9379c5c8e250dacaf3dffde07d8155b | |
parent | 5151b4afb41dd7c5e13a130efcc95326a49da8c6 [diff] |
iio: adc: at91-sama5d2_adc: fix probe error on missing trigger property This fix allows platforms to probe correctly even if the trigger edge property is missing. The hardware trigger will no longer be registered in the sybsystem Preserves backwards compatibility with the support that was in the driver before the hardware trigger. https://storage.kernelci.org/mainline/master/v4.14-rc2-255-g74d83ec2b734/arm/sama5_defconfig/lab-free-electrons/boot-at91-sama5d2_xplained.txt Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Fixes: 5e1a1da0f ("iio: adc: at91-sama5d2_adc: add hw trigger and buffer support") Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>