Thread (14 messages) 14 messages, 2 authors, 2012-10-22

Re: [PATCH 9/9] OMAPDSS: DISPC: cleanup lcd/digit enable/disable

flat view

From: Tomi Valkeinen <hidden>
Date: 2012-10-18 10:09:40
Also in: linux-omap

On 2012-10-17 17:38, Archit Taneja wrote:
Hi,

On Wednesday 17 October 2012 04:50 PM, Tomi Valkeinen wrote:
quoted
-        if (r)
-            DSSERR("failed to register FRAMEDONE isr\n");
+    /* if we couldn't register for framedone, just sleep and exit */
+    if (r) {
+        msleep(200);
We sleep for 200 ms if we fail to register for framedone. But we just
wait for 100ms for FRAMEDONE to occur. It seems a bit incorrect, both
should be kept the same, shouldn't they?
They are just arbitrary numbers, but you're right, it makes more sense
to have same numbers for both.
quoted
-    r = omap_dispc_register_isr(dispc_disable_isr,
&frame_done_completion,
+    r = omap_dispc_register_isr(dispc_mgr_disable_isr, &framedone_compl,
              irq_mask);
      if (r)
          DSSERR("failed to register %x isr\n", irq_mask);
We should probably sleep here too as we did for LCD above.
Yep, good point. I'll add that.

 Tomi


Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help