diff options
| author | Ritesh Harjani <riteshh@codeaurora.org> | 2016-12-04 21:37:41 +0530 |
|---|---|---|
| committer | Siba Prasad <sibap@codeaurora.org> | 2017-03-08 11:41:48 +0530 |
| commit | 7246b950418ccf085b9af676066b46a291708eff (patch) | |
| tree | 13717d652898de198fa840173e722c40c62c3849 /kernel/trace/trace_functions_graph.c | |
| parent | 35731dbb9352cd912ffaebd273d203456f37d1da (diff) | |
mmc: mmc: Handle error case in mmc_suspend
Currently in case if suspend is failed due to some
reason then the error case is not handled properly :-
1. w.r.t. suspend_clk_scaling claim_host counters are going bad.
2. In case of any error after halting and disabling cmdq -
the error is returned to the PM framework and it assumes that
card is not suspended, whereas CQ remains disabled. This causes
I/O requests hangs since no request can be processed any further.
Fix this by handling error cases properly.
Change-Id: I8691eebcb0e2d089720505475aa0297efce5cca5
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Signed-off-by: Siba Prasad <sibap@codeaurora.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
