diff options
| author | Asutosh Das <asutoshd@codeaurora.org> | 2014-02-21 11:28:36 +0530 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-27 10:29:03 -0700 |
| commit | 03cfbbc1fc06db50991da48593bf6c2ee7cf092a (patch) | |
| tree | d5d0ac4e4e550e307d744bf5d5bdc20bfe4cb029 /include/linux/pps_kernel.h | |
| parent | 1fc03424501669b8d6df474c42328123a4297055 (diff) | |
mmc: sdhci: finish the request if sdhc is in bad state
In the current code, if sdhci_check_state returns true a tasklet is
scheduled which doesn't complete the request if host->mrq is NULL,
which is the case, if sdhci is in bad state. This would make the
mmcqd thread wait for completion infinitely.
Hence, complete the request if sdhci_check_state returns true instead
of scheduling the tasklet.
CRs-Fixed: 615537
Change-Id: I8e2950c3999ac3806f9d631c52d86f0dc13b992f
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
