summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2013-02-26 17:32:58 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:20:25 -0700
commit20537f4aae5abd63918edc990a5ea9d355b6ad58 (patch)
tree96589ca25e543674cf10c18663440e2fc4f4e9fe /include/linux
parent7d7218224b477ffb208655be43996fdfdb9d8370 (diff)
mmc: card: abort the suspend if the card is busy
mmc_blk_suspend() is triggered when system is going into suspend which then waits for the mmcqd thread (which processes active MMC transfer requests) to complete all queued transfer requests but if mmcqd has multiple requests to be processed at this point, mmc_blk_suspend() may very well sleep for duration longer than DPM (Device Power Management) timeout (currently 12 sec) causing the DPM timeout bug. To fix this issue, mmc_blk_suspend() checks if there are any more pending MMC requests in progress or not and if there are any, it returns error which should abort the ongoing system suspend. CRs-Fixed: 439192 Change-Id: Ic7ba2f013d10a1952c30ea2ed93f74b831fcc27d [subhashj@codeaurora.org: fixed trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions