diff options
| author | Nicolas Pitre <[email protected]> | 2009-09-22 16:45:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-23 07:39:38 -0700 |
| commit | 17d33e14f7ffc05f8c81e4a3bdb9a8003a05dcce (patch) | |
| tree | fc5c75b7886cf6ac0af054fd68bb837c88e09dc5 /scripts/stackusage | |
| parent | d08ebeddfb3293fa4bdfca9c610daf1e8ec8b233 (diff) | |
mmc: core SDIO suspend/resume support
Currently, all SDIO cards are virtually removed upon a suspend, and
completely reprobed upon a resume. This adds the suspend and resume
methods to the SDIO bus driver so to be able to dispatch those events to
the actual SDIO function drivers for real suspend/resume instead.
All active functions on a card must have a driver with both a suspend and
a resume method though. Failing that, we fall back to the current
behavior of simply "removing" the card when suspending.
When resuming, we make sure the same card is still inserted by comparing
the vendor and product IDs. If there is a mismatch, or if there is simply
no card anymore in the slot, then the previous card is "removed" and the
new card is detected. This is further enhanced with the next patch.
[[email protected]: fix warnings]
Signed-off-by: Nicolas Pitre <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions