Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321009
b: refs/heads/master
c: 1f43f6c
h: refs/heads/master
i:
  321007: f7753ad
v: v3
  • Loading branch information
Takashi Iwai committed Jul 31, 2012
1 parent eeece84 commit ee50f51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: c9dbc4802b413e2d0b08fc483cbf5db7f8e2f360
refs/heads/master: 1f43f6c1bc8d740e75b4177eb29110858bb5fea2
7 changes: 6 additions & 1 deletion trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -4420,7 +4420,12 @@ static int stac92xx_init(struct hda_codec *codec)
snd_hda_jack_report_sync(codec);

/* sync mute LED */
snd_hda_sync_vmaster_hook(&spec->vmaster_mute);
if (spec->gpio_led) {
if (spec->vmaster_mute.hook)
snd_hda_sync_vmaster_hook(&spec->vmaster_mute);
else /* the very first init call doesn't have vmaster yet */
stac92xx_update_led_status(codec, false);
}

/* sync the power-map */
if (spec->num_pwrs)
Expand Down

0 comments on commit ee50f51

Please sign in to comment.