projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b4aa5
)
OMAPDSS: DISPC: Use msleep instead of blocking mdelay
author
Jassi Brar
<jaswinder.singh@linaro.org>
Tue, 24 Jul 2012 14:03:55 +0000
(19:33 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 10 Aug 2012 12:48:28 +0000
(15:48 +0300)
We have no reason to block in the error handler workqueue, so use msleep.
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/dss/dispc.c
b/drivers/video/omap2/dss/dispc.c
index 5b289c5f695bdd7f9cb888a70dbdf7da909b1df2..ff52702dfd2ff73d27a27b32c4bf85e1553c781d 100644
(file)
--- a/
drivers/video/omap2/dss/dispc.c
+++ b/
drivers/video/omap2/dss/dispc.c
@@
-3491,7
+3491,7
@@
static void dispc_error_worker(struct work_struct *work)
ovl->name);
dispc_ovl_enable(ovl->id, false);
dispc_mgr_go(ovl->manager->id);
- m
delay
(50);
+ m
sleep
(50);
}
}
@@
-3523,7
+3523,7
@@
static void dispc_error_worker(struct work_struct *work)
}
dispc_mgr_go(mgr->id);
- m
delay
(50);
+ m
sleep
(50);
if (enable)
dssdev->driver->enable(dssdev);