ANDROID: mmc: sdio: Add concept of an 'embedded' SDIO device.
authorSan Mehat <san@android.com>
Mon, 14 Apr 2008 22:22:49 +0000 (15:22 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commitc951eac0271032cc1f793f6a61fcf8f285ffe075
tree8c832d552e5caf281bd5ad6575dd6c6f991073a3
parentc2cac757113f76bbccef2a34e80430d20f22ab12
ANDROID: mmc: sdio: Add concept of an 'embedded' SDIO device.

This is required to support chips which use SDIO for signaling/
communication but do not implement the various card enumeration registers
as required for full SD / SDIO cards.

mmc: sdio: Fix bug where we're freeing the CIS tables we never allocated when using EMBEDDED_SDIO
mmc: Add max_blksize to embedded SDIO data

Change-Id: Ibff2e3e991e5522f55ec8c6edc25ed09f2553736
Signed-off-by: San Mehat <san@google.com>
[AmitP: Rebased the original commit to align with the upstream commit
        5fc3d80ef496 ("mmc: sdio: don't use rocr to check if the card could support UHS mode")

        Also folded following android-4.9 commit changes into this patch
        d775b65ecaf6 ("ANDROID: mmc: core: Remove stray CONFIG_EXPERIMENTAL dependencies")]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/mmc/core/Kconfig
drivers/mmc/core/core.c
drivers/mmc/core/sdio.c
drivers/mmc/core/sdio_bus.c
include/linux/amba/mmci.h
include/linux/mmc/host.h
include/linux/mmc/sdio_func.h