Re: [PATCH] at91_mci: use generic GPIO calls

2008-02-07 Thread Pierre Ossman
On Mon, 04 Feb 2008 18:12:48 +0100 Nicolas Ferre <[EMAIL PROTECTED]> wrote: > From: David Brownell <[EMAIL PROTECTED]> > > Update the AT91 MMC driver to use the generic GPIO calls instead of the > AT91-specific calls; and to request (and release) those GPIO signals. > > That required updating th

Re: [PATCH] at91_mci: use generic GPIO calls

2008-02-05 Thread David Brownell
On Tuesday 05 February 2008, Marc Pignat wrote: > Hi all! > > > /* > > @@ -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_

Re: [PATCH] at91_mci: use generic GPIO calls

2008-02-05 Thread Marc Pignat
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)) > +

[PATCH] at91_mci: use generic GPIO calls

2008-02-04 Thread Nicolas Ferre
From: David Brownell <[EMAIL PROTECTED]> Update the AT91 MMC driver to use the generic GPIO calls instead of the AT91-specific calls; and to request (and release) those GPIO signals. That required updating the probe() fault cleanup codepaths. Now there is a single sequence for freeing resources