From 532d8d0d95a966e76f8e4da7d4599ce2d34cd6d6 Mon Sep 17 00:00:00 2001 From: Matt Hsu Date: Wed, 18 Feb 2009 06:21:03 +0000 Subject: GTA03: Fix audio dapm settings. Correct the dapm mapping between audio endpoint and physical pin. Signed-off-by: Matt Hsu --- sound/soc/s3c24xx/om_gta03_wm8753.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sound/soc/s3c24xx') diff --git a/sound/soc/s3c24xx/om_gta03_wm8753.c b/sound/soc/s3c24xx/om_gta03_wm8753.c index 60879b8bc80..e05cbfa74cb 100644 --- a/sound/soc/s3c24xx/om_gta03_wm8753.c +++ b/sound/soc/s3c24xx/om_gta03_wm8753.c @@ -374,8 +374,8 @@ static const struct snd_soc_dapm_widget wm8753_dapm_widgets[] = { /* example machine audio_mapnections */ static const struct snd_soc_dapm_route audio_map[] = { - {"Stereo Out", NULL, "LOUT1"}, - {"Stereo Out", NULL, "ROUT1"}, + {"Stereo Out", NULL, "LOUT2"}, + {"Stereo Out", NULL, "ROUT2"}, /* Connections to the GSM Module */ {"GSM Line Out", NULL, "MONO1"}, @@ -393,8 +393,8 @@ static const struct snd_soc_dapm_route audio_map[] = { {"Mic Bias", NULL, "Handset Mic"}, /* Call Speaker */ - {"Handset Spk", NULL, "LOUT2"}, - {"Handset Spk", NULL, "ROUT2"}, + {"Handset Spk", NULL, "OUT3"}, + {"Handset Spk", NULL, "LOUT1"}, /* Connect the ALC pins */ {"ACIN", NULL, "ACOP"}, @@ -430,7 +430,6 @@ static int om_gta03_wm8753_init(struct snd_soc_codec *codec) int i, err; /* set up NC codec pins */ - snd_soc_dapm_set_endpoint(codec, "OUT3", 0); snd_soc_dapm_set_endpoint(codec, "OUT4", 0); snd_soc_dapm_set_endpoint(codec, "LINE1", 0); snd_soc_dapm_set_endpoint(codec, "LINE2", 0); -- cgit v1.2.3