diff options
author | Matt Hsu <matt_hsu@openmoko.org> | 2009-02-18 06:21:03 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-02-18 06:21:03 +0000 |
commit | 532d8d0d95a966e76f8e4da7d4599ce2d34cd6d6 (patch) | |
tree | 75f2c8fb8763b553c499e7ff09c3c810806b0810 | |
parent | ed8e10e8174e36f328bfc7a268589d0a23934e66 (diff) |
GTA03: Fix audio dapm settings.
Correct the dapm mapping between audio endpoint and physical pin.
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
-rw-r--r-- | sound/soc/s3c24xx/om_gta03_wm8753.c | 9 |
1 files changed, 4 insertions, 5 deletions
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); |