summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorSiba Prasad <sibap@codeaurora.org>2016-12-05 18:29:39 +0530
committerSiba Prasad <sibap@codeaurora.org>2017-03-08 11:55:31 +0530
commit192cfe16ca5761bb7a5aafc016e79a21b2bd4002 (patch)
tree4e7b58880a85297692c1f5e53fbef58e105dfead /kernel/trace/trace_functions_graph.c
parent7246b950418ccf085b9af676066b46a291708eff (diff)
mmc: bus: Handle error in case bus_ops suspend fails
bus_ops->suspend may fail due to some reason (for e.g. due to flush timeout). In such cases, if we return error to PM framework from here without calling pm_generic_resume then mmc request may get stuck since PM framework will assume that mmc bus not suspended (because of error) and it won't call resume again. Thus fix this by calling pm_generic_resume in case of error from bus_ops->suspend in mmc_bus_suspend. Change-Id: Iaef485d0b47b005aa88e61cd77a2b7b65931def1 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