diff options
author | Stefan Brüns <[email protected]> | 2017-09-28 03:49:20 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2017-10-16 12:31:24 +0530 |
commit | 88d8622c0071def657a7eb6c7fd97471808ea9bc (patch) | |
tree | ca7b508724fe53c918a3c275034cdbee21c15867 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5a6a6202fa9ab63bce1726663ff5573741bfeab3 (diff) |
dmaengine: sun6i: Restructure code to allow extension for new SoCs
The current code mixes three distinct operations when transforming
the slave config to register settings:
1. special handling of DMA_SLAVE_BUSWIDTH_UNDEFINED, maxburst == 0
2. range checking
3. conversion of raw to register values
As the range checks depend on the specific SoC, move these out of the
conversion to distinct operations.
Signed-off-by: Stefan Brüns <[email protected]>
Acked-by: Maxime Ripard <[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