mmc: cd-gpio: pass IRQF_ONESHOT to request_threaded_irq()
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 11 Jul 2012 02:54:11 +0000 (22:54 -0400)
committerChris Ball <cjb@laptop.org>
Wed, 11 Jul 2012 03:03:57 +0000 (23:03 -0400)
commit623b51fc8642fd3c795fa9903be3adaa537ad9c5
tree50d95af51ae3f8533fa9a6eabc8f3f95f8fff7df
parent87f761b6c0c4c6aa8072734a574b4049a9b8f9d4
mmc: cd-gpio: pass IRQF_ONESHOT to request_threaded_irq()

Fix a boot regression on Mackerel boards with sh_mobile_sdhi
in existing kernels causing:

genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq XXX

caused by 1c6c6952 (genirq: Reject bogus threaded irq requests).

This is backported from Guennadi's patch:
"mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions"

Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/cd-gpio.c