drm/i915/audio: fix hdmi audio noise issue
authorLibin Yang <libin.yang@intel.com>
Fri, 11 Nov 2016 08:46:28 +0000 (16:46 +0800)
committerJani Nikula <jani.nikula@intel.com>
Mon, 5 Dec 2016 09:00:31 +0000 (11:00 +0200)
commitb9f16ff2730c1be06ca89518d5c369b12ffbbc6c
tree39ee417e226e7c08927693c3a8f7760514938ecb
parent3acd24017563e1ce333eb52d37b7e69480cd4100
drm/i915/audio: fix hdmi audio noise issue

Some monitors will have noise or even no sound after
applying the patch 6014ac12.

In patch 6014ac12, it will reset the cts value to 0 for HDMI.
However, we need to disable Enable CTS or M Prog bit. This is
the initial setting after HW reset.

Fixes: 6014ac122ed0 ("drm/i915/audio: set proper N/M in modeset")
Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1478853988-139842-1-git-send-email-libin.yang@intel.com
(cherry picked from commit 60abfbb86a8d51576f90c5adcbb4f547a2952782)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_audio.c