Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 580982d3 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Eric Anholt
Browse files

drm/i915: clean up udelay usage



udelay() of 20 milliseconds really ought to just use mdelay(), that avoids
the various wrap scenarios and also is more readable

Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 5ca58282
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -636,7 +636,7 @@ void
intel_wait_for_vblank(struct drm_device *dev)
{
	/* Wait for 20ms, i.e. one cycle at 50hz. */
	udelay(20000);
	mdelay(20);
}

static int