2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00

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 <drzeus@drzeus.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Roel Kluin 2008-03-15 16:00:38 +01:00 committed by Linus Torvalds
parent afbf331ed1
commit ce63645234

View File

@ -180,7 +180,7 @@ static void tifm_sd_transfer_data(struct tifm_sd *host)
host->sg_pos++; host->sg_pos++;
if (host->sg_pos == host->sg_len) { if (host->sg_pos == host->sg_len) {
if ((r_data->flags & MMC_DATA_WRITE) if ((r_data->flags & MMC_DATA_WRITE)
&& DATA_CARRY) && (host->cmd_flags & DATA_CARRY))
writel(host->bounce_buf_data[0], writel(host->bounce_buf_data[0],
host->dev->addr host->dev->addr
+ SOCK_MMCSD_DATA); + SOCK_MMCSD_DATA);