diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2021-09-13 17:00:43 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-09-27 13:00:29 +0100 |
| commit | 6477960755fb2c0ca9b0497bc86abfa4ee173556 (patch) | |
| tree | 5fff915263426620d64de8844cde48884c9fb8f4 /lib/mpi/mpi-add.c | |
| parent | d07a6d454ffa310ee306d57f486eb64380bbdfff (diff) | |
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 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
