From: Mukesh Ojha <quic_mojha@quicinc.com>
To: <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>
Cc: <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
"Mukesh Ojha" <quic_mojha@quicinc.com>
Subject: [PATCH 1/4] firmware: qcom_scm: Clear download bit during reboot
Date: Tue, 21 Feb 2023 20:09:38 +0530 [thread overview]
Message-ID: <1676990381-18184-2-git-send-email-quic_mojha@quicinc.com> (raw)
In-Reply-To: <1676990381-18184-1-git-send-email-quic_mojha@quicinc.com>
During normal restart of a system download bit should
be cleared irrespective of whether download mode is
set or not.
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
---
drivers/firmware/qcom_scm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c
index cdbfe54..51eb853 100644
--- a/drivers/firmware/qcom_scm.c
+++ b/drivers/firmware/qcom_scm.c
@@ -1418,8 +1418,7 @@ static int qcom_scm_probe(struct platform_device *pdev)
static void qcom_scm_shutdown(struct platform_device *pdev)
{
/* Clean shutdown, disable download mode to allow normal restart */
- if (download_mode)
- qcom_scm_set_download_mode(false);
+ qcom_scm_set_download_mode(false);
}
static const struct of_device_id qcom_scm_dt_match[] = {
--
2.7.4
next prev parent reply other threads:[~2023-02-21 14:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 14:39 [PATCH 0/4] Refactor to support multiple download mode Mukesh Ojha
2023-02-21 14:39 ` Mukesh Ojha [this message]
2023-02-21 14:39 ` [PATCH 2/4] firmware: scm: Modify only the DLOAD bit in TCSR register for " Mukesh Ojha
2023-02-23 11:48 ` Brian Masney
2023-02-23 14:14 ` Bjorn Andersson
2023-02-21 14:39 ` [PATCH 3/4] firmware: qcom_scm: Refactor code to support multiple " Mukesh Ojha
2023-02-23 12:25 ` Brian Masney
2023-02-23 14:36 ` Bjorn Andersson
2023-02-21 14:39 ` [PATCH 4/4] firmware: qcom_scm: Add multiple download mode support Mukesh Ojha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1676990381-18184-2-git-send-email-quic_mojha@quicinc.com \
--to=quic_mojha@quicinc.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®