From: Lucas De Marchi Date: Tue, 17 Dec 2019 23:05:29 +0000 (-0800) Subject: drm/i915/display: fix phy name X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d6f970f0dad6c053bf7a9be81e91cb95e4ff4af9;p=linux.git drm/i915/display: fix phy name Pass the correct variable as argument. Signed-off-by: Lucas De Marchi Reviewed-by: Clinton Taylor Link: https://patchwork.freedesktop.org/patch/msgid/20191217230529.25092-3-lucas.demarchi@intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c index 9d2b7244f7caa..c9ba7d7f37878 100644 --- a/drivers/gpu/drm/i915/display/intel_ddi.c +++ b/drivers/gpu/drm/i915/display/intel_ddi.c @@ -3022,7 +3022,7 @@ static void icl_sanitize_port_clk_off(struct drm_i915_private *dev_priv, continue; DRM_NOTE("PHY %c is disabled/in DSI mode with an ungated DDI clock, gate it\n", - phy_name(port)); + phy_name(phy)); val |= icl_dpclka_cfgcr0_clk_off(dev_priv, phy); I915_WRITE(ICL_DPCLKA_CFGCR0, val); }