Files
ubports_kernel_google_msm/drivers
David Brownell 6e996ee8e7 at91_mci: use generic GPIO calls
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, in reverse order of their
allocation.  Also that code uses use dev_*() for messaging, and has less
abuse of KERN_ERR.

Likewise with updating remove() cleanup.  This had to free the GPIOs,
and while adding that code I noticed and fixed two other problems:  it
was poking at a workqueue owned by the mmc core; and in one (rare)
case would try freeing an IRQ that it didn't allocate.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-02-08 09:02:47 +01:00
..
2008-02-05 09:44:22 -08:00
2008-02-06 10:41:01 -08:00
2008-02-05 09:44:23 -08:00
2008-02-03 17:12:34 +02:00
2008-02-06 10:41:15 -08:00
2008-02-05 09:44:13 -08:00
2008-02-04 23:50:03 +11:00
2008-02-06 10:41:02 -08:00
2008-02-03 17:21:01 +02:00
2008-02-06 10:41:10 -08:00
2008-02-08 09:02:47 +01:00
2008-02-06 10:41:01 -08:00
2008-02-06 10:41:08 -08:00
2008-02-03 17:30:25 +02:00
2008-02-06 10:41:07 -08:00
2008-02-06 10:41:15 -08:00
2008-02-05 09:44:12 -08:00
2008-02-05 09:44:12 -08:00