Skip to content

Commit

Permalink
ALSA: hda - Fix reverted LED setup for HP
Browse files Browse the repository at this point in the history
The commit 86d190e reverted the bit
flip of LED GPIO for HP DX and DV4-1222nr.  Fixed now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed May 30, 2009
1 parent b4f8b5e commit ba84bfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -4666,9 +4666,9 @@ static int stac92xx_hp_check_power_status(struct hda_codec *codec,
if (nid == 0x10) {
if (snd_hda_codec_amp_read(codec, nid, 0, HDA_OUTPUT, 0) &
HDA_AMP_MUTE)
spec->gpio_data |= spec->gpio_led; /* white */
else
spec->gpio_data &= ~spec->gpio_led; /* orange */
else
spec->gpio_data |= spec->gpio_led; /* white */

stac_gpio_set(codec, spec->gpio_mask,
spec->gpio_dir,
Expand Down

0 comments on commit ba84bfc

Please sign in to comment.