mmc: dw_mmc: fix the max_blk_count in IDMAC
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 27 Oct 2015 09:53:06 +0000 (17:53 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Tue, 27 Oct 2015 10:13:21 +0000 (18:13 +0800)
commit8312c2733ca2b9e1added218ae6f883ee3500963
treed293c5b4340dd31c7fd901dcd424c944b1c410ce
parent4e642b3d5d8eab45f76f86d51f774fe280190f01
mmc: dw_mmc: fix the max_blk_count in IDMAC

Even though 1MB is reserved for descriptor table in IDMAC,
the dw_mmc host driver is allowed to receive only maximum
128KB block length in one request. This is caused by setting
improper max_blk_count. It needs to be e adjusted so that
descriptor table is used fully. It is found that the performance
is improved with the increased the max_blk_count.

Change-Id: Ie4042f9e1924e0f575b9865aa721b7b61305c13d
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/rk_sdmmc.c