diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-10-11 16:43:41 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-15 22:11:03 +0200 |
commit | ffae106764758e5e11b54c3bc137936725f1990a (patch) | |
tree | 3e5d55c74b66d9fe20407117869d7a7a66dd2f51 /drivers/hwmon | |
parent | iio: adc: max1027: Add debugfs register read support (diff) | |
download | linux-ffae106764758e5e11b54c3bc137936725f1990a.tar.xz linux-ffae106764758e5e11b54c3bc137936725f1990a.zip |
iio: adc: max1027: Make it optional to use interrupts
The chip has a 'start conversion' and a 'end of conversion' pair of
pins. They can be used but this is absolutely not mandatory as regular
polling of the value is totally fine with the current internal
clocking setup. Turn the interrupts optional and do not error out if
they are not inquired in the device tree. This has the effect to
prevent triggered buffers use though.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions