diff options
author | Ulf Hansson | 2011-10-13 16:03:58 +0200 |
---|---|---|
committer | Chris Ball | 2011-10-26 22:32:31 +0200 |
commit | b6ad726e3fe69e1ff3c3b2ad272ba3e4c376cd6a (patch) | |
tree | dc2413bb2454ca3aec4c2a5c894c7b926690abcb /drivers/mtd/tests/mtd_oobtest.c | |
parent | mmc: recognise SDIO cards with SDIO_CCCR_REV 3.00 (diff) | |
download | kernel-qcow2-linux-b6ad726e3fe69e1ff3c3b2ad272ba3e4c376cd6a.tar.gz kernel-qcow2-linux-b6ad726e3fe69e1ff3c3b2ad272ba3e4c376cd6a.tar.xz kernel-qcow2-linux-b6ad726e3fe69e1ff3c3b2ad272ba3e4c376cd6a.zip |
mmc: core: Prevent too long response times for suspend
While trying to suspend the mmc host there could still be
ongoing requests that we need to wait for. At the same time
a device driver must respond to a suspend request rather quickly.
Instead of potentially wait "forever" by claiming the host we now
"try" to claim the host instead. If it fails, -EBUSY is returned.
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mtd/tests/mtd_oobtest.c')
0 files changed, 0 insertions, 0 deletions