diff options
author | Tony Lin <tony.lin@freescale.com> | 2011-02-15 10:52:16 +0800 |
---|---|---|
committer | Andy Voltz <andy.voltz@timesys.com> | 2011-06-01 13:20:51 -0400 |
commit | 661d464b8f0ff7e69ce809096a541846625c7d01 (patch) | |
tree | 73eab0fc9b1a4e8c8789cc0211fa92db4cafa9c0 /drivers/mmc | |
parent | 8a0c00d2b14bd3116fb95481f408fd6d7c2cedf0 (diff) |
ENGR00139191 [MMC]vendor spec register will be overwrittern
during multi-block transfer and MX50 TO1.1/MX53 TO2
SDHCI_VERDOR_SPEC register will be overwritten
Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mx_sdhci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/mx_sdhci.c b/drivers/mmc/host/mx_sdhci.c index 54910b72d6b0..1d932b3bb078 100644 --- a/drivers/mmc/host/mx_sdhci.c +++ b/drivers/mmc/host/mx_sdhci.c @@ -750,12 +750,13 @@ static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) * set bit1 of Vendor Spec Registor */ if (cmd->opcode == 0x35 && (cmd->data->flags - & MMC_DATA_READ)) + & MMC_DATA_READ)) { timeout = readl(host->ioaddr + SDHCI_VENDOR_SPEC); timeout |= 0x2; writel(timeout, host->ioaddr + SDHCI_VENDOR_SPEC); + } } } if (cmd->data->flags & MMC_DATA_READ) |