diff options
author | Pierre Ossman | 2006-07-11 21:06:48 +0200 |
---|---|---|
committer | Russell King | 2006-07-13 16:17:45 +0100 |
commit | fb61e2895170920564410baadf71c5b3561dbf42 (patch) | |
tree | b825fb7f86ad3cb11a1932aea422d45532677e2a /drivers/mmc | |
parent | e47f31787dee5bf57453e18edefff56e17fa44f9 (diff) |
[MMC] Fix incorrect register access
There was a writel() being used on a 16-bit register.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 893319108ba4..6aba4a0f61a2 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -565,7 +565,7 @@ static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) if (cmd->data) flags |= SDHCI_CMD_DATA; - writel(SDHCI_MAKE_CMD(cmd->opcode, flags), + writew(SDHCI_MAKE_CMD(cmd->opcode, flags), host->ioaddr + SDHCI_COMMAND); } |