1
0

Merge "disp: msm: dp: do not skip disconnect when host is unready"

Este cometimento está contido em:
qctecmdr
2020-09-12 11:26:36 -07:00
cometido por Gerrit - the friendly Code Review server
ascendente 7978e0d920 7605176062
cometimento 5391d25fbc

Ver ficheiro

@@ -1363,7 +1363,8 @@ static int dp_display_usbpd_disconnect_cb(struct device *dev)
dp->debug->psm_enabled);
/* skip if a disconnect is already in progress */
if (dp_display_state_is(DP_STATE_ABORTED)) {
if (dp_display_state_is(DP_STATE_ABORTED) &&
dp_display_state_is(DP_STATE_READY)) {
DP_DEBUG("disconnect already in progress\n");
SDE_EVT32_EXTERNAL(SDE_EVTLOG_FUNC_CASE1, dp->state);
return 0;