diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index a6c34dc6dac1..4efd2711acd9 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -3618,6 +3618,7 @@ static void hda_call_codec_resume(struct hda_codec *codec) | |||
3618 | snd_hda_codec_resume_amp(codec); | 3618 | snd_hda_codec_resume_amp(codec); |
3619 | snd_hda_codec_resume_cache(codec); | 3619 | snd_hda_codec_resume_cache(codec); |
3620 | } | 3620 | } |
3621 | snd_hda_jack_report_sync(codec); | ||
3621 | snd_hda_power_down(codec); /* flag down before returning */ | 3622 | snd_hda_power_down(codec); /* flag down before returning */ |
3622 | } | 3623 | } |
3623 | #endif /* CONFIG_PM */ | 3624 | #endif /* CONFIG_PM */ |
@@ -3663,6 +3664,7 @@ int snd_hda_codec_build_controls(struct hda_codec *codec) | |||
3663 | err = codec->patch_ops.build_controls(codec); | 3664 | err = codec->patch_ops.build_controls(codec); |
3664 | if (err < 0) | 3665 | if (err < 0) |
3665 | return err; | 3666 | return err; |
3667 | snd_hda_jack_report_sync(codec); /* call at the last init point */ | ||
3666 | return 0; | 3668 | return 0; |
3667 | } | 3669 | } |
3668 | 3670 | ||