diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2010-11-28 07:21:28 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-08 22:48:04 -0500 |
commit | 30201e7f3ac639fe98fcd25d40346b65dde9ecba (patch) | |
tree | e2abf06a8dbb1cd83d8eeefcaa65440861218dc9 /drivers/tty | |
parent | 8f230f454fe04ba326ffaead3a6b88dcf44eaf4b (diff) |
mmc: skip detection of nonremovable cards on rescan
mmc_rescan() checks whether registered cards are still present before
skipping them, by calling the bus-specific ->detect() handler.
With buses that support runtime PM, the card may be powered off at
this point, so they need to be powered on and fully reinitialized before
->detect() executes.
This whole process is redundant with nonremovable cards; in those cases,
we can safely skip calling ->detect() and implicitly assume its success.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Reviewed-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions