]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mmc: sdhci-of-esdhc: add quirk to ignore command inhibit for data
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 11 Mar 2019 02:16:51 +0000 (02:16 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commit1f1929f3f2faf0815e602aa31d6ac955fb22163d
treecc4696f8f6be28af6afe17fc2ed4dad88d26e051
parentb214fe592ab72a20d93ab4b252c8ff4607512633
mmc: sdhci-of-esdhc: add quirk to ignore command inhibit for data

For some controllers, in Present State Register, Data Line
Active bit is not reliable for commands (such as CMD6, CMD7,
CMD12, CMD28, CMD29, or CMD38) with busy signal. DLA affects
Command with Data Inhibit bit. Therefore, software driver
may not know the busy status in DLA/CDIHB.

Futunately MMC core driver has already polled card status
with CMD13 after sending any command with busy signal. So
we can just ignore CDIHB never released issue for such
controllers. This patch is to add a quirk to handle this.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c