From: Pierre Ossman Date: Tue, 11 Jul 2006 19:06:48 +0000 (+0200) Subject: [MMC] Fix incorrect register access X-Git-Tag: v2.6.18-rc2~83^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fb61e2895170920564410baadf71c5b3561dbf42;p=linux-2.6-omap-h63xx.git [MMC] Fix incorrect register access There was a writel() being used on a 16-bit register. Signed-off-by: Pierre Ossman Signed-off-by: Russell King --- diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 893319108ba..6aba4a0f61a 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); }