aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-05-11 17:02:58 +0800
committerSasha Levin <sasha.levin@oracle.com>2015-07-03 23:02:16 -0400
commitc1610d2cf12d7cab89cec2f1935e23f6ca0a5cb8 (patch)
tree5db7c236b6078f73961585b2ca461eb62f09d6e2 /sound
parentbc8298a3efa4cec6e109206ecb5fdeff08b58c1d (diff)
genirq: devres: Fix testing return value of request_any_context_irq()
[ Upstream commit 63781394c540dd9e666a6b21d70b64dd52bce76e ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions