aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@stericsson.com>2011-05-25 11:42:18 +0200
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 12:57:20 +0200
commita58593b13a88e3516cf248cf0d105df45fac6c4b (patch)
tree86f57590c2ffff6942526cf2f1e7d85e4ffaf9d9 /drivers/usb
parenteca6689d23fbc3b872c4f4c834de7929c449e1c7 (diff)
mmc: Fix hangs related to insert/remove of cards
During a rescan operation mmc_attach(sd|mmc|sdio) functions are called. The error handling in these function can trigger a detach of the bus, which also meant a power off. This is not notified by the rescan operation which then continues to the next attach function. If a power off has been done, the framework must never send any new commands to the host driver, without first doing a new power up. This will most likely trigger any host driver to hang. Moving power off out of detach and instead handle power off separately when it is actually needed, solves the issue. ST-Ericsson Linux next: - ST-Ericsson ID: 339637 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id808dc84625a953f4469855ad56e8d3b46b5434d Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30814
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions