Message ID | 1633982414-28347-1-git-send-email-quic_gurus@quicinc.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available() | expand |
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 2ee97ba..27a64de 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -252,7 +252,7 @@ static bool __qcom_scm_is_call_available(struct device *dev, u32 svc_id, break; default: pr_err("Unknown SMC convention being used\n"); - return -EINVAL; + return false; } ret = qcom_scm_call(dev, &desc, &res);