linux-hardened/include/linux/mmc
Linus Walleij 89168b4899 mmc: core: restore detect line inversion semantics
commit 98e90de99a
"mmc: host: switch OF parser to use gpio descriptors"
switched the semantic behaviour of card detect and read
only flags such that the inversion capability flag would
only be set if inversion was explicitly specified in the
device tree, in the hopes that no-one was using double
inversion.

It turns out that the XOR:ing between the explicit
inversion was indeed in use, so we need to restore the
old semantics where both ways of inversion are checked
and the end result XOR:ed.

Reported-by: Javier Martinez Canillas <javier@dowhile0.org>
Tested-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2014-10-02 11:51:26 +02:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: Replace "enhanced_area_en" attribute by "partition_setting_completed" 2014-09-19 00:03:36 +02:00
core.h mmc: core: Add ignore_crc flag to __mmc_switch 2014-02-23 10:40:30 -05:00
dw_mmc.h mmc: dw_mmc: Support voltage changes 2014-09-09 13:59:18 +02:00
host.h mmc: core: Add new power_mode MMC_POWER_UNDEFINED 2014-09-24 11:20:04 +02:00
mmc.h mmc: Consolidate emmc tuning blocks 2014-09-23 09:13:19 +02: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 mmc: sdhci-spear: remove support for power gpio 2014-03-04 16:28:44 -05:00
sdhci.h mmc: sdhci: handle busy-end interrupt during command 2014-09-09 13:59:23 +02:00
sdio.h mmc: sdio: fix setting card data bus width as 4-bit 2012-06-06 09:22:53 -04:00
sdio_func.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_ids.h brcmfmac: add BCM4354 SDIO interface support 2014-03-17 13:44:14 -04:00
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 .set_pwr() callback from platform data 2013-08-24 23:58:10 -04:00
slot-gpio.h mmc: core: restore detect line inversion semantics 2014-10-02 11:51:26 +02:00
tmio.h mmc: SDHI: add SoC specific workaround via HW version 2014-01-13 12:48:24 -05:00