commit | da4d3d6bb9f6047217d549c233303161bb4678d9 | [log] [tgz] |
---|---|---|
author | Alexandru Tachici <alexandru.tachici@analog.com> | Mon Jan 13 12:26:52 2020 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Jan 18 11:43:16 2020 +0000 |
tree | 7fe8a285615263a6e767f2dab13ef20f223323aa | |
parent | a4e6f40c77afe6e6a0076c4bcf7cbf68406a7d9f [diff] |
iio: adc: ad-sigma-delta: Allow custom IRQ flags Before this patch the ad_sigma_delta implementation hardcoded the irq trigger type to low, assuming that all Sigma-Delta ADCs have the same interrupt-type. This patch allows all drivers using the ad_sigma_delta layer to set the irq trigger type to the one specified in the datasheet. Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>