Re: [PATCH v2] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-10-05 Thread Rafael J. Wysocki
On Wednesday, October 05, 2011, Barry Song wrote: 在 2011-10-5 上午6:30,Rafael J. Wysocki r...@sisk.pl写道: On Thursday, September 29, 2011, Barry Song wrote: From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For example, drivers/mmc/host/sdhci.c

[PATCH v2] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Barry Song
From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For example, drivers/mmc/host/sdhci.c launchs a 200ms delayed work to detect mmc partitions then add disk. we do have wait_for_device_probe and scsi_complete_async_scans before calling swsusp_check, but it