linux/drivers/mmc/card
Marc-André Hébert 3362177fe1 mmc: Fix the block device read only flag
While the MMC handled the card's read only flag correctly on open,
it did not setup the flag in the allocated disk structure. The
consequence being that probing the /sys/class/block/mmcblkX/ro
attribute always reported 0.

Signed-off-by: Marc-Andre Hebert <hebert.marcandre@gmail.com>
Reviewed-by: Chris Ball <cjb@laptop.org>
Tested-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-03-15 13:48:23 -04:00
..
block.c mmc: Fix the block device read only flag 2011-03-15 13:48:23 -04:00
Kconfig mmc: MMC_BLOCK_MINORS should depend on MMC_BLOCK. 2011-01-08 23:52:26 -05:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
mmc_test.c mmc: Fixes for Dual Data Rate (DDR) support 2010-10-23 21:11:16 +08:00
queue.c mmc: name mmc queue thread by host index 2010-10-23 21:11:16 +08:00
queue.h
sdio_uart.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00