Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1311934
| From | Shawn Lin <shawn.lin@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] mmc: dw_mmc-exynos: wrapper prepare_command |
| Date | 2016-01-19 05:00 +0100 |
| Message-ID | <qSvCy-23U-15@gated-at.bofh.it> (permalink) |
| References | <qSvsS-20z-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch use dw_mci_pltfm_prepare_command call to
change cmdr instead of doing it in the driver itself.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---
drivers/mmc/host/dw_mmc-exynos.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c
index 3a7e835..37a337e 100644
--- a/drivers/mmc/host/dw_mmc-exynos.c
+++ b/drivers/mmc/host/dw_mmc-exynos.c
@@ -215,10 +215,10 @@ static void dw_mci_exynos_prepare_command(struct dw_mci *host, u32 *cmdr)
if (priv->ctrl_type == DW_MCI_TYPE_EXYNOS7 ||
priv->ctrl_type == DW_MCI_TYPE_EXYNOS7_SMU) {
if (SDMMC_CLKSEL_GET_DRV_WD3(mci_readl(host, CLKSEL64)))
- *cmdr |= SDMMC_CMD_USE_HOLD_REG;
+ dw_mci_pltfm_prepare_command(host, cmdr);
} else {
if (SDMMC_CLKSEL_GET_DRV_WD3(mci_readl(host, CLKSEL)))
- *cmdr |= SDMMC_CMD_USE_HOLD_REG;
+ dw_mci_pltfm_prepare_command(host, cmdr);
}
}
--
2.3.7
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] Convert dw_mci_pltfm_prepare_command into a library call Shawn Lin <shawn.lin@rock-chips.com> - 2016-01-19 04:50 +0100
[PATCH 2/3] mmc: dw_mmc-rockchip: remove prepare_command hook Shawn Lin <shawn.lin@rock-chips.com> - 2016-01-19 05:00 +0100
[PATCH 3/3] mmc: dw_mmc-exynos: wrapper prepare_command Shawn Lin <shawn.lin@rock-chips.com> - 2016-01-19 05:00 +0100
Re: [PATCH 0/3] Convert dw_mci_pltfm_prepare_command into a library call Jaehoon Chung <jh80.chung@samsung.com> - 2016-01-19 05:10 +0100
Re: [PATCH 0/3] Convert dw_mci_pltfm_prepare_command into a library call Jaehoon Chung <jh80.chung@samsung.com> - 2016-01-20 09:30 +0100
Re: [PATCH 0/3] Convert dw_mci_pltfm_prepare_command into a library call Shawn Lin <shawn.lin@rock-chips.com> - 2016-01-20 10:30 +0100
Re: [PATCH 0/3] Convert dw_mci_pltfm_prepare_command into a library call Shawn Lin <shawn.lin@rock-chips.com> - 2016-01-20 13:40 +0100
csiph-web