All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/3] mmc: jz_mmc; add MMC_CAP_NEEDS_POLL by default
Date: Thu, 20 Feb 2020 13:45:32 +0900	[thread overview]
Message-ID: <20200220044534.19600-2-jh80.chung@samsung.com> (raw)
In-Reply-To: <20200220044534.19600-1-jh80.chung@samsung.com>

Add MMC_CAP_NEEDS_POLL by default.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 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) {
-- 
2.25.0

  parent reply	other threads:[~2020-02-20  4:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20200220044529epcas1p342d4df3a18266045b3bc401b21703939@epcas1p3.samsung.com>
2020-02-20  4:45 ` [PATCH 0/3] Remove CONFIG_MMC_BROKEN_CD Jaehoon Chung
     [not found]   ` <CGME20200220044529epcas1p1629d0533210a455a0f2990f359b09c14@epcas1p1.samsung.com>
2020-02-20  4:45     ` Jaehoon Chung [this message]
     [not found]   ` <CGME20200220044529epcas1p435aaf60f2488cb8b9c2f6b49f59f7afd@epcas1p4.samsung.com>
2020-02-20  4:45     ` [PATCH 2/3] mmc: check the flags of host_caps about broken-cd Jaehoon Chung
     [not found]   ` <CGME20200220044529epcas1p22a4e86fc6045c51ba403178a4d52f15d@epcas1p2.samsung.com>
2020-02-20  4:45     ` [PATCH 3/3] mmc: Kconfig: remove MMC_BROKEN_CD configuration Jaehoon Chung
2020-03-09  0:09       ` Peng Fan
2020-03-09  7:31         ` Jaehoon Chung
2020-02-20 19:57   ` [PATCH 0/3] Remove CONFIG_MMC_BROKEN_CD Tom Rini
2020-02-21  1:07     ` Jaehoon Chung
2020-02-21  7:21       ` Jaehoon Chung
2020-02-21 17:05         ` Tom Rini
2020-02-24  2:41           ` Jaehoon Chung
2020-02-21 13:38       ` Tom Rini
2020-02-24  2:38         ` Jaehoon Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200220044534.19600-2-jh80.chung@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.