diff options
| author | Simon Horman <[email protected]> | 2017-05-10 11:25:26 +0200 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2017-06-20 10:30:14 +0200 |
| commit | 631fa73cfba8dcfd0d1db8eb608527183ed95648 (patch) | |
| tree | c7b8fa690facea3d3e7ed34ebfea089194edb9dc /tools/perf/scripts/python/compaction-times.py | |
| parent | b21f13d8f7bf1b65b2e5396fbd8bfb857627b666 (diff) | |
mmc: renesas-sdhi, tmio: make dma more modular
Refactor DMA support to allow it to be provided by a set of call-backs
that are provided by a host driver. The motivation is to allow multiple
DMA implementations to be provided and instantiated at run-time.
Instantiate the existing DMA implementation from the sh_mobile_sdhi driver
which appears to match the current use-case. This has the side effect
of moving the DMA code from the tmio_core to the sh_mobile_sdhi driver.
A follow-up patch will change the source file for the SDHI DMA
implementation accordingly. Another follow-up patch will re-organise the
SDHI driver removing the need for tmio_mmc_get_dma_ops().
Signed-off-by: Simon Horman <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions