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> CRs-Fixed: 325090 Change-Id: Ic4fbff5273a00262604feb368ed92e7973561b37 [sthumma@codeaurora.org: Squash commit 49df7807] [sthumma@codeaurora.org: Skip the implementation for SDIO cards] Signed-off-by:
Sujit Reddy Thumma <sthumma@codeaurora.org>
Loading
Please sign in to comment