aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@intel.com>2014-06-26 18:45:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-06 18:59:12 -0700
commit6d4f6fb5a4f210a67b5d79b8b5bfd82d6918ab7e (patch)
tree0550b712658464dad1ed4e4d011bfa670085e4aa /Makefile
parent9931e761bc58ed208f51b047d958a12f0db89bda (diff)
ALSA: hda - restore BCLK M/N values when resuming HSW/BDW display controller
commit a07187c992be945ab561b370cbb49cfd72064c3c upstream. 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> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions