Thread (1 message) 1 message, 1 author, 2017-01-20

[PATCH v3 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2017-01-20 07:50:53
Also in: linux-spi, lkml

Jan Kiszka [off-list ref] writes:
When using the a device with edge-triggered interrupts, such as MSIs,
the interrupt handler has to ensure that there is a point in time during
its execution where all interrupts sources are silent so that a new
event can trigger a new interrupt again.

This is achieved here by disabling all interrupt sources for a moment
before processing them according to the status register. If a new
interrupt should have arrived after we read the status, it will now
re-trigger the interrupt, even in edge mode.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>

Cheers.

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