summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-pci.c
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@advaoptical.com>2013-07-05 16:48:35 (GMT)
committerChris Ball <cjb@laptop.org>2013-07-05 16:48:35 (GMT)
commitdcaff04d36fd7f22973bf4fc108912ce19bcef4f (patch)
tree846a58971945a4ecc8683d0e2c8d78510b98523d /drivers/mmc/host/sdhci-pci.c
parent66b50a00992dca97b442e016a9b2dba892e2df61 (diff)
downloadlinux-fsl-qoriq-dcaff04d36fd7f22973bf4fc108912ce19bcef4f.tar.xz
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
0 files changed, 0 insertions, 0 deletions