mmc: omap3: fix block read function
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 16 Jun 2010 16:40:33 +0000 (19:40 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 16 Jun 2010 16:53:20 +0000 (19:53 +0300)
commitd4741b75c6f7980c8cc5dec98e390e38a0e267f9
tree51e2fabb8c3aff26ecf0dba235970946668bb363
parent357f7049703541e4912c4d1c76cc335fdaff81c3
mmc: omap3: fix block read function

The OMAP3 block read function is not following API and always returning
1 instead of read block count, fix it. Also merge it with with a helper
function, which was only called from the block read function to simplify
code.

After this patch ext2 filesystem functions properly.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
drivers/mmc/omap3_mmc.c