[PATCH] drm/bridge: ti-tfp410: Update drm_connector_init_with_ddc() error message

Neil Armstrong narmstrong at baylibre.com
Wed Aug 14 09:50:51 UTC 2019


On 14/08/2019 11:23, Geert Uytterhoeven wrote:
> The code was changed to call drm_connector_init_with_ddc() instead of
> drm_connector_init(), but the corresponding error message was not
> updated.
> 
> Fixes: cfb444552926989f ("drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory")
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---
>  drivers/gpu/drm/bridge/ti-tfp410.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c
> index 61cc2354ef1bfe7e..be6c99cac41953e9 100644
> --- a/drivers/gpu/drm/bridge/ti-tfp410.c
> +++ b/drivers/gpu/drm/bridge/ti-tfp410.c
> @@ -139,7 +139,8 @@ static int tfp410_attach(struct drm_bridge *bridge)
>  					  dvi->connector_type,
>  					  dvi->ddc);
>  	if (ret) {
> -		dev_err(dvi->dev, "drm_connector_init() failed: %d\n", ret);
> +		dev_err(dvi->dev, "drm_connector_init_with_ddc() failed: %d\n",
> +			ret);
>  		return ret;
>  	}
>  
> 

Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>


More information about the dri-devel mailing list