projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c646cf
)
gma500: udelay(20000) it too long again
author
Stephen Rothwell
<
[email protected]
>
Mon, 25 Jul 2011 05:18:44 +0000
(15:18 +1000)
committer
Linus Torvalds
<
[email protected]
>
Tue, 26 Jul 2011 18:55:14 +0000
(11:55 -0700)
so replace it with mdelay(20).
Fixes build error:
ERROR: "__bad_udelay" [drivers/staging/gma500/psb_gfx.ko] undefined!
Signed-off-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/staging/gma500/mrst_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/staging/gma500/mrst_hdmi.c
b/drivers/staging/gma500/mrst_hdmi.c
index d6a517971ba8de8f4e6e9087dbe2d6924acfb659..e66607eb3d3e99bd7347c6a84d9f8a3a1e746778 100644
(file)
--- 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(2000
0);
+
mdelay(2
0);
}
static void scu_busy_loop(void *scu_base)