diff options
| author | Karthikeyan Periasamy <kperiasa@codeaurora.org> | 2016-11-18 17:30:16 -0800 |
|---|---|---|
| committer | Karthikeyan Periasamy <kperiasa@codeaurora.org> | 2016-11-21 11:24:22 -0800 |
| commit | 0ab1e80f54eda4f1b3b993b9837ec114562ffd48 (patch) | |
| tree | d23d7a2541b8e9d52917baacdc076f7722fed6b1 /scripts/gcc-wrapper.py | |
| parent | 61f26e3aa5eee4fd8947ecca1cc45b5634e146b8 (diff) | |
msm: vidc: fix the interrupt miss issue from video hardware
enable_irq() called before processing responses in work handler
which would lead to miss interrupt from video hardware sometimes.
An interrupt from video h/w will queue the work to work handler
but if work is already running the new work is not posted.
work handler has two parts, one, read all the messages from video h/w,
two, process the messages. queue work while processing messages
will miss reading the new messages from video h/w because
the queue work (as a result of interrupt from video h/w) will not
actually queue the work as work handler already running. Fix the
issue by enabling irq after processing all the responses to
makesure interrupt coming from video h/w after work handler
completed processing the messages.
CRs-Fixed: 1086284
Change-Id: Id158e5c6d89fc8b761d8cfe92afbf3592877c556
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
