diff options
author | Andy Shevchenko <[email protected]> | 2020-07-05 14:56:20 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2020-07-06 10:21:05 +0530 |
commit | 99ba8b9b0d9780e9937eb1d488d120e9e5c2533d (patch) | |
tree | 1a5f69b6e0cf89684386d41f83d0bbc2104e4ec7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e3122822a74033ba8d6d9af855078f9ab741e33f (diff) |
dmaengine: dw: Initialize channel before each transfer
In some cases DMA can be used only with a consumer which does runtime power
management and on the platforms, that have DMA auto power gating logic
(see comments in the drivers/acpi/acpi_lpss.c), may result in DMA losing
its context. Simple mitigation of this issue is to initialize channel
each time the consumer initiates a transfer.
Fixes: cfdf5b6cc598 ("dw_dmac: add support for Lynxpoint DMA controllers")
Reported-by: Tsuchiya Yuto <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206403
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions