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)
committerChris Ball <cjb@laptop.org>
Thu, 17 May 2012 14:28:27 +0000 (10:28 -0400)
commitdb35f83ef47b5f180f2670d11f5f93992314ea09
tree99182be25dbbad1baf75f6c5aaf8c037e2fd3410
parenta5075eb94837edde6833fd5e0277fc2370cf8b39
mmc: omap_hsmmc: pass IRQF_ONESHOT to request_threaded_irq

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c