forked from Minki/linux
[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>
This commit is contained in:
parent
e47f31787d
commit
fb61e28951
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user