]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: omap_hsmmc: pass IRQF_ONESHOT to request_threaded_irq
authorMing Lei <ming.lei@canonical.com>
Thu, 17 May 2012 02:27:12 +0000 (10:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:15:53 +0000 (15:15 +0800)
commit83f5ec1fcfbaca44ac717f790170d66d3750e3c3
treecc2bd885ae7d530083f825edbce08150691799ab
parent9011fd18ebcfcb648761afb3e23bf55e55bc038c
mmc: omap_hsmmc: pass IRQF_ONESHOT to request_threaded_irq

commit db35f83ef47b5f180f2670d11f5f93992314ea09 upstream.

The flag of IRQF_ONESHOT should be passed to request_threaded_irq,
otherwise the following failure message should be dumped because
hardware handler is defined as NULL:

[    3.383483] genirq: Threaded irq requested with handler=NULL and
!ONESHOT for irq 368
[    3.392730] omap_hsmmc: probe of omap_hsmmc.0 failed with error -22

The patch fixes one kernel hang bug which is caused by mmc card
probe failure and root device can't be brought up.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Acked-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/omap_hsmmc.c