diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-05-01 08:33:26 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-05-14 17:07:48 +0200 |
| commit | 03b31a0638a1cb1c580de4d5054ec9f5caffdffc (patch) | |
| tree | de64d0229c0bfad9e737210c27ea211689fe9af3 /drivers/mmc/core/block.c | |
| parent | 5846efac138a650f7f95d68aaa4c40870bdbc352 (diff) | |
mmc: rename mmc_host_cmd23() to mmc_host_can_cmd23()
It is not obvious that this functions checks capabilities. Rename it to
include '_can' like other capability helpers.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250501063325.7262-7-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/block.c')
| -rw-r--r-- | drivers/mmc/core/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index 63320cc441c1..f9ad45476552 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -2618,7 +2618,7 @@ static struct mmc_blk_data *mmc_blk_alloc_req(struct mmc_card *card, */ md->read_only = mmc_blk_readonly(card); - if (mmc_host_cmd23(card->host)) { + if (mmc_host_can_cmd23(card->host)) { if ((mmc_card_mmc(card) && card->csd.mmca_vsn >= CSD_SPEC_VER_3) || (mmc_card_sd(card) && !mmc_card_ult_capacity(card) && |