From: Eugen Hristev <eugen.hristev@xxxxxxxxxxxxx> This is a rework of the first patches from [PATCH 00/10] Enhancements to at91-sama5d2_adc and rtc trigger I reworked according to Jonathan's review. The RTC triggering part is still work in progress and I will send it separately Changes in v3: - Addressed feedback (each patch has changelog) from Jonathan on ML on the v2 of this series: [PATCH v2 0/3] Enhancements to at91-sama5d2_adc driver Eugen Hristev (3): iio: adc: at91-sama5d2_adc: fix differential channels in triggered mode iio: adc: at91-sama5d2_adc: handle unfinished conversions iio: adc: at91-sama5d2_adc: update for other trigger usage drivers/iio/adc/at91-sama5d2_adc.c | 167 ++++++++++++++++++++++++------------- 1 file changed, 109 insertions(+), 58 deletions(-) -- 2.7.4