summaryrefslogtreecommitdiff
path: root/drivers/mmc/sdhci.c
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2006-07-11 23:06:48 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-07-13 19:17:45 +0400
commitfb61e2895170920564410baadf71c5b3561dbf42 (patch)
treeb825fb7f86ad3cb11a1932aea422d45532677e2a /drivers/mmc/sdhci.c
parente47f31787dee5bf57453e18edefff56e17fa44f9 (diff)
downloadlinux-fb61e2895170920564410baadf71c5b3561dbf42.tar.xz
[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/sdhci.c')
-rw-r--r--drivers/mmc/sdhci.c2
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);
}