android_kernel_xiaomi_sdm845/drivers/mmc/host
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
..
at91_mci.c at91_mci: use generic GPIO calls 2008-02-08 09:02:47 +01:00
au1xmmc.c scatterlist fallout: mmc 2007-10-27 22:18:12 -07:00
au1xmmc.h
imxmmc.c Correction of "Update drivers to use sg helpers" patch for IMXMMC driver 2007-10-29 09:18:04 +01:00
imxmmc.h
Kconfig mmc: remove sdhci and mmc_spi experimental markers 2008-02-08 09:02:46 +01:00
Makefile mmc: Disabler for Ricoh MMC controller 2007-10-03 18:40:05 +02:00
mmc_spi.c spi: use simplified spi_sync() calling convention 2007-12-05 09:21:19 -08:00
mmci.c mmc: sg fallout 2007-10-24 09:01:09 +02:00
mmci.h mmc: fix sg->page fallout 2007-10-23 20:37:24 +02:00
omap.c i2c/tps65010: move header to <linux/i2c/...> 2008-01-27 18:14:49 +01:00
pxamci.c [ARM] 4711/1: pxa: mmc: move DMA specific code to platform layer 2008-01-26 15:07:52 +00:00
pxamci.h [ARM] pxa: mmc: add 1st host controller support for pxa3xx 2008-01-26 15:07:53 +00:00
ricoh_mmc.c mmc: Handle suspend/resume in Ricoh MMC disabler 2008-02-08 09:02:46 +01:00
sdhci.c sdhci: add num index for multi controllers case 2008-02-08 09:02:47 +01:00
sdhci.h sdhci: add num index for multi controllers case 2008-02-08 09:02:47 +01:00
tifm_sd.c tifm_sd: handle non-power-of-2 block sizes 2007-11-21 18:42:45 +01:00
wbsd.c mmc: sg fallout 2007-10-24 09:01:09 +02:00
wbsd.h mmc: update header file paths 2007-07-26 01:53:31 +02:00