diff options
author | Lopez Cruz, Misael <x0052729@ti.com> | 2009-06-25 13:36:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-26 05:39:52 -0400 |
commit | e3c7dbb07cde886ba97f183c4cc98a2a99b46eaa (patch) | |
tree | 857a16a11775c7d93f0d4f18c29825cff1f54e5a /sound/soc/codecs/twl4030.c | |
parent | 647613e97fa46f6c25cf38b0f2fa81eba5f278d4 (diff) |
ASoC: Remove word "Switch" from Handsfree switch name
SoC dapm adds the suffix "Switch" to SND_SOC_DAPM_SWITCH controls,
removing word "Switch" from HandsfreeL/HandsfreeR widget name
for avoiding to duplicate it.
Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/twl4030.c')
-rw-r--r-- | sound/soc/codecs/twl4030.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index df42fa2abd91..49ceb620678c 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c | |||
@@ -1258,14 +1258,14 @@ static const struct snd_soc_dapm_widget twl4030_dapm_widgets[] = { | |||
1258 | /* HandsfreeL/R */ | 1258 | /* HandsfreeL/R */ |
1259 | SND_SOC_DAPM_MUX("HandsfreeL Mux", SND_SOC_NOPM, 0, 0, | 1259 | SND_SOC_DAPM_MUX("HandsfreeL Mux", SND_SOC_NOPM, 0, 0, |
1260 | &twl4030_dapm_handsfreel_control), | 1260 | &twl4030_dapm_handsfreel_control), |
1261 | SND_SOC_DAPM_SWITCH("HandsfreeL Switch", SND_SOC_NOPM, 0, 0, | 1261 | SND_SOC_DAPM_SWITCH("HandsfreeL", SND_SOC_NOPM, 0, 0, |
1262 | &twl4030_dapm_handsfreelmute_control), | 1262 | &twl4030_dapm_handsfreelmute_control), |
1263 | SND_SOC_DAPM_PGA_E("HandsfreeL PGA", SND_SOC_NOPM, | 1263 | SND_SOC_DAPM_PGA_E("HandsfreeL PGA", SND_SOC_NOPM, |
1264 | 0, 0, NULL, 0, handsfreelpga_event, | 1264 | 0, 0, NULL, 0, handsfreelpga_event, |
1265 | SND_SOC_DAPM_POST_PMU|SND_SOC_DAPM_POST_PMD), | 1265 | SND_SOC_DAPM_POST_PMU|SND_SOC_DAPM_POST_PMD), |
1266 | SND_SOC_DAPM_MUX("HandsfreeR Mux", SND_SOC_NOPM, 5, 0, | 1266 | SND_SOC_DAPM_MUX("HandsfreeR Mux", SND_SOC_NOPM, 5, 0, |
1267 | &twl4030_dapm_handsfreer_control), | 1267 | &twl4030_dapm_handsfreer_control), |
1268 | SND_SOC_DAPM_SWITCH("HandsfreeR Switch", SND_SOC_NOPM, 0, 0, | 1268 | SND_SOC_DAPM_SWITCH("HandsfreeR", SND_SOC_NOPM, 0, 0, |
1269 | &twl4030_dapm_handsfreermute_control), | 1269 | &twl4030_dapm_handsfreermute_control), |
1270 | SND_SOC_DAPM_PGA_E("HandsfreeR PGA", SND_SOC_NOPM, | 1270 | SND_SOC_DAPM_PGA_E("HandsfreeR PGA", SND_SOC_NOPM, |
1271 | 0, 0, NULL, 0, handsfreerpga_event, | 1271 | 0, 0, NULL, 0, handsfreerpga_event, |
@@ -1377,15 +1377,15 @@ static const struct snd_soc_dapm_route intercon[] = { | |||
1377 | {"HandsfreeL Mux", "AudioL1", "Analog L1 Playback Mixer"}, | 1377 | {"HandsfreeL Mux", "AudioL1", "Analog L1 Playback Mixer"}, |
1378 | {"HandsfreeL Mux", "AudioL2", "Analog L2 Playback Mixer"}, | 1378 | {"HandsfreeL Mux", "AudioL2", "Analog L2 Playback Mixer"}, |
1379 | {"HandsfreeL Mux", "AudioR2", "Analog R2 Playback Mixer"}, | 1379 | {"HandsfreeL Mux", "AudioR2", "Analog R2 Playback Mixer"}, |
1380 | {"HandsfreeL Switch", "Switch", "HandsfreeL Mux"}, | 1380 | {"HandsfreeL", "Switch", "HandsfreeL Mux"}, |
1381 | {"HandsfreeL PGA", NULL, "HandsfreeL Switch"}, | 1381 | {"HandsfreeL PGA", NULL, "HandsfreeL"}, |
1382 | /* HandsfreeR */ | 1382 | /* HandsfreeR */ |
1383 | {"HandsfreeR Mux", "Voice", "Analog Voice Playback Mixer"}, | 1383 | {"HandsfreeR Mux", "Voice", "Analog Voice Playback Mixer"}, |
1384 | {"HandsfreeR Mux", "AudioR1", "Analog R1 Playback Mixer"}, | 1384 | {"HandsfreeR Mux", "AudioR1", "Analog R1 Playback Mixer"}, |
1385 | {"HandsfreeR Mux", "AudioR2", "Analog R2 Playback Mixer"}, | 1385 | {"HandsfreeR Mux", "AudioR2", "Analog R2 Playback Mixer"}, |
1386 | {"HandsfreeR Mux", "AudioL2", "Analog L2 Playback Mixer"}, | 1386 | {"HandsfreeR Mux", "AudioL2", "Analog L2 Playback Mixer"}, |
1387 | {"HandsfreeR Switch", "Switch", "HandsfreeR Mux"}, | 1387 | {"HandsfreeR", "Switch", "HandsfreeR Mux"}, |
1388 | {"HandsfreeR PGA", NULL, "HandsfreeR Switch"}, | 1388 | {"HandsfreeR PGA", NULL, "HandsfreeR"}, |
1389 | /* Vibra */ | 1389 | /* Vibra */ |
1390 | {"Vibra Mux", "AudioL1", "DAC Left1"}, | 1390 | {"Vibra Mux", "AudioL1", "DAC Left1"}, |
1391 | {"Vibra Mux", "AudioR1", "DAC Right1"}, | 1391 | {"Vibra Mux", "AudioR1", "DAC Right1"}, |