diff options
author | Bard Liao <[email protected]> | 2024-05-09 11:34:15 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-05-10 07:11:48 +0100 |
commit | 70d470f05f0b5bb8dea67915cac6ed6308120a89 (patch) | |
tree | 2c5e487a620f8f1891e6a91f73cf68fe17bccf2e /drivers/cdx/controller/cdx_controller.c | |
parent | 01c266af92f4d24d44939e7d21c36e898caaa18f (diff) |
ASoC: Intel: sof_sdw: add controls and dapm widgets in codec_info
Currently, we add card controls and dapm widgets one by one in the
codec_info->dais->rtd_init callback. Duplicated controls and dapm
widgets will be added if there are more than one types of amps in the
dai link. Moving it to sof_sdw_rtd_init() and only add the
controls/widgets of the first codec dai can avoid the duplications.
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Bard Liao <[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 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions