Merge branch 'for-linus' into for-next
authorTakashi Iwai <tiwai@suse.de>
Mon, 19 Nov 2012 20:25:27 +0000 (21:25 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Nov 2012 20:25:27 +0000 (21:25 +0100)
Merge the recent HD-audio codec change for fixing recursive suspend
calls.

Conflicts:
sound/pci/hda/hda_codec.c

1  2 
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_realtek.c

@@@ -3693,13 -3660,9 +3698,15 @@@ static void hda_call_codec_resume(struc
                snd_hda_codec_resume_amp(codec);
                snd_hda_codec_resume_cache(codec);
        }
 -      snd_hda_jack_report_sync(codec);
 +
 +      if (codec->jackpoll_interval)
 +              hda_jackpoll_work(&codec->jackpoll_work.work);
 +      else {
 +              snd_hda_jack_set_dirty_all(codec);
 +              snd_hda_jack_report_sync(codec);
 +      }
+       codec->in_pm = 0;
        snd_hda_power_down(codec); /* flag down before returning */
  }
  #endif /* CONFIG_PM */
Simple merge
Simple merge
Simple merge