summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2018-01-12 16:15:25 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2018-01-12 17:34:17 +0300
commit3621311695f5b1a9396ae95098ac904328eefde7 (patch)
treeb2c9d11fc24acdb9b2825b68b614f78c8c2f16fe /tools/perf/scripts/python/export-to-postgresql.py
parentd120568883a4676852caab2e3545c0d1a623376b (diff)
downloadlinux-3621311695f5b1a9396ae95098ac904328eefde7.tar.xz
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 <peter.ujfalusi@ti.com> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Acked-by: Roger Quadros <rogerq@ti.com> Tested-by: Tony Lindgren <tony@atomide.com> Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions