Re: [PATCH] mmc: sdhci-s3c: pass IRQF ONESHOT to request threaded irq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 03, 2012 at 03:29:55PM +0200, Heiko St??bner wrote:

>  		    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);

Separate issue but shouldn't this be request_any_context_irq()?  Most
GPIOs work just fine in atomic context, though I don't know if the MMC
core limits things.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux