浏览代码

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 年之前
父节点
当前提交
c3cd13a34a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 	}