diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2021-09-13 19:00:43 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-27 15:00:29 +0300 |
commit | 6477960755fb2c0ca9b0497bc86abfa4ee173556 (patch) | |
tree | 5fff915263426620d64de8844cde48884c9fb8f4 /tools/perf/scripts/python/check-perf-trace.py | |
parent | d07a6d454ffa310ee306d57f486eb64380bbdfff (diff) | |
download | linux-6477960755fb2c0ca9b0497bc86abfa4ee173556.tar.xz |
ASoC: wm_adsp: Move check for control existence
Checking earlier in the function if a control already exists avoids
superfluous string construction and also prepares for future
refactoring.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210913160057.103842-3-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions