mirror_ubuntu-kernels/include/linux/mmc
Thomas Abraham b4967aa58e 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>
2012-10-03 10:05:16 -04:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
core.h mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
dw_mmc.h mmc: dw_mmc: add quirk to indicate missing write protect line 2012-10-03 10:05:16 -04:00
host.h mmc: core: Do not rescan non-removable devices 2012-09-04 13:58:27 -04:00
ioctl.h headers: include linux/types.h where appropriate 2012-03-23 16:58:31 -07:00
Kbuild mmc: core: Add mmc CMD+ACMD passthrough ioctl 2011-05-24 21:02:54 -04:00
mmc.h mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
mxs-mmc.h mmc: mxs-mmc: move header from mach into linux folder 2012-05-13 08:05:38 +08:00
pm.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sd.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci-pci-data.h mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-spear.h Viresh has moved 2012-06-20 14:39:36 -07:00
sdhci.h mmc: sdhci: Add regulator support for vccq (voltage regualor) 2012-09-04 13:58:13 -04:00
sdio_func.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_ids.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio.h mmc: sdio: fix setting card data bus width as 4-bit 2012-06-06 09:22:53 -04:00
sh_mmcif.h Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-07-24 17:12:54 -07:00
sh_mobile_sdhi.h mmc: sh_mobile_sdhi: support caps2 flags 2012-07-21 00:02:19 -04:00
slot-gpio.h mmc: core: add WP pin handler to slot functions 2012-07-21 00:02:18 -04:00
tmio.h mmc: sdhi: Add write16_hook 2011-07-20 17:20:57 -04:00