summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-s3c.c
diff options
context:
space:
mode:
authorMarc-André Hébert <hebert.marcandre@gmail.com>2011-01-31 12:31:24 -0500
committerChris Ball <cjb@laptop.org>2011-03-15 13:48:23 -0400
commit3362177fe1b7c23ee8497ee720ab4d6f6ba0b840 (patch)
tree2a8d0e82d943316a0691a9e030963c5ded831779 /drivers/mmc/host/sdhci-s3c.c
parent709de99df0ecf3102e7728fbd876a3591859f423 (diff)
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-s3c.c')
0 files changed, 0 insertions, 0 deletions