]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Use mmc_card_* macro and add a new for the sd_combo type
authorSeunghui Lee <sh043.lee@samsung.com>
Wed, 13 Jul 2022 03:36:34 +0000 (12:36 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Jul 2022 10:44:41 +0000 (12:44 +0200)
commit491682b3263c3c23565ba533db9183a9b2873465
treedb059021eb00edacef6acb8dd546749439f7d7a5
parent75727fe9e593ff6d3c4e15556374e921a6b314e6
mmc: core: Use mmc_card_* macro and add a new for the sd_combo type

Add mmc_card_sd_combo() macro for sd combo type card and use the mmc_card_*
macro to simplify code instead of comparing card->type.

Signed-off-by: Seunghui Lee <sh043.lee@samsung.com>
Link: https://lore.kernel.org/r/20220713033635.28432-2-sh043.lee@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c
drivers/mmc/core/bus.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c
include/linux/mmc/card.h