From: Javier Martinez Canillas Date: Wed, 20 May 2026 14:43:40 +0000 (+0200) Subject: drm/bridge: inno-hdmi: Use the common TMDS char rate constant X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0d321c4ad9405c236ddae2ce4ab4d58c50ebdb74;p=thirdparty%2Fkernel%2Flinux.git drm/bridge: inno-hdmi: Use the common TMDS char rate constant Replace the driver local INNO_HDMI_MIN_TMDS_CLOCK define with the shared constant defined in the header. Suggested-by: Maxime Ripard Reviewed-by: Heiko Stuebner Reviewed-by: Maxime Ripard Link: https://patch.msgid.link/20260520144424.1633354-5-javierm@redhat.com Signed-off-by: Javier Martinez Canillas --- diff --git a/drivers/gpu/drm/bridge/inno-hdmi.c b/drivers/gpu/drm/bridge/inno-hdmi.c index 1091af29ad8f..5fa533a4eb34 100644 --- a/drivers/gpu/drm/bridge/inno-hdmi.c +++ b/drivers/gpu/drm/bridge/inno-hdmi.c @@ -31,8 +31,6 @@ #include #include -#define INNO_HDMI_MIN_TMDS_CLOCK 25000000U - #define DDC_SEGMENT_ADDR 0x30 #define HDMI_SCL_RATE (100 * 1000) @@ -820,7 +818,7 @@ static enum drm_mode_status inno_hdmi_bridge_mode_valid(struct drm_bridge *bridg mpixelclk = mode->clock * 1000; - if (mpixelclk < INNO_HDMI_MIN_TMDS_CLOCK) + if (mpixelclk < HDMI_TMDS_CHAR_RATE_MIN_HZ) return MODE_CLOCK_LOW; if (inno_hdmi_find_phy_config(hdmi, mpixelclk) < 0)