drm/i915/mtl: Fix expected reg value for Thunderbolt PLL disabling
authorMika Kahola <mika.kahola@intel.com>
Fri, 12 May 2023 12:00:03 +0000 (15:00 +0300)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Thu, 18 May 2023 16:24:11 +0000 (09:24 -0700)
commit615ed9ece01814a94fb544226cb3f4e03f06851d
tree0369eef6ff17152007e2d1b88e4316e33dc00e4b
parent9c3a985f88fa4de82bf4bda906095ce6444e9039
drm/i915/mtl: Fix expected reg value for Thunderbolt PLL disabling

While disabling Thunderbolt PLL, we request PLL to be stopped and
wait for ACK bit to be cleared. The expected value should be '0'
instead of '~XELPDP_TBT_CLOCK_ACK' or otherwise we incorrectly
receive dmesg warn "PHY PLL not unlocked in 10us".

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512120003.587360-1-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_cx0_phy.c