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

Commit 243dd280 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds
Browse files

gma500: udelay(20000) it too long again



so replace it with mdelay(20).

Fixes build error:

  ERROR: "__bad_udelay" [drivers/staging/gma500/psb_gfx.ko] undefined!

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9c646cfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ static void wait_for_vblank(struct drm_device *dev)
{
	/* FIXME: Can we do this as a sleep ? */
	/* Wait for 20ms, i.e. one cycle at 50hz. */
	udelay(20000);
	mdelay(20);
}

static void scu_busy_loop(void *scu_base)