diff options
author | Federico Vaga <[email protected]> | 2019-02-14 09:51:31 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2019-02-14 17:55:30 +0100 |
commit | 2dc9834688ae3ba057d46e60525a11ec146ae3df (patch) | |
tree | 71578e34cb22aa59ce1da25fb91d01fd9b9814af /scripts/documentation-file-ref-check | |
parent | e7663ef5ae0f02e3b902eb0305dec981333eb3e1 (diff) |
i2c: ocores: do not handle IRQ if IF is not set
If the Interrupt Flag (IF) is not set, we should not handle the IRQ:
- the line can be shared with other devices
- it can be a spurious interrupt
To avoid reading twice the status register, the ocores_process() function
expects it to be read by the caller.
Signed-off-by: Federico Vaga <[email protected]>
Acked-by: Peter Korsgaard <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions