mmc: dw_mmc: exynos: use common_caps
authorJohn Keeping <john@metanate.com>
Wed, 24 Nov 2021 18:46:02 +0000 (18:46 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 14 Dec 2021 20:35:26 +0000 (21:35 +0100)
commita13e8ef6008d3851f70b6d5a78ff0c7452cd45e4
treee2b0a6852d1f882c626dc7a18d47d01d7a6f4574
parent4bac670aa5cb6268308a0880dfe195fc6291140e
mmc: dw_mmc: exynos: use common_caps

Move the common MMC_CAP_CMD23 capability to common_caps so that only the
special case of MMC_CAP_1_8V_DDR and MMC_CAP_8_BIT_DATA are set via
caps/num_caps.  Both of those can, and should, be set via device tree
properties instead, so we can now say that exynos_dwmmc_caps is only
used for backwards compatibility.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Link: https://lore.kernel.org/r/20211124184603.3897245-5-john@metanate.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-exynos.c