]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: core: add mmc_card_can_cmd23
authorBenoît Monin <benoit.monin@bootlin.com>
Mon, 18 Aug 2025 14:02:46 +0000 (16:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 19 Aug 2025 12:34:15 +0000 (14:34 +0200)
commit18f7439fa171f798f2ff8aa69611db41f658242a
treeb8c2f1e6f48e8bf047e2ce2b210503178eac959b
parentff1bd1190e746a0ba2c6db7b84c3f677fdf1dad1
mmc: core: add mmc_card_can_cmd23

Add a dedicated helper to check for CMD23 support for MMC card, similar
to mmc_host_can_cmd23 for the host, as it is easy to get the check
wrong.

Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
Link: https://lore.kernel.org/r/20250818-mobileye-emmc-for-upstream-4-v4-1-34ecb3995e96@bootlin.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
drivers/mmc/core/core.h