aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-10-27 19:11:30 +0200
committerJens Axboe <[email protected]>2020-10-29 08:22:33 -0600
commit7cb6e22ba011c2dc1e94cc0dc94d9ef199715ed9 (patch)
treedcc21ef7b35c84a6b23d82e6f5c4891f7272f466 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parentaa1c09cb65e2ed17cb8e652bc7ec84e0af1229eb (diff)
xsysace: use platform_get_resource() and platform_get_irq_optional()
Use platform_get_resource() to fetch the memory resource and platform_get_irq_optional() to get optional IRQ instead of open-coded variants. IRQ is not supposed to be changed at runtime, so there is no functional change in ace_fsm_yieldirq(). On the other hand we now take first resources instead of last ones to proceed. I can't imagine how broken should be firmware to have a garbage in the first resource slots. But if it the case, it needs to be documented. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Michal Simek <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions