Commit f63f815f authored by Unnathi Chalicheemala's avatar Unnathi Chalicheemala Committed by Bjorn Andersson

firmware: qcom-scm: Remove QCOM_SMC_WAITQ_FLAG_WAKE_ALL

This flag was never supported by firmware, so remove it.
Signed-off-by: default avatarUnnathi Chalicheemala <quic_uchalich@quicinc.com>
Reviewed-by: default avatarElliot Berman <quic_eberman@quicinc.com>
Link: https://lore.kernel.org/r/20240514180046.543763-1-quic_uchalich@quicinc.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent a8a313c2
......@@ -114,7 +114,6 @@ static const u8 qcom_scm_cpu_warm_bits[QCOM_SCM_BOOT_MAX_CPUS] = {
};
#define QCOM_SMC_WAITQ_FLAG_WAKE_ONE BIT(0)
#define QCOM_SMC_WAITQ_FLAG_WAKE_ALL BIT(1)
#define QCOM_DLOAD_MASK GENMASK(5, 4)
#define QCOM_DLOAD_NODUMP 0
......@@ -1795,9 +1794,8 @@ static irqreturn_t qcom_scm_irq_handler(int irq, void *data)
goto out;
}
if (flags != QCOM_SMC_WAITQ_FLAG_WAKE_ONE &&
flags != QCOM_SMC_WAITQ_FLAG_WAKE_ALL) {
dev_err(scm->dev, "Invalid flags found for wq_ctx: %u\n", flags);
if (flags != QCOM_SMC_WAITQ_FLAG_WAKE_ONE) {
dev_err(scm->dev, "Invalid flags received for wq_ctx: %u\n", flags);
goto out;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment