[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080315160038.2c93c9b5@mjolnir.drzeus.cx>
Date: Sat, 15 Mar 2008 16:00:38 +0100
From: Pierre Ossman <drzeus-list@...eus.cx>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Alex Dubov <oakad@...oo.com>,
Roel Kluin <12o3l@...cali.nl>
Subject: [PATCH] tifm_sd: DATA_CARRY is not boolean in
tifm_sd_transfer_data()
From: Roel Kluin <12o3l@...cali.nl>
DATA_CARRY is not boolean
Signed-off-by: Roel Kluin <12o3l@...cali.nl>
Signed-off-by: Pierre Ossman <drzeus@...eus.cx>
---
diff --git a/drivers/mmc/host/tifm_sd.c b/drivers/mmc/host/tifm_sd.c
index 20d5c7b..1c14a18 100644
--- a/drivers/mmc/host/tifm_sd.c
+++ b/drivers/mmc/host/tifm_sd.c
@@ -180,7 +180,7 @@ static void tifm_sd_transfer_data(struct tifm_sd *host)
host->sg_pos++;
if (host->sg_pos == host->sg_len) {
if ((r_data->flags & MMC_DATA_WRITE)
- && DATA_CARRY)
+ && (host->cmd_flags & DATA_CARRY))
writel(host->bounce_buf_data[0],
host->dev->addr
+ SOCK_MMCSD_DATA);
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists