diff options
author | Wolfram Sang <[email protected]> | 2024-10-07 13:02:01 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-10-14 23:10:58 +0530 |
commit | 6e9c5c8ef2820d18492d07172ac52f23ea8a54d9 (patch) | |
tree | f98d03fdf74c1a448c04cd34b6cef8746d3356b7 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
dmaengine: sh: rz-dmac: handle configs where one address is zero
Configs like the ones coming from the MMC subsystem will have either
'src' or 'dst' zeroed, resulting in an unknown bus width. This will bail
out on the RZ DMA driver because of the sanity check for a valid bus
width. Reorder the code, so that the check will only be applied when the
corresponding address is non-zero.
Fixes: 5000d37042a6 ("dmaengine: sh: Add DMAC driver for RZ/G2L SoC")
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Tested-by: Biju Das <[email protected]>
Tested-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions