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)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 12 Oct 2008 09:04:30 +0000 (11:04 +0200)
commitf3eb0aaa0211fd804057070bee1fd067cd65cb13
treebf97d54c14f3b63c2785cb19affc2ee1731159ee
parent6501ff604a5ae18697c9b4cd40a7738d3a68e7fe
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