summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2020-06-17 01:42:08 +0300
committerMark Brown <broonie@kernel.org>2020-06-23 15:38:14 +0300
commit809b1b04df898b6d182069146231a3cbf5f2d9cc (patch)
tree64458c4970bab1cdccef890aa54f6267fa28c346 /tools/perf/scripts/python/task-analyzer.py
parentc314360cea42e9481d9f68a73a3a776eba31ba4b (diff)
downloadlinux-809b1b04df898b6d182069146231a3cbf5f2d9cc.tar.xz
spi: introduce fallback to pio
Add fallback to pio mode in case dma transfer failed with error status SPI_TRANS_FAIL_NO_START. If spi client driver want to enable this feature please set xfer->error in the proper place such as dmaengine_prep_slave_sg() failure detect(but no any data put into spi bus yet). Besides, add master->fallback checking in its can_dma() so that spi core could switch to pio next time. Please refer to spi-imx.c. Signed-off-by: Robin Gong <yibin.gong@nxp.com> Link: https://lore.kernel.org/r/1592347329-28363-2-git-send-email-yibin.gong@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions