aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-23 12:25:00 -0500
committerTakashi Iwai <tiwai@suse.de>2013-01-23 12:25:00 -0500
commitf7c0bfa06009eed50210fdf993ff9cb886dc8224 (patch)
treef60ebec3677e25181d8c5b160a6b24310850560d /sound/pci/hda/hda_codec.c
parent1f57825077dc2fa4e3d4a4e6b3af6c75f81112e7 (diff)
parent0712eea349d8e2b6d0e44b94a752d999319027fb (diff)
Merge branch 'for-linus' into for-next
Merge the 3.8 devel branch for correcting the newly added PB desktop fixup with the automute support.
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r--sound/pci/hda/hda_codec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 77ddd34fffed..e4e0501ab84a 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -3826,6 +3826,7 @@ static void hda_call_codec_resume(struct hda_codec *codec)
3826 hda_set_power_state(codec, AC_PWRST_D0); 3826 hda_set_power_state(codec, AC_PWRST_D0);
3827 restore_shutup_pins(codec); 3827 restore_shutup_pins(codec);
3828 hda_exec_init_verbs(codec); 3828 hda_exec_init_verbs(codec);
3829 snd_hda_jack_set_dirty_all(codec);
3829 if (codec->patch_ops.resume) 3830 if (codec->patch_ops.resume)
3830 codec->patch_ops.resume(codec); 3831 codec->patch_ops.resume(codec);
3831 else { 3832 else {
@@ -3837,10 +3838,8 @@ static void hda_call_codec_resume(struct hda_codec *codec)
3837 3838
3838 if (codec->jackpoll_interval) 3839 if (codec->jackpoll_interval)
3839 hda_jackpoll_work(&codec->jackpoll_work.work); 3840 hda_jackpoll_work(&codec->jackpoll_work.work);
3840 else { 3841 else
3841 snd_hda_jack_set_dirty_all(codec);
3842 snd_hda_jack_report_sync(codec); 3842 snd_hda_jack_report_sync(codec);
3843 }
3844 3843
3845 codec->in_pm = 0; 3844 codec->in_pm = 0;
3846 snd_hda_power_down(codec); /* flag down before returning */ 3845 snd_hda_power_down(codec); /* flag down before returning */