summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-12 14:57:07 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-12 14:57:07 -0700
commit79b7a588bb685459d51527e7ac6877696fe392a3 (patch)
treed9c8c2a206b16014befff1d5df33688f8082934d
parent9a39cb9b9a51516abcaf795fa6e38cbeb22d7db9 (diff)
Oops, forgot to push the msleep() in the hotplug test. Wouldn't want to
spin in the kernel for a whole second w/o it...
-rw-r--r--linux-core/intel_crt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/intel_crt.c b/linux-core/intel_crt.c
index 86eaff54..cdfb314f 100644
--- a/linux-core/intel_crt.c
+++ b/linux-core/intel_crt.c
@@ -152,6 +152,7 @@ static bool intel_crt_detect_hotplug(struct drm_output *output)
do {
if (!(I915_READ(PORT_HOTPLUG_EN) & CRT_HOTPLUG_FORCE_DETECT))
break;
+ msleep(1);
} while (time_after(timeout, jiffies));
if ((I915_READ(PORT_HOTPLUG_STAT) & CRT_HOTPLUG_MONITOR_MASK) ==