diff options
| author | Ezequiel Garcia <[email protected]> | 2019-05-02 22:00:45 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-05-28 16:23:15 +0000 |
| commit | 2b4116290c20707bd92b7afe9f03b32cb9f76167 (patch) | |
| tree | d3f2336ec137f53810a7c0f038e26b4ac77e6084 /drivers/media/platform/vimc/vimc-core.c | |
| parent | media: coda: Replace the threaded interrupt with a hard interrupt (diff) | |
| download | kernel-2b4116290c20707bd92b7afe9f03b32cb9f76167.tar.gz kernel-2b4116290c20707bd92b7afe9f03b32cb9f76167.zip | |
media: coda: Clear the interrupt reason
This commit clears the interrupt reason (INT_REASON) register
on the interrupt handler. Without this clearing, the CODA hardware
has been observed to get completely stalled on CODA980 variants,
requiring a pretty deep hardware reset.
The datasheet specifies that the INT_REASON register is set
by the CODA hardware, and should be cleared by the host.
While the CODA versions that are currently supported by this driver
don't seem to need this change, it's a really small change,
so it seems a wise thing to do to avoid hitting some
rare race-condition in the hardware.
Reviewed-by: Philipp Zabel <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions
