disp: msm: dp: abort aux before going to dp suspend
During resume, DP uses AUX to perform various functionalities like DPCD/EDID read or link training etc. This involves other hardware modules as well like USB and Charger. In a situation like continuous suspend/resume, while DP is processing resume, suspend can trigger resulting in dependent hardware modules to go to sleep. As AUX communication is hardware interrupt based, this can result in unstable system. Abort all functionalities before going to suspend to avoid unnecessary AUX and other functionality failures. Change-Id: Id52d408270232adf7258a7eb064ee969eba4be71 Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
这个提交包含在:
@@ -1596,8 +1596,8 @@ static void dp_debug_set_sim_mode(struct dp_debug_private *debug, bool sim)
|
||||
debug->hpd->simulate_connect(debug->hpd, false);
|
||||
debug->hotplug = false;
|
||||
}
|
||||
debug->aux->abort(debug->aux);
|
||||
debug->ctrl->abort(debug->ctrl);
|
||||
debug->aux->abort(debug->aux, true);
|
||||
debug->ctrl->abort(debug->ctrl, true);
|
||||
|
||||
debug->aux->set_sim_mode(debug->aux, false, NULL, NULL);
|
||||
debug->dp_debug.sim_mode = false;
|
||||
|
在新工单中引用
屏蔽一个用户