diff options
author | Jorge Eduardo Candelaria <jorge.candelaria@ti.com> | 2010-05-18 13:44:17 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-05-19 09:07:15 -0400 |
commit | 7254e2bddc96c47cb5edd30cfd3e1f12a2df9149 (patch) | |
tree | 8b5ce16c33390e904def6f092d9028f58f1bc4a2 /sound/soc/omap | |
parent | 5e64d6aadd2b8d5d480c3ff402f5dbbd009f58c5 (diff) |
ASoC: SDP4430: Add support for Earphone speaker
Enable earphone speaker in sdp4430 machine driver.
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/sdp4430.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c index 83831ee35d07..3a0c19866121 100644 --- a/sound/soc/omap/sdp4430.c +++ b/sound/soc/omap/sdp4430.c | |||
@@ -101,6 +101,7 @@ static const struct snd_soc_dapm_widget sdp4430_twl6040_dapm_widgets[] = { | |||
101 | SND_SOC_DAPM_SPK("Ext Spk", NULL), | 101 | SND_SOC_DAPM_SPK("Ext Spk", NULL), |
102 | SND_SOC_DAPM_MIC("Headset Mic", NULL), | 102 | SND_SOC_DAPM_MIC("Headset Mic", NULL), |
103 | SND_SOC_DAPM_HP("Headset Stereophone", NULL), | 103 | SND_SOC_DAPM_HP("Headset Stereophone", NULL), |
104 | SND_SOC_DAPM_SPK("Earphone Spk", NULL), | ||
104 | }; | 105 | }; |
105 | 106 | ||
106 | static const struct snd_soc_dapm_route audio_map[] = { | 107 | static const struct snd_soc_dapm_route audio_map[] = { |
@@ -120,6 +121,9 @@ static const struct snd_soc_dapm_route audio_map[] = { | |||
120 | /* Headset Stereophone (Headphone): HSOL, HSOR */ | 121 | /* Headset Stereophone (Headphone): HSOL, HSOR */ |
121 | {"Headset Stereophone", NULL, "HSOL"}, | 122 | {"Headset Stereophone", NULL, "HSOL"}, |
122 | {"Headset Stereophone", NULL, "HSOR"}, | 123 | {"Headset Stereophone", NULL, "HSOR"}, |
124 | |||
125 | /* Earphone speaker */ | ||
126 | {"Earphone Spk", NULL, "EP"}, | ||
123 | }; | 127 | }; |
124 | 128 | ||
125 | static int sdp4430_twl6040_init(struct snd_soc_codec *codec) | 129 | static int sdp4430_twl6040_init(struct snd_soc_codec *codec) |