]> git.sur5r.net Git - u-boot/commit
S5P: mmc: Resolved interrupt error during mmc_init
authorChander Kashyap <chander.kashyap@linaro.org>
Tue, 22 Mar 2011 01:40:50 +0000 (01:40 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Sun, 27 Mar 2011 17:20:26 +0000 (19:20 +0200)
commitf69bb511455513a61c25783414240258f13f3371
treefb3e653fcc61d9b3fe4bae639df3444b59698385
parentbef5f8565ff87d048df352a891953805db84417c
S5P: mmc: Resolved interrupt error during mmc_init

Blocksize was hardcoded to 512 bytes. But the blocksize varies
depeding on various mmc subsystem commands (between 8 and 512).
This hardcoding was resulting in interrupt error during data
transfer.

It is now calculated based upon the request sent by mmc subsystem.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/s5p_mmc.c