disp: msm: dp: do not skip wait for usb disconnect with dp_sim

Wait for the userspace to disable DP when usb cable is removed
during DP simulation. The usb notifier is a blocking call.

Change-Id: I6c00cc684b4d99da30a129f034eb17bf505738bb
Signed-off-by: Sankeerth Billakanti <quic_sbillaka@quicinc.com>
This commit is contained in:
Sankeerth Billakanti
2022-11-18 11:58:34 +05:30
committed by Gerrit - the friendly Code Review server
parent 32509a9815
commit 751b10139e

View File

@@ -1962,7 +1962,7 @@ static int dp_display_usb_notifier(struct notifier_block *nb,
dp_display_state_add(DP_STATE_ABORTED);
dp->ctrl->abort(dp->ctrl, true);
dp->aux->abort(dp->aux, true);
dp_display_handle_disconnect(dp, true);
dp_display_handle_disconnect(dp, false);
dp->debug->abort(dp->debug);
}