diff options
author | Ranjani Sridharan <[email protected]> | 2023-01-27 14:00:16 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-01-27 12:14:00 +0000 |
commit | 73ea660947b52969214473434396a33d283c5ac8 (patch) | |
tree | 222b42cd290b0f0da39f0ce1ecd61a1d61bd6974 /scripts/gdb/linux/config.py | |
parent | 5edcf2a3aad41ee398ac011cda7bccca400b56f0 (diff) |
ASoC: SOF: sof-audio: Set up/free DAI/AIF widgets only once
Calling the sof_widget_setup/free() for the DAI/AIF widgets inside the
snd_soc_dapm_widget_for_each_sink_path() loop will end up setting up or
freeing the widget multiple times if there are multiple paths leaving
the widget. Fix this by moving the widget setup/free for the starting
widget in each path outside the loop.
Signed-off-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions