Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405282205.EU7NUoeQ-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202405282248.U2lhPvCK-lkp@intel.com/
Fixes: ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector")
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240528151056.2104153-1-mripard@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>

+2 -3
+2 -3
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
··· 209 209 sun4i_hdmi_connector_mode_valid(struct drm_connector *connector, 210 210 struct drm_display_mode *mode) 211 211 { 212 - unsigned long long rate = 213 - drm_connector_hdmi_compute_mode_clock(mode, 8, 214 - HDMI_COLORSPACE_RGB); 212 + unsigned long long rate = drm_hdmi_compute_mode_clock(mode, 8, 213 + HDMI_COLORSPACE_RGB); 215 214 216 215 return sun4i_hdmi_connector_clock_valid(connector, mode, rate); 217 216 }