summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2020-03-09 11:02:12 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-03-28 16:35:00 +0000
commite2042d2936dfc84e9c600fe9b9d0039ca0e54b7d (patch)
treed284b4bb5eaa999c088769ba62bd7cc1ccb27a6d /mm
parent28535877ac5b2b84f0d394fd67a5ec71c0c48b10 (diff)
iio: adc: stm32-adc: fix sleep in atomic context
This commit fixes the following error: "BUG: sleeping function called from invalid context at kernel/irq/chip.c" In DMA mode suppress the trigger irq handler, and make the buffer transfers directly in DMA callback, instead. Fixes: 2763ea0585c9 ("iio: adc: stm32: add optional dma support") Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions