diff options
| -rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index a760c30f1caa..94040ccf8e8f 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
| @@ -4420,7 +4420,12 @@ static int stac92xx_init(struct hda_codec *codec) | |||
| 4420 | snd_hda_jack_report_sync(codec); | 4420 | snd_hda_jack_report_sync(codec); |
| 4421 | 4421 | ||
| 4422 | /* sync mute LED */ | 4422 | /* sync mute LED */ |
| 4423 | snd_hda_sync_vmaster_hook(&spec->vmaster_mute); | 4423 | if (spec->gpio_led) { |
| 4424 | if (spec->vmaster_mute.hook) | ||
| 4425 | snd_hda_sync_vmaster_hook(&spec->vmaster_mute); | ||
| 4426 | else /* the very first init call doesn't have vmaster yet */ | ||
| 4427 | stac92xx_update_led_status(codec, false); | ||
| 4428 | } | ||
| 4424 | 4429 | ||
| 4425 | /* sync the power-map */ | 4430 | /* sync the power-map */ |
| 4426 | if (spec->num_pwrs) | 4431 | if (spec->num_pwrs) |
