diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-12-06 16:17:23 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-06 16:21:43 +0400 |
commit | a020428364485751b607105c8f5a608f9b1fd38b (patch) | |
tree | fe1e8ce0b9e9aa8d579cda6cdc0ca3fc70b063a6 /sound | |
parent | b5212878abdd9f9396705a5c84d622e78abc538c (diff) | |
download | linux-a020428364485751b607105c8f5a608f9b1fd38b.tar.xz |
ALSA: hda - Fix remaining VREF mute-LED NID check in post-3.1 changes
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index ea1f157ca38b..eeb25d529e30 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -4442,7 +4442,7 @@ static int stac92xx_init(struct hda_codec *codec) /* power on when no jack detection is available */ /* or when the VREF is used for controlling LED */ if (!spec->hp_detect || - (spec->gpio_led > 8 && spec->gpio_led == nid)) { + spec->vref_mute_led_nid == nid) { stac_toggle_power_map(codec, nid, 1); continue; } |