[PATCH 3/3] mmc: core: fix stale mmc_start_req() references in comments
From: Shawn Lin
Date: Thu Sep 17 2026 - 14:41:25 EST
From: Shawn Lin <shawn.lin@xxxxxxxxx>
Two comments still refer to mmc_start_req(). That function was renamed
to mmc_start_areq() then removed.
So, let's update the mmc_is_req_done() and mmc_pre_req() comments to refer
to the current APIs: mmc_start_request() and mmc_wait_for_req().
Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxx>
---
drivers/mmc/core/core.c | 4 ++--
drivers/mmc/core/core.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 59430bc..920e4b1 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -588,8 +588,8 @@ EXPORT_SYMBOL(mmc_cqe_recovery);
* mmc_is_req_done() is used with requests that have
* mrq->cap_cmd_during_tfr = true. mmc_is_req_done() must be called after
* starting a request and before waiting for it to complete. That is,
- * either in between calls to mmc_start_req(), or after mmc_wait_for_req()
- * and before mmc_wait_for_req_done(). If it is called at other times the
+ * after mmc_start_request() or mmc_wait_for_req() and before
+ * mmc_wait_for_req_done(). If it is called at other times the
* result is not meaningful.
*/
bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq)
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h
index 601c737..9be2875 100644
--- a/drivers/mmc/core/core.h
+++ b/drivers/mmc/core/core.h
@@ -170,7 +170,7 @@ int mmc_cqe_recovery(struct mmc_host *host);
* @host: MMC host to prepare command
* @mrq: MMC request to prepare for
*
- * mmc_pre_req() is called in prior to mmc_start_req() to let
+ * mmc_pre_req() is called in prior to mmc_start_request() to let
* host prepare for the new request. Preparation of a request may be
* performed while another request is running on the host.
*/
--
2.7.4