aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorOlivier Moysan <[email protected]>2020-01-21 11:02:56 +0000
committerJonathan Cameron <[email protected]>2020-02-02 14:07:49 +0000
commite19ac9d9a978f8238a85a28ed624094a497d5ae6 (patch)
tree3acb41d2efc3227840d7479658e533a68eb71a72 /drivers/iio/trigger/stm32-timer-trigger.c
parentiio: adc: at91-sama5d2_adc: fix differential channels in triggered mode (diff)
downloadkernel-e19ac9d9a978f8238a85a28ed624094a497d5ae6.tar.gz
kernel-e19ac9d9a978f8238a85a28ed624094a497d5ae6.zip
iio: adc: stm32-dfsdm: fix sleep in atomic context
This commit fixes the error message: "BUG: sleeping function called from invalid context at kernel/irq/chip.c" Suppress the trigger irq handler. Make the buffer transfers directly in DMA callback, instead. Push buffers without timestamps, as timestamps are not supported in DFSDM driver. Fixes: 11646e81d775 ("iio: adc: stm32-dfsdm: add support for buffer modes") Signed-off-by: Olivier Moysan <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions