]> err.no Git - linux-2.6/commitdiff
tifm_sd: DATA_CARRY is not boolean in tifm_sd_transfer_data()
authorRoel Kluin <12o3l@tiscali.nl>
Sat, 15 Mar 2008 15:00:38 +0000 (16:00 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Mar 2008 16:24:21 +0000 (09:24 -0700)
DATA_CARRY is not boolean

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/tifm_sd.c

index 20d5c7bd940a7c48eaa42b8af06484d918e6e6b8..1c14a186f000acc10b23b59b5bc554533bf6a4ec 100644 (file)
@@ -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);