linux_dsm_epyc7002/include/linux/mmc
Lars-Peter Clausen 9f6e0bff2a mmc: Add support for disabling write-protect detection
It is not uncommon to see systems where there is no physical write-protect
signal (e.g. when using eMMC or microSD card slots). For some controllers,
which have a dedicated write-protection detection logic (like SDHCI
controllers), the get_ro() callback can return bogus data in such a case.

Instead of handling this on a per controller basis this patch adds a new
capability flag to the MMC core that can be set to specify that the result
of get_ro() is invalid. When the flag is set the core will not call
get_ro() and assume that the card is always read-write.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-06-01 09:06:59 +02:00
..
boot.h
card.h Revert "mmc: core: Convert mmc_driver to device_driver" 2015-04-17 11:48:01 +02:00
core.h mmc: core: Convert the error field in struct mmc_command|data into an int 2015-04-08 12:10:20 +02:00
dw_mmc.h mmc: dw_mmc: fix fifo ordering in big endian 2015-04-09 09:08:15 +02:00
host.h mmc: Add support for disabling write-protect detection 2015-06-01 09:06:59 +02:00
mmc.h mmc: Resolve BKOPS compatability issue 2015-01-29 11:15:12 +01:00
pm.h
sd.h
sdhci-pci-data.h
sdio_func.h mmc: core: Don't export the to_sdio_driver macro 2014-11-10 12:40:32 +01:00
sdio_ids.h brcmfmac: add support for BCM43430 SDIO chipset 2015-03-20 09:03:46 +02:00
sdio.h
sh_mmcif.h mmc: sh_mmcif: revision-specific CLK_CTRL2 handling 2013-08-25 00:10:18 -04:00
sh_mobile_sdhi.h mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info 2015-03-05 21:54:26 +05:30
slot-gpio.h mmc: slot-gpio: Allow host driver to provide isr for card-detect interrupts 2015-01-19 09:56:29 +01:00
tmio.h mmc: SDHI: add SoC specific workaround via HW version 2014-01-13 12:48:24 -05:00