aboutsummaryrefslogtreecommitdiff
path: root/kernel/irq/pm.c
diff options
context:
space:
mode:
authorGravatar Axel Lin <axel.lin@ingics.com> 2015-05-11 17:02:58 +0800
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2015-05-13 10:47:37 +0200
commit63781394c540dd9e666a6b21d70b64dd52bce76e (patch)
tree9a4fb9ac620df0aa9c79c145a0963ca2eaf41ede /kernel/irq/pm.c
parentirqchip: vf610: Fix of_io_request_and_map error check (diff)
downloadlinux-63781394c540dd9e666a6b21d70b64dd52bce76e.tar.gz
linux-63781394c540dd9e666a6b21d70b64dd52bce76e.tar.bz2
linux-63781394c540dd9e666a6b21d70b64dd52bce76e.zip
genirq: devres: Fix testing return value of request_any_context_irq()
request_any_context_irq() returns a negative value on failure. It returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED on success. So fix testing return value of request_any_context_irq(). Also fixup the return value of devm_request_any_context_irq() to make it consistent with request_any_context_irq(). Fixes: 0668d3065128 ("genirq: Add devm_request_any_context_irq()") Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/1431334978.17783.4.camel@ingics.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions