kernel-fxtec-pro1x/include/linux/mmc
Oded Gabbay dcaff04d36 mmc: esdhc: Fix bug when writing to SDHCI_HOST_CONTROL register
The P2020 has a non-standard implementation of the SDHCI_HOST_CONTROL
register. This patch adds a QUIRK in the SDHCI header to signal that
a host controller has a non-standard SDHCI_HOST_CONTROL register. The
patch adds a check to the function esdhc_writeb in file
sdhci-of-esdhc.c, where it checks if the write is done to the
SDHCI_HOST_CONTROL register and th host has the above mentioned QUIRK,
then the function simply returns instead of writing to the register.
The patch also detects if the processor is P2020 (by looking in dev
tree) and if so, adds the QUIRK to the host->quirk2

Signed-off-by: Oded Gabbay <ogabbay@advaoptical.com>
Reviewed-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2013-07-05 12:48:35 -04:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: core: Handle card shutdown from mmc_bus 2013-06-27 12:39:18 -04:00
core.h mmc: block: Enable runtime pm for mmc blkdevice 2013-05-26 14:23:16 -04:00
dw_mmc.h mmc: dw_mmc: Remove DW_MCI_QUIRK_NO_WRITE_PROTECT 2013-02-24 14:36:55 -05:00
host.h mmc: core: Invent MMC_CAP2_FULL_PWR_CYCLE 2013-06-27 12:39:22 -04:00
mmc.h mmc: add packed command feature of eMMC4.5 2013-02-24 14:37:15 -05: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: esdhc: Fix bug when writing to SDHCI_HOST_CONTROL register 2013-07-05 12:48:35 -04: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 mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -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: remove unused .pdata field 2013-02-24 14:37:22 -05: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