mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tifm_sd: DATA_CARRY is not boolean in tifm_sd_transfer_data()
@ 2008-03-15 15:00 Pierre Ossman
  0 siblings, 0 replies; only message in thread
From: Pierre Ossman @ 2008-03-15 15:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, Alex Dubov, Roel Kluin

From: Roel Kluin <12o3l@tiscali.nl>

DATA_CARRY is not boolean

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Pierre Ossman <drzeus@drzeus.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-15 15:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-15 15:00 [PATCH] tifm_sd: DATA_CARRY is not boolean in tifm_sd_transfer_data() Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®