aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-30 02:59:03 -0400
committerTakashi Iwai <tiwai@suse.de>2009-05-30 02:59:03 -0400
commitba84bfcd2b6fdc5a9ac53a4ab103088c99f84a12 (patch)
tree23cb9bcda44143bb6141d9460be9e67062abe620 /sound/pci/hda/patch_sigmatel.c
parentb4f8b5e2f5c7d71ae0cf18659e361088b812de1b (diff)
ALSA: hda - Fix reverted LED setup for HP
The commit 86d190e77c44cb057742dcc871b12ebd4633c387 reverted the bit flip of LED GPIO for HP DX and DV4-1222nr. Fixed now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index a1b4c9496d47..a915f404f654 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4666,9 +4666,9 @@ static int stac92xx_hp_check_power_status(struct hda_codec *codec,
4666 if (nid == 0x10) { 4666 if (nid == 0x10) {
4667 if (snd_hda_codec_amp_read(codec, nid, 0, HDA_OUTPUT, 0) & 4667 if (snd_hda_codec_amp_read(codec, nid, 0, HDA_OUTPUT, 0) &
4668 HDA_AMP_MUTE) 4668 HDA_AMP_MUTE)
4669 spec->gpio_data |= spec->gpio_led; /* white */
4670 else
4671 spec->gpio_data &= ~spec->gpio_led; /* orange */ 4669 spec->gpio_data &= ~spec->gpio_led; /* orange */
4670 else
4671 spec->gpio_data |= spec->gpio_led; /* white */
4672 4672
4673 stac_gpio_set(codec, spec->gpio_mask, 4673 stac_gpio_set(codec, spec->gpio_mask,
4674 spec->gpio_dir, 4674 spec->gpio_dir,