diff options
| author | Eugen Hristev <[email protected]> | 2020-09-23 15:17:48 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-29 17:50:35 +0100 |
| commit | 1a198794451449113fa86994ed491d6986802c23 (patch) | |
| tree | f8b8a9753897319fc54b70f44e32a60a71d5023d /tools/perf/scripts/python/stackcollapse.py | |
| parent | b8a533f3c24b3b8f1fdbefc5ada6a7d5733d63e6 (diff) | |
iio: adc: at91-sama5d2_adc: fix DMA conversion crash
After the move of the postenable code to preenable, the DMA start was
done before the DMA init, which is not correct.
The DMA is initialized in set_watermark. Because of this, we need to call
the DMA start functions in set_watermark, after the DMA init, instead of
preenable hook, when the DMA is not properly setup yet.
Fixes: f3c034f61775 ("iio: at91-sama5d2_adc: adjust iio_triggered_buffer_{predisable,postenable} positions")
Signed-off-by: Eugen Hristev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions