diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-08-01 00:42:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-01 01:22:41 +0300 |
commit | 98a7a1143f83289a84cba6dab60a4531cc4dfae2 (patch) | |
tree | 007ceaf3b4b9fcb3c1f4d678bc57ce6cb1ea5692 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4754e29c779fe2a2677ba62896daf4bf980602a1 (diff) | |
download | linux-98a7a1143f83289a84cba6dab60a4531cc4dfae2.tar.xz |
ASoC: intel: sof_sdw: Clean up DAI link counting
The counting of each of the types of DAI link is a bit messy with things
added onto an intermediate variable as it goes along. Re-order things a
little to keep the order consistent with the rest of the function and
simplify the process down to a variable for each type of DAI and then
sum them at the end.
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
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://lore.kernel.org/r/20230731214257.444605-22-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