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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to