diff options
| author | Brad Kim <[email protected]> | 2020-09-03 20:17:26 +0900 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-09-11 17:39:53 +0530 |
| commit | 8f6b6d0606023c8403ac04ba42177ecbb55769f6 (patch) | |
| tree | 6d3cee9438e16209ba8a152ab8fbbac6767c7382 /tools/perf/scripts/python | |
| parent | 78e7a522693b5f5b1c8b8a7b8bd066e4dddb3d3c (diff) | |
dmaengine: sf-pdma: Fix an error that calls callback twice
Because a callback is called twice when DMA transfer complete
the second callback may be possible to access a freed memory
if the first callback routines perform the dma_release_channel function.
So this patch serialized the callback functions
Signed-off-by: Brad Kim <[email protected]>
Tested-and-reviewed-by: Green Wan <[email protected]>
Signed-off-by: Brad Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions