From: Baolin Wang <baolin.wang7@gmail.com>
To: adrian.hunter@intel.com, ulf.hansson@linaro.org
Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com,
baolin.wang7@gmail.com, arnd@arndb.de, linux-mmc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [RESEND PATCH 3/3] mmc: host: hsq: Support request_atomic() API
Date: Wed, 4 Mar 2020 15:42:02 +0800 [thread overview]
Message-ID: <e57cf579a833364c855f438203dc53a3e626e1c0.1583307441.git.baolin.wang7@gmail.com> (raw)
In-Reply-To: <cover.1583307441.git.baolin.wang7@gmail.com>
In-Reply-To: <cover.1583307441.git.baolin.wang7@gmail.com>
Add support to submit a request by request_atomic() API.
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
---
drivers/mmc/host/mmc_hsq.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/mmc_hsq.c b/drivers/mmc/host/mmc_hsq.c
index 59d2776..fdbaa98 100644
--- a/drivers/mmc/host/mmc_hsq.c
+++ b/drivers/mmc/host/mmc_hsq.c
@@ -41,7 +41,10 @@ static void mmc_hsq_pump_requests(struct mmc_hsq *hsq)
spin_unlock_irqrestore(&hsq->lock, flags);
- mmc->ops->request(mmc, hsq->mrq);
+ if (mmc->ops->request_atomic)
+ mmc->ops->request_atomic(mmc, hsq->mrq);
+ else
+ mmc->ops->request(mmc, hsq->mrq);
}
static void mmc_hsq_update_next_tag(struct mmc_hsq *hsq, int remains)
--
1.9.1
prev parent reply other threads:[~2020-03-04 7:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-04 7:41 [RESEND PATCH 0/3] Introduce the request_atomic() for the host Baolin Wang
2020-03-04 7:42 ` [RESEND PATCH 1/3] mmc: host: " Baolin Wang
2020-03-16 11:47 ` Ulf Hansson
2020-03-17 2:00 ` Baolin Wang
2020-03-16 13:08 ` Adrian Hunter
2020-03-17 3:36 ` Baolin Wang
2020-03-17 7:32 ` Adrian Hunter
2020-03-17 9:17 ` Baolin Wang
2020-03-04 7:42 ` [RESEND PATCH 2/3] mmc: host: sdhci-sprd: Implement the request_atomic() API Baolin Wang
2020-03-16 11:47 ` Ulf Hansson
2020-03-17 2:02 ` Baolin Wang
2020-03-04 7:42 ` Baolin Wang [this message]
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=e57cf579a833364c855f438203dc53a3e626e1c0.1583307441.git.baolin.wang7@gmail.com \
--to=baolin.wang7@gmail.com \
--cc=adrian.hunter@intel.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=orsonzhai@gmail.com \
--cc=ulf.hansson@linaro.org \
--cc=zhang.lyra@gmail.com \
/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®