diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2009-03-02 16:55:45 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2009-03-03 14:17:50 +0800 |
commit | 14bb61e0c2e28725a2f6167d3263649bc845be18 (patch) | |
tree | 3ad2eed33f80ed0d0f52a54bf616e6df443a9090 /src/i830_sdvo.c | |
parent | 42e34e90e2e4048b38481cab61cef46f932eada7 (diff) |
SDVO: only check digital monitor when EDID exists
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r-- | src/i830_sdvo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index 4b98a9ba..efdd6919 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -1548,7 +1548,7 @@ i830_sdvo_detect(xf86OutputPtr output) /* Check EDID in DVI-I case */ i830_sdvo_set_control_bus_switch(output, dev_priv->ddc_bus); edid_mon = xf86OutputGetEDID (output, intel_output->pDDCBus); - if (!edid_mon || !DIGITAL(edid_mon->features.input_type)) { + if (edid_mon && !DIGITAL(edid_mon->features.input_type)) { xfree(edid_mon); return XF86OutputStatusDisconnected; } |