lineage_android_kernel_sams.../kernel/irq
Ben Hutchings f95bc0f79d genirq: Fix can_request_irq() for IRQs without an action
commit 2779db8d37d4b542d9ca2575f5f178dbeaca6c86 upstream.

Commit 02725e7471 ('genirq: Use irq_get/put functions'),
inadvertently changed can_request_irq() to return 0 for IRQs that have
no action.  This causes pcibios_lookup_irq() to select only IRQs that
already have an action with IRQF_SHARED set, or to fail if there are
none.  Change can_request_irq() to return 1 for IRQs that have no
action (if the first two conditions are met).

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Tested-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> (against 3.2)
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: 709647@bugs.debian.org
Link: http://bugs.debian.org/709647
Link: http://lkml.kernel.org/r/1372383630.23847.40.camel@deadeye.wl.decadent.org.uk
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-21 18:19:01 -07:00
..
Kconfig irq_domain: correct the debugfs file name 2012-04-10 22:39:17 -06:00
Makefile
autoprobe.c genirq: Handle pending irqs in irq_startup() 2012-02-15 11:56:59 +01:00
chip.c genirq: export handle_edge_irq() and irq_to_desc() 2012-05-15 08:10:07 -07:00
debug.h irq: hide debug macros so they don't collide with others. 2012-04-23 12:30:03 -04:00
devres.c
dummychip.c
generic-chip.c
handle.c random: make 'add_interrupt_randomness()' do something sane 2012-08-15 08:10:10 -07:00
internals.h Merge branch 'linus' into irq/core 2012-03-13 16:35:16 +01:00
irqdesc.c genirq: export handle_edge_irq() and irq_to_desc() 2012-05-15 08:10:07 -07:00
irqdomain.c irq_domain: fix type mismatch in debugfs output format 2012-04-12 16:25:48 -06:00
manage.c genirq: Fix can_request_irq() for IRQs without an action 2013-07-21 18:19:01 -07:00
migration.c genirq: Adjust irq thread affinity on IRQ_SET_MASK_OK_NOCOPY return value 2012-03-30 23:13:46 +02:00
pm.c
proc.c
resend.c
settings.h
spurious.c genirq: Avoid deadlock in spurious handling 2013-02-28 06:58:58 -08:00