mmc: sdhci-s3c: pass IRQF ONESHOT to request threaded irq

A patch from »mmc: sdhci-s3c: pass IRQF ONESHOT to request threaded irq« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Sun, 3 Jun 2012 15:14:05 +0200

Commit-Message

Fix a boot regression 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). Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

drivers/mmc/host/sdhci-s3c.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Statistics

  • 1 lines added
  • 1 lines removed

Changes

------------------------- drivers/mmc/host/sdhci-s3c.c -------------------------
index f473d8b..460ddb5 100644
@@ -408,7 +408,7 @@ static void sdhci_s3c_setup_card_detect_gpio(struct sdhci_s3c *sc)
if (sc->ext_cd_irq &&
request_threaded_irq(sc->ext_cd_irq, NULL,
sdhci_s3c_gpio_card_detect_thread,
- IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
+ IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
dev_name(dev), sc) == 0) {
int status = gpio_get_value(sc->ext_cd_gpio);
if (pdata->ext_cd_gpio_invert)
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...