firmware: qcom: scm: suppress download mode error
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 2 Oct 2024 10:01:21 +0000 (12:01 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Oct 2024 02:57:38 +0000 (21:57 -0500)
commitd67907154808745b0fae5874edc7b0f78d33991c
tree5efd8a38016bcf377922b3197061354ae597d58b
parente694d2b5c58ba2d1e995d068707c8d966e7f5f2a
firmware: qcom: scm: suppress download mode error

Stop spamming the logs with errors about missing mechanism for setting
the so called download (or dump) mode for users that have not requested
that feature to be enabled in the first place.

This avoids the follow error being logged on boot as well as on
shutdown when the feature it not available and download mode has not
been enabled on the kernel command line:

qcom_scm firmware:scm: No available mechanism for setting download mode

Fixes: 79cb2cb8d89b ("firmware: qcom: scm: Disable SDI and write no dump to dump mode")
Fixes: 781d32d1c970 ("firmware: qcom_scm: Clear download bit during reboot")
Cc: Mukesh Ojha <quic_mojha@quicinc.com>
Cc: stable@vger.kernel.org # 6.4
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Link: https://lore.kernel.org/r/20241002100122.18809-2-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/firmware/qcom/qcom_scm.c