projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e9653
)
drm/i915: s/mdelay/msleep/ in the sdvo detect function
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 24 May 2012 19:26:49 +0000
(21:26 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 31 May 2012 08:28:23 +0000
(10:28 +0200)
A 30 ms delay is simply way too big to waste cpu cycles on.
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_sdvo.c
b/drivers/gpu/drm/i915/intel_sdvo.c
index a1840f44941b2277eb42c16c7dc73cd43eb11f6c..ca3c6e128594030c6c85156065b6bcb320a666f3 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_sdvo.c
+++ b/
drivers/gpu/drm/i915/intel_sdvo.c
@@
-1371,7
+1371,7
@@
intel_sdvo_detect(struct drm_connector *connector, bool force)
/* add 30ms delay when the output type might be TV */
if (intel_sdvo->caps.output_flags & SDVO_TV_MASK)
- m
delay
(30);
+ m
sleep
(30);
if (!intel_sdvo_read_response(intel_sdvo, &response, 2))
return connector_status_unknown;