diff options
Diffstat (limited to 'events.c')
-rw-r--r-- | events.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -126,6 +126,10 @@ static void events_dispatch(struct events *events, const fd_set *rfds, if (event->type == OMAP3_ISP_EVENT_EXCEPTION && FD_ISSET(event->fd, efds)) event->callback(event->priv); + + /* If the callback stopped events processing, we're done. */ + if (events->done) + break; } } |