mmc_block: be prepared for oversized requests
authorPierre Ossman <pierre@ossman.eu>
Fri, 10 Apr 2009 15:52:57 +0000 (17:52 +0200)
committerPierre Ossman <pierre@ossman.eu>
Sun, 3 May 2009 20:11:00 +0000 (22:11 +0200)
commit548d2de9bd978a4d4e941477500f1ab97aade137
tree28c3464c82296de10737f9174c775ae92a9c2727
parent0c8454f56623505a99463405fd7d5664adfbb094
mmc_block: be prepared for oversized requests

The block layer does not support very low sector count restrictions
so we need to be prepared to handle bigger requests than we can send
directly to the controller.

Problem found by Manuel Lauss.

Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/card/block.c