summaryrefslogtreecommitdiffstats
path: root/sound/ppc/pmac.h
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2024-05-09 18:34:15 +0200
committerMark Brown <broonie@kernel.org>2024-05-10 08:11:48 +0200
commit70d470f05f0b5bb8dea67915cac6ed6308120a89 (patch)
tree2c5e487a620f8f1891e6a91f73cf68fe17bccf2e /sound/ppc/pmac.h
parentASoC: Intel: sof_sdw: use generic name for controls/widgets (diff)
downloadlinux-70d470f05f0b5bb8dea67915cac6ed6308120a89.tar.xz
linux-70d470f05f0b5bb8dea67915cac6ed6308120a89.zip
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 <peter.ujfalusi@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20240509163418.67746-16-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ppc/pmac.h')
0 files changed, 0 insertions, 0 deletions