projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e47f317
)
[MMC] Fix incorrect register access
author
Pierre Ossman
<drzeus@drzeus.cx>
Tue, 11 Jul 2006 19:06:48 +0000
(21:06 +0200)
committer
Russell 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/sdhci.c
b/drivers/mmc/sdhci.c
index 893319108ba4fc1abb707db60b33983c2daa69d4..6aba4a0f61a287689f0c4666580f54ba13eefbf2 100644
(file)
--- 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;
- write
l
(SDHCI_MAKE_CMD(cmd->opcode, flags),
+ write
w
(SDHCI_MAKE_CMD(cmd->opcode, flags),
host->ioaddr + SDHCI_COMMAND);
}