[MMC] Use command class to determine read-only status
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 30 Oct 2005 10:15:58 +0000 (10:15 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 30 Oct 2005 10:15:58 +0000 (10:15 +0000)
If a card doesn't support the "write block" command class then
any attempts to open the device should reflect this by denying
write access.

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

No differences found