From patchwork Thu Feb 20 04:45:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 236636 List-Id: U-Boot discussion From: jh80.chung at samsung.com (Jaehoon Chung) Date: Thu, 20 Feb 2020 13:45:32 +0900 Subject: [PATCH 1/3] mmc: jz_mmc; add MMC_CAP_NEEDS_POLL by default In-Reply-To: <20200220044534.19600-1-jh80.chung@samsung.com> References: <20200220044534.19600-1-jh80.chung@samsung.com> Message-ID: <20200220044534.19600-2-jh80.chung@samsung.com> Add MMC_CAP_NEEDS_POLL by default. Signed-off-by: Jaehoon Chung --- drivers/mmc/jz_mmc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c index 8d4f886cb4..df995bda2f 100644 --- a/drivers/mmc/jz_mmc.c +++ b/drivers/mmc/jz_mmc.c @@ -395,7 +395,8 @@ static struct jz_mmc_plat jz_mmc_plat_static = { .voltages = MMC_VDD_27_28 | MMC_VDD_28_29 | MMC_VDD_29_30 | MMC_VDD_30_31 | MMC_VDD_31_32 | MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_34_35 | MMC_VDD_35_36, - .host_caps = MMC_MODE_4BIT | MMC_MODE_HS_52MHz | MMC_MODE_HS, + .host_caps = MMC_MODE_4BIT | MMC_MODE_HS_52MHz | MMC_MODE_HS | + MMC_CAP_NEEDS_POLL, .f_min = 375000, .f_max = 48000000, @@ -452,7 +453,8 @@ static int jz_mmc_ofdata_to_platdata(struct udevice *dev) cfg = &plat->cfg; cfg->name = "MSC"; - cfg->host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; + cfg->host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS | + MMC_CAP_NEEDS_POLL; ret = mmc_of_parse(dev, cfg); if (ret < 0) {