summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2013-06-20 18:15:50 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:25:50 -0700
commit65dee48836422bcaa97b84b6f30a96d45bfa15fe (patch)
tree9bb6da4e8aed73d81a7a34d43c95e7556acf039f /tools/perf/scripts/python
parent954eba25460cb85a0a06c2be6055239c761d5ce9 (diff)
mmc: block: fix the block driver shutdown
mmc_queue_suspend() function returns the -EBUSY error if the MMC request queue is not empty as this function was getting called from the system suspend path which enforces time limit on the completion of the driver suspend callback. But recently the driver shutdown routine also started using mmc_queue_suspend() function but in shutdown case, we would really want to wait for the MMC request queue to be empty. To fix above issue, this change have added new argument named "wait" to mmc_queue_suspend() function which would tell whether it needs to wait for the MMC request queue to be empty or not. Driver shutdown callback will tell the mmc_queue_suspend() to wait but suspend callback won't. CRs-Fixed: 503227 Change-Id: I86f32d68ec4c4799648785681c5776f090ea6e36 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions