diff options
author | Peter Ujfalusi <[email protected]> | 2018-01-12 14:15:25 +0100 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2018-01-12 15:34:17 +0100 |
commit | 3621311695f5b1a9396ae95098ac904328eefde7 (patch) | |
tree | b2c9d11fc24acdb9b2825b68b614f78c8c2f16fe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d120568883a4676852caab2e3545c0d1a623376b (diff) |
mtd: onenand: omap2: Simplify the DMA setup for various paths
We have 4 functions containing almost identical DMA setup code. Create one
function which can set up the DMA for both read and write and use this in
place for the setup code in the driver.
The new function will use wait_for_completion_io_timeout() and it will
figure out the best data_type to be used for the transfer instead of
hardwiring 32 or 16 bit data.
Signed-off-by: Peter Ujfalusi <[email protected]>
Signed-off-by: Ladislav Michl <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Acked-by: Roger Quadros <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Tested-by: Aaro Koskinen <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions