]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix reassignment of variable "intel_dp->DP"
authorXu, Anhua <anhua.xu@intel.com>
Tue, 21 Aug 2012 03:06:02 +0000 (03:06 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Aug 2012 12:34:36 +0000 (14:34 +0200)
commit9c8ff76d5aae162421c72d7c30c5c50668153611
tree592c5a5473a9b913a641176587fc1b31fc811a8e
parent34e2eefb07a3f9b8a05db645b15835bad898ca7f
drm/i915: fix reassignment of variable "intel_dp->DP"

In intel_dp_mode_set we OR in the exact same bits twice at the same
spot. Kill one of the redundant assignments.

This little regression was introduced by:
commit 5c01eb13465875a281d88db86969f17927ba48a0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 1 19:54:11 2011 -0700

    drm/i915: Treat PCH eDP like DP in most places

PCH eDP has many of the same needs as regular PCH DP connections,
including the DP_CTl bit settings, the TRANS_DP_CTL register.

The reachable tag for this commit is: v3.1-5461-g417e822

Signed-off-by: Anhua Xu <anhua.xu@intel.com>
[danvet: Improved the commit message somewhat and ensured the diff is
clearer.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c