summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDave Müller <dave.mueller@gmx.ch>2010-06-04 16:39:59 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-13 13:19:52 -0700
commitf403905d43dd780060cb4d2334e0c79c8c8f8bb0 (patch)
tree414e753cd99f1e6bf438da90c5eee9de7db0a3bd /drivers
parentc3d0780019022082d59759d4e162a22b5d437efc (diff)
drm/i915: Use RSEN instead of HTPLG for tfp410 monitor detection.
commit f458823b864c6def488f951a79986fa205aba4f1 upstream. Presence detection of a digital monitor seems not to be reliable using the HTPLG bit. Dave Müller <dave.mueller@gmx.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/dvo_tfp410.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/dvo_tfp410.c b/drivers/gpu/drm/i915/dvo_tfp410.c
index 9ecc907384ec..16dce8479e7f 100644
--- a/drivers/gpu/drm/i915/dvo_tfp410.c
+++ b/drivers/gpu/drm/i915/dvo_tfp410.c
@@ -214,7 +214,7 @@ static enum drm_connector_status tfp410_detect(struct intel_dvo_device *dvo)
uint8_t ctl2;
if (tfp410_readb(dvo, TFP410_CTL_2, &ctl2)) {
- if (ctl2 & TFP410_CTL_2_HTPLG)
+ if (ctl2 & TFP410_CTL_2_RSEN)
ret = connector_status_connected;
else
ret = connector_status_disconnected;