aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorCharles Keepax <[email protected]>2024-03-26 11:04:03 -0500
committerMark Brown <[email protected]>2024-03-26 16:13:26 +0000
commitc577b747b9a0ad32047dcfa01d0ea7e2441cf590 (patch)
treeb3470a8efee049aa13c8a16299f078083e4d776d /tools/perf/scripts/python/intel-pt-events.py
parentd36bfa329ae6d94e435d11960936023c03df0d64 (diff)
ASoC: Intel: sof_sdw: Only pass dai_link pointer around
Rather than passing around a pointer to the dai_link array and an index into this array, simply pass a pointer to the current dai_link. Also move the DAI link pointer sanity check to the end of the DAI link creation, and change it to a warn on. This check should only be hit if there is a serious bug in the machine driver, so checking it on each iteration is excessive. Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions