diff --git a/msm/dp/dp_altmode.c b/msm/dp/dp_altmode.c index 4263e881b924..52d954f4a37a 100644 --- a/msm/dp/dp_altmode.c +++ b/msm/dp/dp_altmode.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2021, The Linux Foundation. All rights reserved. */ #include @@ -127,7 +127,8 @@ static int dp_altmode_notify(void *priv, void *data, size_t len) altmode->dp_altmode.base.hpd_high = !!hpd_state; altmode->dp_altmode.base.hpd_irq = !!hpd_irq; altmode->dp_altmode.base.multi_func = force_multi_func ? true : - !(pin == DPAM_HPD_C || pin == DPAM_HPD_E); + !(pin == DPAM_HPD_C || pin == DPAM_HPD_E || + pin == DPAM_HPD_OUT); DP_DEBUG("payload=0x%x\n", dp_data); DP_DEBUG("port_index=%d, orientation=%d, pin=%d, hpd_state=%d\n",