drm/sun4i: Fix compilation error
Maxime Ripard
maintainerPATCH 1/1 drm/sun4i: Fix compilation error
Commit ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.
--- drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c +2 -3
@@ -207,13 +207,12 @@ static int sun4i_hdmi_connector_atomic_check(struct drm_connector *connector,static enum drm_mode_status sun4i_hdmi_connector_mode_valid (struct drm_connector *connector,struct drm_display_mode *mode) { -unsigned long long rate = -drm_connector_hdmi_compute_mode_clock (mode,8 , -HDMI_COLORSPACE_RGB ); +unsigned long long rate =drm_hdmi_compute_mode_clock (mode,8 , +HDMI_COLORSPACE_RGB );return sun4i_hdmi_connector_clock_valid (connector, mode, rate); }static int sun4i_hdmi_get_modes (struct drm_connector *connector)
Signature · 1 line
2.45.0
Maxime Ripard <[email protected]> writes:
Hello Maxime,
Quoted 10 lines
Commit
ea64761a54a2("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.Reported-by kernel test robot <[email protected]>Fixes ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector")Signed-off-by Maxime Ripard <[email protected]>---
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Quoted 5 lines · Maxime Ripard
Commit
ea64761a54a2("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.
Applied to misc/kernel.git (drm-misc-next).
Thanks!
Maxime
Quoted 8 lines · Maxime Ripard
Quoted 5 lines · Maxime Ripard
Commit
ea64761a54a2("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.Applied to misc/kernel.git (drm-misc-next).
Just to note, I don't see this commit in drm-misc-next.
Quoted 4 lines
Thanks!
Maxime
Signature · 2 lines
With best wishes Dmitry
Maxime Ripard
maintainerQuoted 11 lines · Dmitry Baryshkov
Quoted 8 lines · Maxime Ripard
Quoted 5 lines · Maxime Ripard
Commit
ea64761a54a2("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.Applied to misc/kernel.git (drm-misc-next).
Just to note, I don't see this commit in drm-misc-next.
Thanks for the notice, I forgot to push it indeed.
It's now fixed
Maxime