The comment related to the computation of maximum TMDS character rate refers to a non-existent caps->max_tmds_char_rate, a left-over from the early stages of development.
Update the statement to reference hdmi_funcs->supported_tmds_char_rate. While at it, replace the incorrect "determinate" with "determine" in the same comment block. Signed-off-by: Cristian Ciocaltea <[email protected]> --- drivers/gpu/drm/drm_connector.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index 355ba53cab6b..663b3072a1d0 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -618,13 +618,13 @@ int drmm_connector_hdmi_init(struct drm_device *dev, return ret; /* - * The supported HDMI version can be used to determinate the maximum + * The supported HDMI version can be used to determine the maximum * TMDS character rate allowed by the specification. Some controllers, * however, may support a lower rate than that version would imply. * - * A non-zero caps->max_tmds_char_rate lets drivers override this - * default with the actual controller capability. A value of zero keeps - * the limit inferred from supported_hdmi_ver. + * A non-zero hdmi_funcs->supported_tmds_char_rate lets drivers override + * this default with the actual controller capability. A value of zero + * keeps the limit inferred from supported_hdmi_ver. */ if (hdmi_funcs->supported_hdmi_ver >= HDMI_VERSION_2_0) connector->hdmi.max_tmds_char_rate = HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ; -- 2.56.0
