ALSA: hda - Fix remaining VREF mute-LED NID check in post-3.1 changes
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
b5212878ab
commit
a020428364
1 changed files with 1 additions and 1 deletions
|
@ -4442,7 +4442,7 @@ static int stac92xx_init(struct hda_codec *codec)
|
||||||
/* power on when no jack detection is available */
|
/* power on when no jack detection is available */
|
||||||
/* or when the VREF is used for controlling LED */
|
/* or when the VREF is used for controlling LED */
|
||||||
if (!spec->hp_detect ||
|
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);
|
stac_toggle_power_map(codec, nid, 1);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue