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:
ade8c56
)
at91_mci: Fix bad reference
author
Pierre Ossman
<drzeus@drzeus.cx>
Mon, 22 Oct 2007 16:16:16 +0000
(18:16 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Sat, 27 Oct 2007 12:04:10 +0000
(14:04 +0200)
The flags parameter got removed in a previous commit, but some
references were overlooked.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/au1xmmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/au1xmmc.c
b/drivers/mmc/host/au1xmmc.c
index c77fadc0dfa3bb7dc1c3604020ec85196e198b13..b2104d4f87afec75d07768874c9184dcbc33033c 100644
(file)
--- a/
drivers/mmc/host/au1xmmc.c
+++ b/
drivers/mmc/host/au1xmmc.c
@@
-212,12
+212,12
@@
static int au1xmmc_send_command(struct au1xmmc_host *host, int wait,
}
if (data) {
- if (flags & MMC_DATA_READ) {
+ if (
data->
flags & MMC_DATA_READ) {
if (data->blocks > 1)
mmccmd |= SD_CMD_CT_4;
else
mmccmd |= SD_CMD_CT_2;
- } else if (flags & MMC_DATA_WRITE) {
+ } else if (
data->
flags & MMC_DATA_WRITE) {
if (data->blocks > 1)
mmccmd |= SD_CMD_CT_3;
else