Re: [PATCH 4/5] mmc: renesas_sdhi: remove 4taps as a TMIO flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

On 03.12.2019 23:05, Wolfram Sang wrote:

Now that the quirks structure is accesible, we can remove the TMIO flag

   Accessible?

for HS400 using only 4 taps. This is Renesas specific anyhow.

Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
---
  drivers/mmc/host/renesas_sdhi_core.c | 8 +++-----
  include/linux/mfd/tmio.h             | 3 ---
  2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c
index 2c743429e1e3..8ee6298d5a51 100644
--- a/drivers/mmc/host/renesas_sdhi_core.c
+++ b/drivers/mmc/host/renesas_sdhi_core.c
[...]
@@ -488,7 +488,8 @@ static int renesas_sdhi_select_tuning(struct tmio_mmc_host *host)
  static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host)
  {
  	struct renesas_sdhi *priv = host_to_priv(host);
-	bool use_4tap = host->pdata->flags & TMIO_MMC_HAVE_4TAP_HS400;
+	bool use_4tap = priv->quirks && priv->quirks->hs400_4taps;
+

   Extra empty line?

/*
  	 * Skip checking SCC errors when running on 4 taps in HS400 mode as
[...]

MBR, Sergei



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux