aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2020-03-04 10:42:19 +0200
committerJonathan Cameron <[email protected]>2020-04-25 16:04:19 +0100
commitf3c034f6177569e1d27a7f3aaa755910201bc2d2 (patch)
tree274218f58efd0d4ff95e62c1bc13b75845e1dbff /tools/perf/scripts/python/stackcollapse.py
parent065056cb0d0ad42b04bcdfbce84cc7136f919ee6 (diff)
iio: at91-sama5d2_adc: adjust iio_triggered_buffer_{predisable,postenable} positions
The iio_triggered_buffer_{predisable,postenable} functions attach/detach poll functions. In most cases the iio_triggered_buffer_postenable() should be called first to attach the poll function, and then the driver can init the data to be triggered. In this case it's the other way around: the DMA code should be initialized before the attaching the poll function and the reverse should be done when un-initializing. To make things easier when removing the iio_triggered_buffer_postenable() & iio_triggered_buffer_predisable() functions from the IIO core API, the DMA code has been moved into preenable() for init, and postdisable() for uninit. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Ludovic Desroches <[email protected]> Reviewed-by: Eugen Hristev <[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