mmc_block: check card state after write
authorPierre Ossman <drzeus@drzeus.cx>
Fri, 2 Nov 2007 17:21:13 +0000 (18:21 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 21 Nov 2007 17:40:53 +0000 (18:40 +0100)
commitd198f101989d9bb950327f0d043f6203bb862343
tree1bcbef20c668de6d8287c813d6253f903fc6842f
parent2ffbb8377c7a0713baf6644e285adc27a5654582
mmc_block: check card state after write

Some cards have been reported to signal that they're ready prematurely.
Checking both the busy bit and card state solves the issue.

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