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