mmc_block: inform block layer about sector count restriction
authorPierre Ossman <drzeus@drzeus.cx>
Sat, 16 Aug 2008 19:34:02 +0000 (21:34 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 31 Jan 2011 23:49:50 +0000 (01:49 +0200)
commitab11e96cb9f84e1ba4e85fd48cf2e09663548b60
tree0f9ccf76c0b4298cf86a004b674b37ef3599dc3c
parent4c16a5fd45475e4230f094c1e487dee85ae89263
mmc_block: inform block layer about sector count restriction

Make sure we consider the maximum block count when we tell the block
layer about the maximum sector count. That way we don't have to chop
up the request ourselves.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/card/block.c
drivers/mmc/card/queue.c