From ec60f36da4100c5fd6f102b5995b4df6c926fe5a Mon Sep 17 00:00:00 2001 From: Shawn Lin Date: Thu, 17 Sep 2026 16:48:37 +0800 Subject: [PATCH] mmc: core: fix stale mmc_start_req() references in comments 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 Signed-off-by: Ulf Hansson --- 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 879b1355f7d5..677e445dc48c 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -589,8 +589,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 601c73761e88..9be2875608ce 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. */ -- knotmirror 0.0.1