Skip to content

Commit

Permalink
gma500: udelay(20000) it too long again
Browse files Browse the repository at this point in the history
so replace it with mdelay(20).

Fixes build error:

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

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Stephen Rothwell authored and Linus Torvalds committed Jul 26, 2011
1 parent 9c646cf commit 243dd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/gma500/mrst_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 243dd28

Please sign in to comment.