mmc: cmdq_hci: release runtime PM reference after halt/unhalt
Currently we are not releasing the runtime PM reference count after halt/unhalt completion which basically keeps the runtime PM state to active forever. Fix this by releasing the PM reference count on completion of halt/unhalt operation. Change-Id: I28a37917b49acde7f5d75bf9a639d0eb67a1c169 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
This commit is contained in:
parent
1cdc481924
commit
6aa3b33671
1 changed files with 1 additions and 1 deletions
|
@ -798,7 +798,7 @@ static int cmdq_halt(struct mmc_host *mmc, bool halt)
|
|||
break;
|
||||
}
|
||||
}
|
||||
return retries ? 0 : -ETIMEDOUT;
|
||||
ret = retries ? 0 : -ETIMEDOUT;
|
||||
} else {
|
||||
if (cq_host->ops->set_data_timeout)
|
||||
cq_host->ops->set_data_timeout(mmc, 0xf);
|
||||
|
|
Loading…
Add table
Reference in a new issue