drm/i915: Fix incorrect comment
authorDavid Weinehall <david.weinehall@linux.intel.com>
Fri, 9 Feb 2018 13:07:55 +0000 (15:07 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 13 Feb 2018 06:46:30 +0000 (22:46 -0800)
While the comment singles out Port A or B, the code says Port A or *D*.
Looking at the history it seems that the comment was added after the code,
so it seems likely that the code is correct, not the comment.

CC: Jani Nikula <jani.nikula@intel.com>
CC: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: David Weinehall <david.weinehall@linux.intel.com>
Reviewed-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180209130755.11893-1-david.weinehall@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c

index a2eeede525e051992efa80dfccb0559c8e3ed116..1868f73f730c9c151e050befff3e5f0506b9ed8d 100644 (file)
@@ -256,7 +256,7 @@ static int cnl_max_source_rate(struct intel_dp *intel_dp)
        if (IS_CNL_WITH_PORT_F(dev_priv))
                return 810000;
 
-       /* For other SKUs, max rate on ports A and B is 5.4G */
+       /* For other SKUs, max rate on ports A and D is 5.4G */
        if (port == PORT_A || port == PORT_D)
                return 540000;