Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sdhci: tegra: Enable MMC_CAP_WAIT_WHILE_BUSY host capability

Tegra sdhci host supports HW busy detection of the device busy
signaling over data0 lane.

So, this patch enables host capability MMC_CAP_wAIT_WHILE_BUSY.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Link: https://lore.kernel.org/r/1583941675-9884-2-git-send-email-skomatineni@nvidia.com
[Ulf: Lumped together the caps assignments]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Sowjanya Komatineni and committed by
Ulf Hansson
ff124c31 5e958e4a

+2 -2
+2 -2
drivers/mmc/host/sdhci-tegra.c
··· 1583 1583 if (tegra_host->soc_data->nvquirks & NVQUIRK_ENABLE_DDR50) 1584 1584 host->mmc->caps |= MMC_CAP_1_8V_DDR; 1585 1585 1586 - /* R1B responses is required to properly manage HW busy detection. */ 1587 - host->mmc->caps |= MMC_CAP_NEED_RSP_BUSY; 1586 + /* HW busy detection is supported, but R1B responses are required. */ 1587 + host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY | MMC_CAP_NEED_RSP_BUSY; 1588 1588 1589 1589 tegra_sdhci_parse_dt(host); 1590 1590