summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2020-09-23 15:17:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-29 17:50:35 +0100
commit1a198794451449113fa86994ed491d6986802c23 (patch)
treef8b8a9753897319fc54b70f44e32a60a71d5023d /tools/perf/scripts/python
parentb8a533f3c24b3b8f1fdbefc5ada6a7d5733d63e6 (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 <eugen.hristev@microchip.com> Link: https://lore.kernel.org/r/20200923121748.49384-1-eugen.hristev@microchip.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions