Skip to content
Commit d274cabf authored by Laurentiu Mihalcea's avatar Laurentiu Mihalcea Committed by Carles Cufí
Browse files

drivers: intc: irqstr: add reference count for IRQs



Currently, shared interrupts pose a big problem because
irq_disable() doesn't keep track of the number of clients
using that interrupt line. As such, add a reference count
mechanism which will stop the interrupt from being disabled
if there's still clients using it.

Signed-off-by: default avatarLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
parent 7455bf50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment