aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasaharu Hayakawa <masaharu.hayakawa.ry@renesas.com>2018-03-20 17:42:58 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2018-03-22 05:53:12 -0400
commit4472f0fc248e3f0573301f725eff9dc9cde5cb62 (patch)
tree6d1d6a702368a216cf6c6b9a705c8ec711d2a9ed
parent8647d26eb3f19ab0fa29f68a8bf648054c21e4bc (diff)
mmc: renesas_sdhi: replace EXT_ACC with HOST_MODE
All our documentation says HOST_MODE, we don't really know where EXT_ACC came from. Rename it to reduce the confusion. Signed-off-by: Masaharu Hayakawa <masaharu.hayakawa.ry@renesas.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/host/renesas_sdhi_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c
index 80943fa07db6..51e01f03fb99 100644
--- a/drivers/mmc/host/renesas_sdhi_core.c
+++ b/drivers/mmc/host/renesas_sdhi_core.c
@@ -38,7 +38,7 @@
38#include "renesas_sdhi.h" 38#include "renesas_sdhi.h"
39#include "tmio_mmc.h" 39#include "tmio_mmc.h"
40 40
41#define EXT_ACC 0xe4 41#define HOST_MODE 0xe4
42 42
43#define SDHI_VER_GEN2_SDR50 0x490c 43#define SDHI_VER_GEN2_SDR50 0x490c
44#define SDHI_VER_RZ_A1 0x820b 44#define SDHI_VER_RZ_A1 0x820b
@@ -76,7 +76,7 @@ static void renesas_sdhi_sdbuf_width(struct tmio_mmc_host *host, int width)
76 return; 76 return;
77 } 77 }
78 78
79 sd_ctrl_write16(host, EXT_ACC, val); 79 sd_ctrl_write16(host, HOST_MODE, val);
80} 80}
81 81
82static int renesas_sdhi_clk_enable(struct tmio_mmc_host *host) 82static int renesas_sdhi_clk_enable(struct tmio_mmc_host *host)
@@ -417,7 +417,7 @@ static int renesas_sdhi_write16_hook(struct tmio_mmc_host *host, int addr)
417 case CTL_SD_MEM_CARD_OPT: 417 case CTL_SD_MEM_CARD_OPT:
418 case CTL_TRANSACTION_CTL: 418 case CTL_TRANSACTION_CTL:
419 case CTL_DMA_ENABLE: 419 case CTL_DMA_ENABLE:
420 case EXT_ACC: 420 case HOST_MODE:
421 if (host->pdata->flags & TMIO_MMC_HAVE_CBSY) 421 if (host->pdata->flags & TMIO_MMC_HAVE_CBSY)
422 bit = TMIO_STAT_CMD_BUSY; 422 bit = TMIO_STAT_CMD_BUSY;
423 /* fallthrough */ 423 /* fallthrough */