aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/adc/qcom-vadc-common.c
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2020-01-21 12:02:56 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-02-02 14:07:49 +0000
commite19ac9d9a978f8238a85a28ed624094a497d5ae6 (patch)
tree3acb41d2efc3227840d7479658e533a68eb71a72 /drivers/iio/adc/qcom-vadc-common.c
parenta500f3bd787f8224341e44b238f318c407b10897 (diff)
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/adc/qcom-vadc-common.c')
0 files changed, 0 insertions, 0 deletions