diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2011-12-09 13:20:59 -0800 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2011-12-09 13:30:43 -0800 |
commit | 3484c3ebe12163a54ec18af429112dfeafe2a4d6 (patch) | |
tree | 947fc693157055500ed682fca651c15a571ff1dc /mm/memory.c | |
parent | 6163711bce716fc63dcda986bdf57c3e2dc2d1a3 (diff) | |
download | kernel_samsung_tuna-3484c3ebe12163a54ec18af429112dfeafe2a4d6.zip kernel_samsung_tuna-3484c3ebe12163a54ec18af429112dfeafe2a4d6.tar.gz kernel_samsung_tuna-3484c3ebe12163a54ec18af429112dfeafe2a4d6.tar.bz2 |
mmc: omap_hsmmc: Call mmc_host_enable() in suspend only on success path
Suspend failure means active sd/mmc device that is in the middle of bus
access, and calling mmc_host_enable() in this case may have race condition
when host->mmc->ops->enable() will not be called, but host->mmc->ops->disable()
will be called and it will prevent device from talking to mmc controller.
Warning: Previous behavior to have mmc_host_enable() on failure path
during host->pdata->resume() is changed.
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions