]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP: DSS2: DSI: Use system workqueue for delayed work instead of a private workqueue
authorArchit Taneja <archit@ti.com>
Mon, 16 May 2011 09:47:07 +0000 (15:17 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 16 May 2011 10:31:09 +0000 (13:31 +0300)
commitd87393c8737e4510216a75586b572a5afbe26179
tree2ba86202292057550cd8b3e12a1b9de5149b8ddb
parent9afd3cf99342113cbae96130b7d4d086169697ca
OMAP: DSS2: DSI: Use system workqueue for delayed work instead of a private workqueue

In the previous DSI driver design, a private workqueue was needed to prevent a
deadlock as explained in the commit : bf43d9c0c31c4f9620256d158c9d05ac298d0b75
. In the current design, the workqueue is only used for queueing delayed work in
the case where we don't get a FRAMEDONE interrupt for 250 milliseconds. It is
safe to remove the private workqueue amd use the system workqueue instead to
schedule the delayed work with the new design where the deadlock can't occur.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dsi.c