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:
Tatenda Chipeperekwa 2020-07-13 17:14:11 -07:00
commit 5ed32bb41f

View file

@ -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);