projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b521287
)
ALSA: hda - Fix remaining VREF mute-LED NID check in post-3.1 changes
author
Takashi Iwai
<tiwai@suse.de>
Tue, 6 Dec 2011 12:17:23 +0000
(13:17 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 6 Dec 2011 12:21:43 +0000
(13:21 +0100)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index
ea1f157
..
eeb25d5
100644
(file)
--- 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;
}