diff options
author | Koro Chen <koro.chen@mediatek.com> | 2015-08-17 14:16:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-17 20:52:08 +0300 |
commit | 0643558f85e740019e0632072c55e8b2f79a8d7d (patch) | |
tree | 1aaa2f50c98fcd9123586c9a3b28e86ca63900f2 /sound/soc/mediatek/mt8173-rt5650-rt5676.c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | linux-0643558f85e740019e0632072c55e8b2f79a8d7d.tar.xz |
ASoC: mediatek: Remove AIF widgets for backend DAIs
DAPM core already creates widgets for DAIs. It is not necessary
to declare them by SND_SOC_DAPM_AIF_IN/SND_SOC_DAPM_AIF_OUT.
Furthermore, original codes use backend DAI's stream name to be the AIF
widget name. It causes the same widget to be created twice, and after
commit 92fa12426741 ("ASoC: dapm: Add new widgets to the end of the
widget list") the first created widget (by snd_soc_dapm_new_controls)
is used, not the 2nd created one (by snd_soc_dapm_new_dai_widgets),
so audio path is broken.
Signed-off-by: Koro Chen <koro.chen@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt8173-rt5650-rt5676.c')
0 files changed, 0 insertions, 0 deletions