forked from Minki/linux
8e02f8581c
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> |
||
---|---|---|
.. | ||
at91_mci.c | ||
au1xmmc.c | ||
au1xmmc.h | ||
imxmmc.c | ||
imxmmc.h | ||
Kconfig | ||
Makefile | ||
mmc_block.c | ||
mmc_queue.c | ||
mmc_queue.h | ||
mmc_sysfs.c | ||
mmc.c | ||
mmc.h | ||
mmci.c | ||
mmci.h | ||
omap.c | ||
pxamci.c | ||
pxamci.h | ||
sdhci.c | ||
sdhci.h | ||
tifm_sd.c | ||
wbsd.c | ||
wbsd.h |