mmc: omap3: fix block read function
authorGrazvydas Ignotas <notasas at>
Wed, 11 Aug 2010 22:56:03 +0000 (15:56 -0700)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 12 Aug 2010 17:50:25 +0000 (13:50 -0400)
commitdc41b8bf3df2b2c3bd833f871d88ff5ef40a19f3
treedc4543c634a4011cec588676e51cd1fc3fd13d03
parent8bbf4307c7a44ecf6a1cff905913a630ac949f18
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 to simplify code, merge it
with with a helper function, which was only called from the block read
function.

After this patch ext2 filesystem can be used properly.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/mmc/omap3_mmc.c