]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MMC] Fix incorrect register access
authorPierre Ossman <drzeus@drzeus.cx>
Tue, 11 Jul 2006 19:06:48 +0000 (21:06 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Jul 2006 15:17:45 +0000 (16:17 +0100)
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>
drivers/mmc/sdhci.c

index 893319108ba4fc1abb707db60b33983c2daa69d4..6aba4a0f61a287689f0c4666580f54ba13eefbf2 100644 (file)
@@ -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);
 }