13 May, 2015
1 commit
-
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
Reviewed-by: Stephen Boyd
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1431334978.17783.4.camel@ingics.com
Signed-off-by: Thomas Gleixner
28 Aug, 2014
1 commit
-
It should be request_threaded_irq, not request_irq
[jkosina@suse.cz: not that it would matter, as both have the same
set of arguments anyway, but for sake of consistency ...]Signed-off-by: Emilio López
Signed-off-by: Jiri Kosina
09 Feb, 2014
1 commit
-
Some drivers use request_any_context_irq() but there isn't a
devm_* function for it. Add one so that these drivers don't need
to explicitly free the irq on driver detach.Signed-off-by: Stephen Boyd
Cc: linux-arm-kernel@lists.infradead.org
Cc: Dmitry Torokhov
Link: http://lkml.kernel.org/r/1388709460-19222-3-git-send-email-sboyd@codeaurora.org
Signed-off-by: Thomas Gleixner
26 Jul, 2011
1 commit
-
devres uses the pointer value as key after it's freed, which is safe but
triggers spurious use-after-free warnings on some static analysis tools.
Rearrange code to avoid such warnings.Signed-off-by: Maxin B. John
Reviewed-by: Rolf Eike Beer
Acked-by: Tejun Heo
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
11 Feb, 2010
1 commit
-
Fix the reference (in comment).
Signed-off-by: Jean Delvare
Signed-off-by: Jiri Kosina
05 Feb, 2010
1 commit
-
Signed-off-by: Baruch Siach
Signed-off-by: Jiri Kosina
24 Mar, 2009
1 commit
-
Some devices use devres_request_irq() for to install their interrupt
handler. Add support for threaded interrupts to devres as well.[tglx - simplified and adapted to latest threadirq version]
Signed-off-by: Arjan van de Ven
Signed-off-by: Thomas Gleixner
29 Apr, 2008
1 commit
-
Following an experimental deletion of the unnecessary directive
#include
from the header file , these files under kernel/ were exposed
as needing to include one of or , so explicit
includes were added where necessary.Signed-off-by: Robert P. J. Day
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds