diff options
Diffstat (limited to 'sound/soc/samsung/neo1973_wm8753.c')
-rw-r--r-- | sound/soc/samsung/neo1973_wm8753.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/samsung/neo1973_wm8753.c b/sound/soc/samsung/neo1973_wm8753.c index c7e965f80d2e..a301d8cfaa34 100644 --- a/sound/soc/samsung/neo1973_wm8753.c +++ b/sound/soc/samsung/neo1973_wm8753.c | |||
@@ -237,7 +237,7 @@ static int lm4853_set_spk(struct snd_kcontrol *kcontrol, | |||
237 | { | 237 | { |
238 | gta02_speaker_enabled = ucontrol->value.integer.value[0]; | 238 | gta02_speaker_enabled = ucontrol->value.integer.value[0]; |
239 | 239 | ||
240 | gpio_set_value(GTA02_GPIO_HP_IN, !gta02_speaker_enabled); | 240 | gpio_set_value(S3C2410_GPJ(2), !gta02_speaker_enabled); |
241 | 241 | ||
242 | return 0; | 242 | return 0; |
243 | } | 243 | } |
@@ -252,7 +252,7 @@ static int lm4853_get_spk(struct snd_kcontrol *kcontrol, | |||
252 | static int lm4853_event(struct snd_soc_dapm_widget *w, | 252 | static int lm4853_event(struct snd_soc_dapm_widget *w, |
253 | struct snd_kcontrol *k, int event) | 253 | struct snd_kcontrol *k, int event) |
254 | { | 254 | { |
255 | gpio_set_value(GTA02_GPIO_AMP_SHUT, SND_SOC_DAPM_EVENT_OFF(event)); | 255 | gpio_set_value(S3C2410_GPJ(1), SND_SOC_DAPM_EVENT_OFF(event)); |
256 | 256 | ||
257 | return 0; | 257 | return 0; |
258 | } | 258 | } |
@@ -396,8 +396,8 @@ static struct snd_soc_codec_conf neo1973_codec_conf[] = { | |||
396 | }; | 396 | }; |
397 | 397 | ||
398 | static const struct gpio neo1973_gta02_gpios[] = { | 398 | static const struct gpio neo1973_gta02_gpios[] = { |
399 | { GTA02_GPIO_HP_IN, GPIOF_OUT_INIT_HIGH, "GTA02_HP_IN" }, | 399 | { S3C2410_GPJ(2), GPIOF_OUT_INIT_HIGH, "GTA02_HP_IN" }, |
400 | { GTA02_GPIO_AMP_SHUT, GPIOF_OUT_INIT_HIGH, "GTA02_AMP_SHUT" }, | 400 | { S3C2410_GPJ(1), GPIOF_OUT_INIT_HIGH, "GTA02_AMP_SHUT" }, |
401 | }; | 401 | }; |
402 | 402 | ||
403 | static struct snd_soc_card neo1973 = { | 403 | static struct snd_soc_card neo1973 = { |