Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299379
b: refs/heads/master
c: 3e84319
h: refs/heads/master
i:
  299377: 17c18cd
  299375: c68a0a3
v: v3
  • Loading branch information
Takashi Iwai committed Apr 19, 2012
1 parent e01c35e commit 827f556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 118cb4a408e1c4021ac85d6c05da66bb6f57e556
refs/heads/master: 3e843196c697ee2c319d96e861980fb4c3e04e24
5 changes: 2 additions & 3 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -5063,12 +5063,11 @@ static void stac92xx_update_led_status(struct hda_codec *codec, int enabled)
if (spec->gpio_led_polarity)
muted = !muted;

/*polarity defines *not* muted state level*/
if (!spec->vref_mute_led_nid) {
if (muted)
spec->gpio_data &= ~spec->gpio_led; /* orange */
spec->gpio_data |= spec->gpio_led;
else
spec->gpio_data |= spec->gpio_led; /* white */
spec->gpio_data &= ~spec->gpio_led;
stac_gpio_set(codec, spec->gpio_mask,
spec->gpio_dir, spec->gpio_data);
} else {
Expand Down

0 comments on commit 827f556

Please sign in to comment.