From 827f556eaec1fcea8f675881c8423731625bd824 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 19 Apr 2012 12:04:03 +0200 Subject: [PATCH] --- yaml --- r: 299379 b: refs/heads/master c: 3e843196c697ee2c319d96e861980fb4c3e04e24 h: refs/heads/master i: 299377: 17c18cdde70746b7dda08145f31963bf106e1c82 299375: c68a0a360d5269f0934b0db42b5f20ca5175e9b6 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_sigmatel.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 257873a1e9f6..ff0a2d50289d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 118cb4a408e1c4021ac85d6c05da66bb6f57e556 +refs/heads/master: 3e843196c697ee2c319d96e861980fb4c3e04e24 diff --git a/trunk/sound/pci/hda/patch_sigmatel.c b/trunk/sound/pci/hda/patch_sigmatel.c index 33a9946b492c..4742cac26aa9 100644 --- a/trunk/sound/pci/hda/patch_sigmatel.c +++ b/trunk/sound/pci/hda/patch_sigmatel.c @@ -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 {