[3/3] drm/i915/display: fix phy name
diff mbox series

Message ID 20191206071422.27138-3-lucas.demarchi@intel.com
State New
Headers show
Series
  • [1/3] drm/i915/display: move clk off sanitize to its own function
Related show

Commit Message

Lucas De Marchi Dec. 6, 2019, 7:14 a.m. UTC
Pass the correct variable as argument.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 drivers/gpu/drm/i915/display/intel_ddi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Clinton Taylor Dec. 11, 2019, 5:08 p.m. UTC | #1
On 12/5/19 11:14 PM, Lucas De Marchi wrote:
> Pass the correct variable as argument.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> ---
>   drivers/gpu/drm/i915/display/intel_ddi.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
> index 586a0019b9c7..f977bc9ca3c5 100644
> --- a/drivers/gpu/drm/i915/display/intel_ddi.c
> +++ b/drivers/gpu/drm/i915/display/intel_ddi.c
> @@ -3026,7 +3026,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);
>   	}


Reviewed-by: Clint Taylor


-Clint

Patch
diff mbox series

diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index 586a0019b9c7..f977bc9ca3c5 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -3026,7 +3026,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);
 	}