summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-07-24 21:11:47 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 09:15:12 +0200
commitbe0192aae1aed3fbf172e3f9a22ec75392c1b175 (patch)
treeb70080bf73fad74fe196a568e57b18c6e7ade8ef /drivers/mmc/card
parent255d01af9a990fd5166f04ed0cc0b30b7b67e81e (diff)
downloadop-kernel-dev-be0192aae1aed3fbf172e3f9a22ec75392c1b175.zip
op-kernel-dev-be0192aae1aed3fbf172e3f9a22ec75392c1b175.tar.gz
mmc: remove confusing flag
The MMC_DATA_MULTI flag never had a proper definition of what it means, so remove it and let the drivers check the block count in the request. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/card')
-rw-r--r--drivers/mmc/card/block.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 9abf29f..ab51068 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -241,7 +241,6 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
brq.data.blocks = 1;
if (brq.data.blocks > 1) {
- brq.data.flags |= MMC_DATA_MULTI;
brq.mrq.stop = &brq.stop;
readcmd = MMC_READ_MULTIPLE_BLOCK;
writecmd = MMC_WRITE_MULTIPLE_BLOCK;
OpenPOWER on IntegriCloud