summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorDavid Weinehall2018-02-09 14:07:55 +0100
committerRodrigo Vivi2018-02-13 07:46:30 +0100
commit3758d96808b9942de9272079d5a24c6c0d2b6c7a (patch)
tree15ab546e1c72773fc4e7cc3e7fae815acdced1b9 /drivers/gpu/drm/i915/intel_dp.c
parentdrm/i915: Replace open-coded memset_p() (diff)
downloadkernel-qcow2-linux-3758d96808b9942de9272079d5a24c6c0d2b6c7a.tar.gz
kernel-qcow2-linux-3758d96808b9942de9272079d5a24c6c0d2b6c7a.tar.xz
kernel-qcow2-linux-3758d96808b9942de9272079d5a24c6c0d2b6c7a.zip
drm/i915: Fix incorrect comment
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index a2eeede525e0..1868f73f730c 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -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;