[PATCH v2 0/2] iio: stm32-adc: fix a race with dma and irq

From: Fabrice Gasnier
Date: Tue Sep 17 2019 - 08:39:22 EST


This series fixes a race condition observed when using several ADCs with DMA
and irq.
There's a precusor patch to the fix. It keeps registers definitions as a whole
block, to ease readability and allow simple (readl) access path to EOC bits in
stm32-adc-core driver.

---
Changes in v2:
- Add a precursor patch to follow Jonathan's comment on readability

Fabrice Gasnier (2):
iio: adc: stm32-adc: move registers definitions
iio: adc: stm32-adc: fix a race when using several adcs with dma and
irq

drivers/iio/adc/stm32-adc-core.c | 70 +++++++++++---------
drivers/iio/adc/stm32-adc-core.h | 137 +++++++++++++++++++++++++++++++++++++++
drivers/iio/adc/stm32-adc.c | 109 -------------------------------
3 files changed, 177 insertions(+), 139 deletions(-)

--
2.7.4