diff options
author | Derong Liu <[email protected]> | 2021-08-27 15:15:37 +0800 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-10-12 10:21:16 +0200 |
commit | 43e5fee317f4b0a48992b8b07935b1a3ac20ce84 (patch) | |
tree | bd1414ecac3290e3029ea077487f2c9893479402 /tools/perf/scripts/python/libxed.py | |
parent | 38929d4f0d811df399c99398ce0599f546369bd4 (diff) |
mmc: mtk-sd: Add wait dma stop done flow
We found this issue on a 5G platform, during CMDQ error handling, if DMA
status is active when it call msdc_reset_hw(), it means mmc host hw reset
and DMA transfer will be parallel, mmc host may access sram region
unexpectedly. According to the programming guide of mtk-sd host, it needs
to wait for dma stop done after set dma stop.
This change should be applied to all SoCs.
Signed-off-by: Derong Liu <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions