diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-09 18:08:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-09 18:08:33 -0500 |
commit | 8e9c238c3884c226f0cddc31cde87dd5df1a6500 (patch) | |
tree | d6b4bb2f474580fd6f52e70447f8ed79d441a89d /drivers/mmc/mmc_block.c | |
parent | f17578decc40df8fceff82b106582e30bdfb3189 (diff) | |
parent | 7225b3fd0b6e224235fc50a69f70479ff96d5602 (diff) |
Merge master.kernel.org:/home/rmk/linux-2.6-mmc
Diffstat (limited to 'drivers/mmc/mmc_block.c')
-rw-r--r-- | drivers/mmc/mmc_block.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c index d5f28981596b..f2c42b13945d 100644 --- a/drivers/mmc/mmc_block.c +++ b/drivers/mmc/mmc_block.c | |||
@@ -187,7 +187,13 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) | |||
187 | brq.data.flags |= MMC_DATA_WRITE; | 187 | brq.data.flags |= MMC_DATA_WRITE; |
188 | brq.data.blocks = 1; | 188 | brq.data.blocks = 1; |
189 | } | 189 | } |
190 | brq.mrq.stop = brq.data.blocks > 1 ? &brq.stop : NULL; | 190 | |
191 | if (brq.data.blocks > 1) { | ||
192 | brq.data.flags |= MMC_DATA_MULTI; | ||
193 | brq.mrq.stop = &brq.stop; | ||
194 | } else { | ||
195 | brq.mrq.stop = NULL; | ||
196 | } | ||
191 | 197 | ||
192 | brq.data.sg = mq->sg; | 198 | brq.data.sg = mq->sg; |
193 | brq.data.sg_len = blk_rq_map_sg(req->q, req, brq.data.sg); | 199 | brq.data.sg_len = blk_rq_map_sg(req->q, req, brq.data.sg); |