| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 2.6.24-rc0] au1xmmc: trivial buildfix |
| From: | Manuel Lauss <mano@roarinelk.homelinux.net> |
| Date: | Thu, 18 Oct 2007 21:03:02 +0200 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.16 (2007-06-09) |
Hi,
Fix a trivial error in au1xmmc.
Not run-tested since there are some rather funky IRQ issues
with this kernel...
---
au1xmmc: trivial buildfix
Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
--- linux-2.6.23-git13/drivers/mmc/host/au1xmmc.c.orig 2007-10-18
15:35:25.930405000 +0200
+++ linux-2.6.23-git13/drivers/mmc/host/au1xmmc.c 2007-10-18
15:35:49.150405000 +0200
@@ -212,12 +212,12 @@ static int au1xmmc_send_command(struct a
}
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | MIPS Makefile not picking up CROSS_COMPILE from environment setting, Wolfgang Denk |
|---|---|
| Next by Date: | Re: [RFC] Add __initbss section, Franck Bui-Huu |
| Previous by Thread: | MIPS Makefile not picking up CROSS_COMPILE from environment setting, Wolfgang Denk |
| Next by Thread: | Re: [PATCH 2.6.24-rc0] au1xmmc: trivial buildfix, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |