mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
disp: msm: dp: remove check for peer_usb_comm
Reset the QMP PHY into DP-only mode only when the adapter/cable connected is not multi-function capable. We remove the peer_usb_comm check since this flag is not being updated when the cable is connected. Change-Id: Iafbdf73b3ef827b757b51bfadfa6fa16b840ac27 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
parent
06b7a6feeb
commit
5ed32bb41f
1 changed files with 1 additions and 2 deletions
|
|
@ -924,8 +924,7 @@ static void dp_display_host_init(struct dp_display_private *dp)
|
|||
if (dp->hpd->orientation == ORIENTATION_CC2)
|
||||
flip = true;
|
||||
|
||||
reset = dp->debug->sim_mode ? false :
|
||||
(!dp->hpd->multi_func || !dp->hpd->peer_usb_comm);
|
||||
reset = dp->debug->sim_mode ? false : !dp->hpd->multi_func;
|
||||
|
||||
dp->power->init(dp->power, flip);
|
||||
dp->hpd->host_init(dp->hpd, &dp->catalog->hpd);
|
||||
|
|
|
|||
Loading…
Reference in a new issue