Hi all!

On Monday 04 February 2008, Nicolas Ferre wrote:
> From: David Brownell <[EMAIL PROTECTED]>
...
>  /*
> @@ -946,9 +986,10 @@ static int __exit at91_mci_remove(struct
>       host = mmc_priv(mmc);
>  
>       if (host->board->det_pin) {
> +             if (device_can_wakeup(&pdev->dev))
> +                     free_irq(gpio_to_irq(host->board->det_pin), host);
Seems strange to use device_can_wakeup(&pdev->dev) as
have_we_requested_this_irq(gpio_to_irq(host->board->det_pin))... but seems to
work.

Regards

Marc
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to