diff options
author | Unnathi Chalicheemala <quic_uchalich@quicinc.com> | 2024-05-14 20:00:46 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-05-27 18:40:18 +0200 |
commit | f63f815fc2a5ca9d57beba0286aaa82bc3277353 (patch) | |
tree | 142f38172f707180d2b51c0d511f3b5249eaa742 /drivers/firmware/qcom | |
parent | soc: qcom: pmic_glink: Increase max ports to 3 (diff) | |
download | linux-f63f815fc2a5ca9d57beba0286aaa82bc3277353.tar.xz linux-f63f815fc2a5ca9d57beba0286aaa82bc3277353.zip |
firmware: qcom-scm: Remove QCOM_SMC_WAITQ_FLAG_WAKE_ALL
This flag was never supported by firmware, so remove it.
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>
Link: https://lore.kernel.org/r/20240514180046.543763-1-quic_uchalich@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/firmware/qcom')
-rw-r--r-- | drivers/firmware/qcom/qcom_scm.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c index 1be5374cd3c9..eb247a83aeeb 100644 --- a/drivers/firmware/qcom/qcom_scm.c +++ b/drivers/firmware/qcom/qcom_scm.c @@ -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; } |