diff options
author | Roger Tseng <rogerable@realtek.com> | 2015-01-21 11:09:21 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-22 17:08:02 +0100 |
commit | bb400d2120bd253d73661c452b18485d2d5b42dd (patch) | |
tree | 686ede6c3d3404102019913178d4a0a501c299ec /drivers/mmc | |
parent | mfd: devicetree: Add bindings for DA9063 (diff) | |
download | linux-bb400d2120bd253d73661c452b18485d2d5b42dd.tar.xz linux-bb400d2120bd253d73661c452b18485d2d5b42dd.zip |
mfd: rtsx_usb: Defer autosuspend while card exists
A card insertion happens after the lastest polling before reader is
suspended may never have a chance to be detected. Under current 1-HZ
polling interval setting in mmc_core, the worst case of such
undetectablility is about 1 second.
To further reduce the undetectability, detect card slot again in suspend
method and defer the autosuspend if the slot is loaded. The default 2
second autosuspend delay of USB subsystem should let the next polling
detects the card.
Signed-off-by: Roger Tseng <rogerable@realtek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions