diff options
| author | Charles Keepax <[email protected]> | 2023-07-31 16:42:55 -0500 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-07-31 23:22:41 +0100 |
| commit | 98a7a1143f83289a84cba6dab60a4531cc4dfae2 (patch) | |
| tree | 007ceaf3b4b9fcb3c1f4d678bc57ce6cb1ea5692 /tools/perf/scripts/python | |
| parent | 4754e29c779fe2a2677ba62896daf4bf980602a1 (diff) | |
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 <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Signed-off-by: Charles Keepax <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions