diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-03-08 11:59:58 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-03-12 19:00:24 +0400 |
commit | c1bacbae8192dd2a9ebadd22d793b68054f6c6e5 (patch) | |
tree | a2d402e83d75c77a390e47c0150078230bc0101a /arch/arm/mm/mmu.c | |
parent | fa389e220254c69ffae0d403eac4146171062d08 (diff) | |
download | linux-c1bacbae8192dd2a9ebadd22d793b68054f6c6e5.tar.xz |
genirq: Provide irq_request/release_resources chip callbacks
For certain irq types, e.g. gpios, it's necessary to request resources
before starting up the irq.
This might fail so we cannot use the irq_startup() callback because we
might call the irq_set_type() callback before that which does not make
sense when the resource is not available. Calling irq_startup() before
irq_set_type() can lead to spurious interrupts which is not desired
either.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1403080857160.18573@ionos.tec.linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/mm/mmu.c')
0 files changed, 0 insertions, 0 deletions