aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJorge Eduardo Candelaria <jorge.candelaria@ti.com>2010-05-18 12:44:17 -0500
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-05-19 14:07:15 +0100
commit7254e2bddc96c47cb5edd30cfd3e1f12a2df9149 (patch)
tree8b5ce16c33390e904def6f092d9028f58f1bc4a2 /sound
parent5e64d6aadd2b8d5d480c3ff402f5dbbd009f58c5 (diff)
downloadkernel_samsung_crespo-7254e2bddc96c47cb5edd30cfd3e1f12a2df9149.zip
kernel_samsung_crespo-7254e2bddc96c47cb5edd30cfd3e1f12a2df9149.tar.gz
kernel_samsung_crespo-7254e2bddc96c47cb5edd30cfd3e1f12a2df9149.tar.bz2
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')
-rw-r--r--sound/soc/omap/sdp4430.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c
index 83831ee..3a0c198 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[] = {
SND_SOC_DAPM_SPK("Ext Spk", NULL),
SND_SOC_DAPM_MIC("Headset Mic", NULL),
SND_SOC_DAPM_HP("Headset Stereophone", NULL),
+ SND_SOC_DAPM_SPK("Earphone Spk", NULL),
};
static const struct snd_soc_dapm_route audio_map[] = {
@@ -120,6 +121,9 @@ static const struct snd_soc_dapm_route audio_map[] = {
/* Headset Stereophone (Headphone): HSOL, HSOR */
{"Headset Stereophone", NULL, "HSOL"},
{"Headset Stereophone", NULL, "HSOR"},
+
+ /* Earphone speaker */
+ {"Earphone Spk", NULL, "EP"},
};
static int sdp4430_twl6040_init(struct snd_soc_codec *codec)