aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-12-31 05:51:45 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-02 08:04:25 -0500
commite04d6e55fe02351b1ac338d9e8082fcc434610ce (patch)
treeb1cc6af9770215daf11d3602b1f75c1f37d491ef /sound/soc/omap
parent57296cc28cf8aab2e5e63d8f9964718ae29cc229 (diff)
ASoC: twl4030: Convert MICBIAS to SUPPLY widget
In order to avoid breakage update the machine drivers at the same time using twl4030: omap3pandora, sdp3430 and zoom2 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/omap3pandora.c8
-rw-r--r--sound/soc/omap/sdp3430.c14
-rw-r--r--sound/soc/omap/zoom2.c14
3 files changed, 18 insertions, 18 deletions
diff --git a/sound/soc/omap/omap3pandora.c b/sound/soc/omap/omap3pandora.c
index 43d950a79ff9..805512f2555a 100644
--- a/sound/soc/omap/omap3pandora.c
+++ b/sound/soc/omap/omap3pandora.c
@@ -144,11 +144,11 @@ static const struct snd_soc_dapm_route omap3pandora_in_map[] = {
144 {"AUXL", NULL, "Line In"}, 144 {"AUXL", NULL, "Line In"},
145 {"AUXR", NULL, "Line In"}, 145 {"AUXR", NULL, "Line In"},
146 146
147 {"MAINMIC", NULL, "Mic Bias 1"}, 147 {"MAINMIC", NULL, "Mic (internal)"},
148 {"Mic Bias 1", NULL, "Mic (internal)"}, 148 {"Mic (internal)", NULL, "Mic Bias 1"},
149 149
150 {"SUBMIC", NULL, "Mic Bias 2"}, 150 {"SUBMIC", NULL, "Mic (external)"},
151 {"Mic Bias 2", NULL, "Mic (external)"}, 151 {"Mic (external)", NULL, "Mic Bias 2"},
152}; 152};
153 153
154static int omap3pandora_out_init(struct snd_soc_pcm_runtime *rtd) 154static int omap3pandora_out_init(struct snd_soc_pcm_runtime *rtd)
diff --git a/sound/soc/omap/sdp3430.c b/sound/soc/omap/sdp3430.c
index 86e77e9d24c6..f2e26512d2a0 100644
--- a/sound/soc/omap/sdp3430.c
+++ b/sound/soc/omap/sdp3430.c
@@ -104,19 +104,19 @@ static const struct snd_soc_dapm_widget sdp3430_twl4030_dapm_widgets[] = {
104}; 104};
105 105
106static const struct snd_soc_dapm_route audio_map[] = { 106static const struct snd_soc_dapm_route audio_map[] = {
107 /* External Mics: MAINMIC, SUBMIC with bias*/ 107 /* External Mics: MAINMIC, SUBMIC with bias */
108 {"MAINMIC", NULL, "Mic Bias 1"}, 108 {"MAINMIC", NULL, "Ext Mic"},
109 {"SUBMIC", NULL, "Mic Bias 2"}, 109 {"SUBMIC", NULL, "Ext Mic"},
110 {"Mic Bias 1", NULL, "Ext Mic"}, 110 {"Ext Mic", NULL, "Mic Bias 1"},
111 {"Mic Bias 2", NULL, "Ext Mic"}, 111 {"Ext Mic", NULL, "Mic Bias 2"},
112 112
113 /* External Speakers: HFL, HFR */ 113 /* External Speakers: HFL, HFR */
114 {"Ext Spk", NULL, "HFL"}, 114 {"Ext Spk", NULL, "HFL"},
115 {"Ext Spk", NULL, "HFR"}, 115 {"Ext Spk", NULL, "HFR"},
116 116
117 /* Headset Mic: HSMIC with bias */ 117 /* Headset Mic: HSMIC with bias */
118 {"HSMIC", NULL, "Headset Mic Bias"}, 118 {"HSMIC", NULL, "Headset Mic"},
119 {"Headset Mic Bias", NULL, "Headset Mic"}, 119 {"Headset Mic", NULL, "Headset Mic Bias"},
120 120
121 /* Headset Stereophone (Headphone): HSOL, HSOR */ 121 /* Headset Stereophone (Headphone): HSOL, HSOR */
122 {"Headset Stereophone", NULL, "HSOL"}, 122 {"Headset Stereophone", NULL, "HSOL"},
diff --git a/sound/soc/omap/zoom2.c b/sound/soc/omap/zoom2.c
index 5845d487d273..62a6b02d9b36 100644
--- a/sound/soc/omap/zoom2.c
+++ b/sound/soc/omap/zoom2.c
@@ -69,11 +69,11 @@ static const struct snd_soc_dapm_widget zoom2_twl4030_dapm_widgets[] = {
69}; 69};
70 70
71static const struct snd_soc_dapm_route audio_map[] = { 71static const struct snd_soc_dapm_route audio_map[] = {
72 /* External Mics: MAINMIC, SUBMIC with bias*/ 72 /* External Mics: MAINMIC, SUBMIC with bias */
73 {"MAINMIC", NULL, "Mic Bias 1"}, 73 {"MAINMIC", NULL, "Ext Mic"},
74 {"SUBMIC", NULL, "Mic Bias 2"}, 74 {"SUBMIC", NULL, "Ext Mic"},
75 {"Mic Bias 1", NULL, "Ext Mic"}, 75 {"Ext Mic", NULL, "Mic Bias 1"},
76 {"Mic Bias 2", NULL, "Ext Mic"}, 76 {"Ext Mic", NULL, "Mic Bias 2"},
77 77
78 /* External Speakers: HFL, HFR */ 78 /* External Speakers: HFL, HFR */
79 {"Ext Spk", NULL, "HFL"}, 79 {"Ext Spk", NULL, "HFL"},
@@ -84,8 +84,8 @@ static const struct snd_soc_dapm_route audio_map[] = {
84 {"Headset Stereophone", NULL, "HSOR"}, 84 {"Headset Stereophone", NULL, "HSOR"},
85 85
86 /* Headset Mic: HSMIC with bias */ 86 /* Headset Mic: HSMIC with bias */
87 {"HSMIC", NULL, "Headset Mic Bias"}, 87 {"HSMIC", NULL, "Headset Mic"},
88 {"Headset Mic Bias", NULL, "Headset Mic"}, 88 {"Headset Mic", NULL, "Headset Mic Bias"},
89 89
90 /* Aux In: AUXL, AUXR */ 90 /* Aux In: AUXL, AUXR */
91 {"Aux In", NULL, "AUXL"}, 91 {"Aux In", NULL, "AUXL"},