diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-10-22 16:16:16 (GMT) |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-10-27 12:04:10 (GMT) |
commit | 6356a9d955e1898eadaa8cba9a5137b1787c0c7e (patch) | |
tree | 3f58bbc52771c34ccaa7c5655ac58b92222aaf5b /drivers/mmc/host | |
parent | ade8c56cbd02020fecbe1684f181250a466685eb (diff) | |
download | linux-fsl-qoriq-6356a9d955e1898eadaa8cba9a5137b1787c0c7e.tar.xz |
at91_mci: Fix bad reference
The flags parameter got removed in a previous commit, but some
references were overlooked.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/au1xmmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c index c77fadc..b2104d4 100644 --- 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 |