Browse Source

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 <[email protected]>
Sankeerth Billakanti 2 years ago
parent
commit
c3cd13a34a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      msm/dp/dp_display.c

+ 1 - 1
msm/dp/dp_display.c

@@ -1982,7 +1982,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);
 	}