From e8c6a86ebd8c56e1f61bf456b868b6cfcb9be904 Mon Sep 17 00:00:00 2001 From: Yauhen Kharuzhy Date: Wed, 11 Feb 2009 13:25:52 -0800 Subject: [PATCH] --- yaml --- r: 131510 b: refs/heads/master c: 994244883739e4044bef76d4e5d7a9b66dc6c7b6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/mmc/host/s3cmci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index cf20197f96c8..539ebbf22f80 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 86a6a8749d5b8fd5c2b544fe9fd11101e3d0550f +refs/heads/master: 994244883739e4044bef76d4e5d7a9b66dc6c7b6 diff --git a/trunk/drivers/mmc/host/s3cmci.c b/trunk/drivers/mmc/host/s3cmci.c index 35a98eec7414..f4a67c65d301 100644 --- a/trunk/drivers/mmc/host/s3cmci.c +++ b/trunk/drivers/mmc/host/s3cmci.c @@ -329,7 +329,7 @@ static void do_pio_write(struct s3cmci_host *host) to_ptr = host->base + host->sdidata; - while ((fifo = fifo_free(host))) { + while ((fifo = fifo_free(host)) > 3) { if (!host->pio_bytes) { res = get_data_buffer(host, &host->pio_bytes, &host->pio_ptr);