summaryrefslogtreecommitdiff
path: root/common/host_command_pd.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/host_command_pd.c')
-rw-r--r--common/host_command_pd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/host_command_pd.c b/common/host_command_pd.c
index 467dc07dd7..ecd5e07cf5 100644
--- a/common/host_command_pd.c
+++ b/common/host_command_pd.c
@@ -56,7 +56,7 @@ static void pd_exchange_status(void)
CPRINTS("Failed to set input current limit from PD MCU");
/* If PD is signalling host event, then pass it up to AP */
- if (pd_status.status | PD_STATUS_HOST_EVENT)
+ if (pd_status.status & PD_STATUS_HOST_EVENT)
host_set_single_event(EC_HOST_EVENT_PD_MCU);
}