aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2014-09-09 02:46:49 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-09-09 08:15:43 -0400
commit0abb71feb228ddbd17e0dfa13216541e036bb549 (patch)
treebf559dd36fd38aeb327cd465ca9c0e25ecf2257a /drivers/mmc/card
parent9674e9545382153d6a78bb97915ba8e64c1fdf9f (diff)
mmc: remove MMC_CAP2_NO_MULTI_READ flags
Now, mmc framework uses multi_io_quirk for I/O HW bug workaround. MMC_CAP2_NO_MULTI_READ flag is no longer needed Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/card')
-rw-r--r--drivers/mmc/card/block.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index adab9038f6f7..413f984cb76d 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -1398,11 +1398,6 @@ static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq,
1398 if (disable_multi) 1398 if (disable_multi)
1399 brq->data.blocks = 1; 1399 brq->data.blocks = 1;
1400 1400
1401 /* Some controllers can't do multiblock reads due to hw bugs */
1402 if (card->host->caps2 & MMC_CAP2_NO_MULTI_READ &&
1403 rq_data_dir(req) == READ)
1404 brq->data.blocks = 1;
1405
1406 /* 1401 /*
1407 * Some controllers have HW issues while operating 1402 * Some controllers have HW issues while operating
1408 * in multiple I/O mode 1403 * in multiple I/O mode