diff options
author | Olivier Moysan <[email protected]> | 2020-03-09 11:02:12 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2020-03-28 16:35:00 +0000 |
commit | e2042d2936dfc84e9c600fe9b9d0039ca0e54b7d (patch) | |
tree | d284b4bb5eaa999c088769ba62bd7cc1ccb27a6d /scripts/gen_compile_commands.py | |
parent | 28535877ac5b2b84f0d394fd67a5ec71c0c48b10 (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 <[email protected]>
Acked-by: Fabrice Gasnier <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions