From: Stephen Rothwell Date: Mon, 25 Jul 2011 05:18:44 +0000 (+1000) Subject: gma500: udelay(20000) it too long again X-Git-Tag: firefly_0821_release~3680^2~4913 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=243dd2809a5edd2e0e3e62781083aa44049af37d;p=firefly-linux-kernel-4.4.55.git 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: Stephen Rothwell Signed-off-by: Linus Torvalds --- diff --git a/drivers/staging/gma500/mrst_hdmi.c b/drivers/staging/gma500/mrst_hdmi.c index d6a517971ba8..e66607eb3d3e 100644 --- a/drivers/staging/gma500/mrst_hdmi.c +++ b/drivers/staging/gma500/mrst_hdmi.c @@ -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)