From d21cd6ed5c9c1a8650032086f47607ccb8ef5d4b Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 2 Mar 2022 13:09:56 +0000 Subject: [PATCH] drm/i915/dg2: Print PHY name properly on calibration error From Matt Roper d064d0c39405a7f0fc76d9b70ce9fb3bf434fe05 in linux 5.15.y/5.15.26 28adef861233c6fce47372ebd2070b55eaa8e899 in mainline linux --- sys/dev/pci/drm/i915/display/intel_snps_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/i915/display/intel_snps_phy.c b/sys/dev/pci/drm/i915/display/intel_snps_phy.c index 18b52b64af9..536b319ffe5 100644 --- a/sys/dev/pci/drm/i915/display/intel_snps_phy.c +++ b/sys/dev/pci/drm/i915/display/intel_snps_phy.c @@ -32,7 +32,7 @@ void intel_snps_phy_wait_for_calibration(struct drm_i915_private *dev_priv) if (intel_de_wait_for_clear(dev_priv, ICL_PHY_MISC(phy), DG2_PHY_DP_TX_ACK_MASK, 25)) DRM_ERROR("SNPS PHY %c failed to calibrate after 25ms.\n", - phy); + phy_name(phy)); } } -- 2.20.1