diff options
author | Roger Tseng <rogerable@realtek.com> | 2015-01-21 18:09:21 +0800 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-22 16:08:02 +0000 |
commit | bb400d2120bd253d73661c452b18485d2d5b42dd (patch) | |
tree | 686ede6c3d3404102019913178d4a0a501c299ec /COPYING | |
parent | c7f15d43a5c59c6cedb438e02032060558303589 (diff) | |
download | linux-stable-bb400d2120bd253d73661c452b18485d2d5b42dd.tar.gz linux-stable-bb400d2120bd253d73661c452b18485d2d5b42dd.tar.bz2 linux-stable-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 'COPYING')
0 files changed, 0 insertions, 0 deletions