diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2024-03-26 19:04:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-26 19:13:26 +0300 |
commit | c577b747b9a0ad32047dcfa01d0ea7e2441cf590 (patch) | |
tree | b3470a8efee049aa13c8a16299f078083e4d776d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d36bfa329ae6d94e435d11960936023c03df0d64 (diff) | |
download | linux-c577b747b9a0ad32047dcfa01d0ea7e2441cf590.tar.xz |
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 <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240326160429.13560-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions