Skip to content

Commit

Permalink
drm/i915: s/mdelay/msleep/ in the sdvo detect function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Vetter committed May 31, 2012
1 parent 61e9653 commit 6c98237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_sdvo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
mdelay(30);
msleep(30);

if (!intel_sdvo_read_response(intel_sdvo, &response, 2))
return connector_status_unknown;
Expand Down

0 comments on commit 6c98237

Please sign in to comment.