diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-08-01 00:42:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-01 01:22:37 +0300 |
commit | 8673e68b594684fac53398ec5783a6c8469a07a1 (patch) | |
tree | 86f183c034c25563d739c4640f71b3dc9741eb2d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | febac07b4c69242d7870944457c3a1158ab97bdc (diff) | |
download | linux-8673e68b594684fac53398ec5783a6c8469a07a1.tar.xz |
ASoC: intel: sof_sdw: Move amp_num initialisation to mc_probe
The amp_num member of the info struct is zeroed at the start of
sof_card_dai_links_create, but then summed in mc_probe after
sof_card_dai_links_create is called. It is a little clearer to hoist the
initialisation out of sof_card_dai_links_create so it is on the same
level as the summation.
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@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-18-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