From: Roel Kluin <12o3l@tiscali.nl> Date: Sat, 15 Mar 2008 15:00:38 +0000 (+0100) Subject: tifm_sd: DATA_CARRY is not boolean in tifm_sd_transfer_data() X-Git-Tag: v2.6.25-rc6~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ce636452343af0522d2666157dab9c2096f4f996;p=linux-2.6-omap-h63xx.git tifm_sd: DATA_CARRY is not boolean in tifm_sd_transfer_data() DATA_CARRY is not boolean Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Pierre Ossman Signed-off-by: Linus Torvalds --- diff --git a/drivers/mmc/host/tifm_sd.c b/drivers/mmc/host/tifm_sd.c index 20d5c7bd940..1c14a186f00 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);