提交 698cb111 编写于 作者: M Mark Brown

ASoC: Remove /s from widget names on SMDK64xx WM8580

Otherwise debugfs gets upset when we try to create filenames with /
in them.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 9a76f1ff
...@@ -138,9 +138,9 @@ static struct snd_soc_ops smdk64xx_ops = { ...@@ -138,9 +138,9 @@ static struct snd_soc_ops smdk64xx_ops = {
/* SMDK64xx Playback widgets */ /* SMDK64xx Playback widgets */
static const struct snd_soc_dapm_widget wm8580_dapm_widgets_pbk[] = { static const struct snd_soc_dapm_widget wm8580_dapm_widgets_pbk[] = {
SND_SOC_DAPM_HP("Front-L/R", NULL), SND_SOC_DAPM_HP("Front", NULL),
SND_SOC_DAPM_HP("Center/Sub", NULL), SND_SOC_DAPM_HP("Center+Sub", NULL),
SND_SOC_DAPM_HP("Rear-L/R", NULL), SND_SOC_DAPM_HP("Rear", NULL),
}; };
/* SMDK64xx Capture widgets */ /* SMDK64xx Capture widgets */
...@@ -162,16 +162,16 @@ static const struct snd_soc_dapm_route audio_map_tx[] = { ...@@ -162,16 +162,16 @@ static const struct snd_soc_dapm_route audio_map_tx[] = {
/* SMDK-PAIFRX connections */ /* SMDK-PAIFRX connections */
static const struct snd_soc_dapm_route audio_map_rx[] = { static const struct snd_soc_dapm_route audio_map_rx[] = {
/* Front Left/Right are fed VOUT1L/R */ /* Front Left/Right are fed VOUT1L/R */
{"Front-L/R", NULL, "VOUT1L"}, {"Front", NULL, "VOUT1L"},
{"Front-L/R", NULL, "VOUT1R"}, {"Front", NULL, "VOUT1R"},
/* Center/Sub are fed VOUT2L/R */ /* Center/Sub are fed VOUT2L/R */
{"Center/Sub", NULL, "VOUT2L"}, {"Center+Sub", NULL, "VOUT2L"},
{"Center/Sub", NULL, "VOUT2R"}, {"Center+Sub", NULL, "VOUT2R"},
/* Rear Left/Right are fed VOUT3L/R */ /* Rear Left/Right are fed VOUT3L/R */
{"Rear-L/R", NULL, "VOUT3L"}, {"Rear", NULL, "VOUT3L"},
{"Rear-L/R", NULL, "VOUT3R"}, {"Rear", NULL, "VOUT3R"},
}; };
static int smdk64xx_wm8580_init_paiftx(struct snd_soc_codec *codec) static int smdk64xx_wm8580_init_paiftx(struct snd_soc_codec *codec)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册