diff options
author | Olivier Moysan <olivier.moysan@st.com> | 2020-01-21 12:02:56 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-02-02 14:07:49 +0000 |
commit | e19ac9d9a978f8238a85a28ed624094a497d5ae6 (patch) | |
tree | 3acb41d2efc3227840d7479658e533a68eb71a72 /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | a500f3bd787f8224341e44b238f318c407b10897 (diff) | |
download | linux-e19ac9d9a978f8238a85a28ed624094a497d5ae6.tar.gz linux-e19ac9d9a978f8238a85a28ed624094a497d5ae6.tar.bz2 linux-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 <olivier.moysan@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions