mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
FROMGIT: mmc: sdhci-sprd: Drop redundant cap flags
The MMC_CAP_ERASE and MMC_CAP_CMD23 flags are already being set in the common sdhci_setup_host(). This makes it redundant to set them for sdhci-sprd, so let's drop them. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Baolin Wang <baolin.wang7@gmail.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20200406113724.8504-1-ulf.hansson@linaro.org Bug: 156552982 (cherry picked from commit 5104243a25a64a12b53faaa450493a5ad8339176 https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next) Change-Id: I0f73eae10fe394171bfebd37eab70ad29021b3f4 Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com>
This commit is contained in:
parent
aee688a912
commit
0140dbb033
1 changed files with 2 additions and 1 deletions
|
|
@ -556,7 +556,8 @@ static int sdhci_sprd_probe(struct platform_device *pdev)
|
|||
sdhci_sprd_voltage_switch;
|
||||
|
||||
host->mmc->caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
|
||||
MMC_CAP_ERASE | MMC_CAP_CMD23 | MMC_CAP_WAIT_WHILE_BUSY;
|
||||
MMC_CAP_WAIT_WHILE_BUSY;
|
||||
|
||||
ret = mmc_of_parse(host->mmc);
|
||||
if (ret)
|
||||
goto pltfm_free;
|
||||
|
|
|
|||
Loading…
Reference in a new issue