[MMC] Improve MMC card block size selection
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 3 Jan 2006 22:38:44 +0000 (22:38 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 3 Jan 2006 22:38:44 +0000 (22:38 +0000)
Select a block size for IO based on the read and write block size
combinations, and whether the card supports partial block reads
and/or partial block writes.

If we are able to satisfy block reads but not block writes, mark
the device read only.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found