diff options
author | Joel Fernandes <[email protected]> | 2013-09-26 16:55:46 -0500 |
---|---|---|
committer | Olof Johansson <[email protected]> | 2013-09-30 09:30:13 -0700 |
commit | 6cdaca481f6c415025c2687c109674919aa61934 (patch) | |
tree | 7fa3723241e95afcba4ded18fcd0b56767abc3ae /tools/perf/util/trace-event-scripting.c | |
parent | 64270d82d4bf7fb8e5347c41ea7d0477aa551391 (diff) |
ARM: edma: Fix clearing of unused list for DT DMA resources
HWMOD removal for MMC is breaking edma_start as the events are being manually
triggered due to unused channel list not being clear.
The above issue is fixed by reading the "dmas" property from the DT node if it
exists and clearing the bits in the unused channel list if the dma controller
used by any device is EDMA. For this purpose we use the of_* helpers to parse
the arguments in the dmas phandle list.
Also introduced is a minor clean up of a checkpatch error in old code.
Reviewed-by: Sekhar Nori <[email protected]>
Reported-by: Balaji T K <[email protected]>
Cc: Sekhar Nori <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Pantel Antoniou <[email protected]>
Cc: Jason Kridner <[email protected]>
Cc: Koen Kooi <[email protected]>
Signed-off-by: Joel Fernandes <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions