Message ID | 20240820-pmic-glink-v6-11-races-v3-3-eec53c750a04@quicinc.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8d856ad26551f9a9f428a73bf422e81c98e774ae |
Headers | show |
Series | soc: qcom: pmic_glink: v6.11-rc bug fixes | expand |
diff --git a/drivers/soc/qcom/pmic_glink.c b/drivers/soc/qcom/pmic_glink.c index b218460219b7..9606222993fd 100644 --- a/drivers/soc/qcom/pmic_glink.c +++ b/drivers/soc/qcom/pmic_glink.c @@ -191,7 +191,7 @@ static void pmic_glink_state_notify_clients(struct pmic_glink *pg) if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) new_state = SERVREG_SERVICE_STATE_UP; } else { - if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) + if (pg->pdr_state == SERVREG_SERVICE_STATE_DOWN || !pg->ept) new_state = SERVREG_SERVICE_STATE_DOWN; }