linux/sound/pci/hda
Mengdong Lin a07187c992 ALSA: hda - restore BCLK M/N values when resuming HSW/BDW display controller
For Intel Haswell/Broadwell display HD-A controller, the 24MHz HD-A link BCLK
is converted from Core Display Clock (CDCLK): BCLK = CDCLK * M / N
And there are two registers EM4 and EM5 to program M, N value respectively.
The EM4/EM5 values will be lost and when the display power well is disabled.

BIOS programs CDCLK selected by OEM and EM4/EM5, but BIOS has no idea about
display power well on/off at runtime. So the M/N can be wrong if non-default
CDCLK is used when the audio controller resumes, which results in an invalid
BCLK and abnormal audio playback rate. So this patch saves and restores valid
M/N values on controller suspend/resume.

And 'struct hda_intel' is defined to contain standard HD-A 'struct azx' and
Intel specific fields, as Takashi suggested.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-06-26 15:47:42 +02:00
..
ca0132_regs.h
hda_auto_parser.c ALSA: hda - Fix usage of "model" module parameter 2014-06-23 12:21:12 +02:00
hda_auto_parser.h
hda_beep.c
hda_beep.h
hda_codec.c
hda_codec.h
hda_controller.c
hda_controller.h
hda_eld.c
hda_generic.c
hda_generic.h
hda_hwdep.c
hda_i915.c drm/i915, HD-audio: Don't continue probing when nomodeset is given 2014-06-16 10:34:06 +02:00
hda_i915.h drm/i915, HD-audio: Don't continue probing when nomodeset is given 2014-06-16 10:34:06 +02:00
hda_intel_trace.h
hda_intel.c ALSA: hda - restore BCLK M/N values when resuming HSW/BDW display controller 2014-06-26 15:47:42 +02:00
hda_jack.c
hda_jack.h
hda_local.h ALSA: hda - Make a SND_HDA_PIN_QUIRK macro 2014-06-24 14:48:31 +02:00
hda_priv.h
hda_proc.c
hda_sysfs.c
hda_tegra.c
hda_trace.h
Kconfig
Makefile
patch_analog.c ALSA: hda/analog - Fix silent output on ASUS A8JN 2014-05-30 12:07:12 +02:00
patch_ca0110.c
patch_ca0132.c
patch_cirrus.c
patch_cmedia.c
patch_conexant.c
patch_hdmi.c ALSA: hda - hdmi: call overridden init on resume 2014-06-23 12:38:28 +02:00
patch_realtek.c ALSA: hda - Make the pin quirk tables use the SND_HDA_PIN_QUIRK macro 2014-06-24 14:48:34 +02:00
patch_si3054.c
patch_sigmatel.c ALSA: hda - Adjust speaker HPF and add LED support for HP Spectre 13 2014-06-25 17:50:24 +02:00
patch_via.c
thinkpad_helper.c