linux/drivers/mmc
Alex Dubov 8e02f8581c tifm_sd: restructure initialization, removal and command handling
In order to support correct suspend and resume several changes were needed:
1. Switch from work_struct to tasklet for command handling. When device
suspend is called workqueues are already frozen and can not be used.
2. Separate host initialization code from driver's probe and don't rely
on interrupts for host initialization. This, in turn, addresses two
problems:
 a) Resume needs to re-initialize the host, but can not assume that
    device interrupts were already re-armed.
 b) Previously, probe will return successfully before really knowing
    the state of the host, as host interrupts were not armed in time.
    Now it uses polling to determine the real host state before returning.
3. Separate termination code from driver's remove. Termination may be caused
by resume, if media changed type or became unavailable during suspend.

Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2007-02-04 20:54:07 +01:00
..
at91_mci.c
au1xmmc.c mmc: au1xmmc: return errors for unknown response types 2007-02-04 20:54:06 +01:00
au1xmmc.h
imxmmc.c mmc: Correct definition of R6 2007-01-15 06:44:03 +01:00
imxmmc.h
Kconfig
Makefile
mmc_block.c mmc: Add support for SDHC cards 2007-02-04 20:54:07 +01:00
mmc_queue.c
mmc_queue.h
mmc_sysfs.c mmc: let host be parent of cards 2007-02-04 20:54:06 +01:00
mmc.c mmc: Add support for SDHC cards 2007-02-04 20:54:07 +01:00
mmc.h
mmci.c [ARM] Fix potential MMCI bug 2007-01-08 19:49:51 +00:00
mmci.h
omap.c mmc: Correct definition of R6 2007-01-15 06:44:03 +01:00
pxamci.c mmc: Correct definition of R6 2007-01-15 06:44:03 +01:00
pxamci.h
sdhci.c mmc: Power quirk for ENE controllers 2007-02-04 20:54:06 +01:00
sdhci.h
tifm_sd.c tifm_sd: restructure initialization, removal and command handling 2007-02-04 20:54:07 +01:00
wbsd.c
wbsd.h