summaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorThomas Abraham2012-09-17 20:16:39 +0200
committerChris Ball2012-10-03 16:05:16 +0200
commitb4967aa58e2bbafbb280dd4f0c5a777181500e41 (patch)
tree3899b2b1cd497a416a885f552b2f5ecdeaf7b0a8 /block/blk-ioc.c
parentmmc: dw_mmc: lookup for optional biu and ciu clocks (diff)
downloadkernel-qcow2-linux-b4967aa58e2bbafbb280dd4f0c5a777181500e41.tar.gz
kernel-qcow2-linux-b4967aa58e2bbafbb280dd4f0c5a777181500e41.tar.xz
kernel-qcow2-linux-b4967aa58e2bbafbb280dd4f0c5a777181500e41.zip
mmc: dw_mmc: add quirk to indicate missing write protect line
If the write protect pad of the controller is not connected to the write protect pin of the slot, the driver should be notified of this condition so that incorrect check for write protection by reading the WRTORT register can avoided. The get_ro platform callback can be used for in such cases, but with device tree support enabled, such platform callbacks cannot be supported. Add a new quirk for notifying the driver about the missing write protect line so the driver can assume that the card write protection is disabled. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions