There was a bug about dealing with last ext2 sector of file
because we failed to return the number of sectors pulled

Signed-off-by: Andy Green <[EMAIL PROTECTED]>
---

 src/cpu/s3c6410/hs_mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cpu/s3c6410/hs_mmc.c b/src/cpu/s3c6410/hs_mmc.c
index c87a1f7..485d2a7 100644
--- a/src/cpu/s3c6410/hs_mmc.c
+++ b/src/cpu/s3c6410/hs_mmc.c
@@ -646,5 +646,5 @@ unsigned long s3c6410_mmc_bread(int dev_num, unsigned long 
start_blk, unsigned l
 
        HS_DMA_END = 0;
 
-       return 0;
+       return blknum;
 }


Reply via email to