drm/bridge: tc358767: Fix comment in tc_edp_mode_valid
authorMarek Vasut <marex@denx.de>
Fri, 31 May 2024 20:32:01 +0000 (22:32 +0200)
committerRobert Foss <rfoss@kernel.org>
Mon, 10 Jun 2024 14:18:06 +0000 (16:18 +0200)
Fix comment copy-paste error in tc_edp_mode_valid(), this function
is validating DP/eDP clock, not DPI clock frequency. Update the
comment to match. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240531203213.277421-1-marex@denx.de
drivers/gpu/drm/bridge/tc358767.c

index fe2b93546eaef94ffd3c42ba5d297cae48a5815b..32409f4aef6b9c7bab59f93d89f898f7642e7a95 100644 (file)
@@ -1646,7 +1646,7 @@ tc_edp_mode_valid(struct drm_bridge *bridge,
        u32 req, avail;
        u32 bits_per_pixel = 24;
 
-       /* DPI interface clock limitation: upto 154 MHz */
+       /* DPI->(e)DP interface clock limitation: up to 154 MHz */
        if (mode->clock > 154000)
                return MODE_CLOCK_HIGH;