]> err.no Git - linux-2.6/commit
[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)
commit936d8592654bb97d5706a73c0e2a6339b090f7fb
tree78282b935a267627ef7b259853aced6abb9fc566
parent9e1d98c5d8613d917004a193d4f989a3544d8fef
[MMC] Use command class to determine read-only status

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>
drivers/mmc/mmc_block.c