commit | d274cabf839cc347931f6966086f5111ed818625 | [log] [tgz] |
---|---|---|
author | Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> | Tue Oct 01 16:16:02 2024 +0300 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Oct 11 09:27:57 2024 +0200 |
tree | e18dd29da7dfcdca17b1ee4478d31e17ea032888 | |
parent | 7455bf50d2bd570696318b6263d85d0cb4db20cd [diff] |
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: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>