Skip to content

Commit a41fcca

Browse files
balejkstorulf
authored andcommitted
mmc: sdhci-pxav3: set NEED_RSP_BUSY capability
Set the MMC_CAP_NEED_RSP_BUSY capability for the sdhci-pxav3 host to prevent conversion of R1B responses to R1. Without this, the eMMC card in the samsung,coreprimevelte smartphone using the Marvell PXA1908 SoC with this mmc host doesn't probe with the ETIMEDOUT error originating in __mmc_poll_for_busy. Note that the other issues reported for this phone and host, namely floods of "Tuning failed, falling back to fixed sampling clock" dmesg messages for the eMMC and unstable SDIO are not mitigated by this change. Link: https://lore.kernel.org/r/[email protected]/ Link: https://lore.kernel.org/r/[email protected]/ Link: https://lore.kernel.org/r/[email protected]/ Cc: [email protected] Signed-off-by: Karel Balej <[email protected]> Acked-by: Adrian Hunter <[email protected]> Tested-by: Duje Mihanović <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 49d1626 commit a41fcca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mmc/host/sdhci-pxav3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
399399
if (!IS_ERR(pxa->clk_core))
400400
clk_prepare_enable(pxa->clk_core);
401401

402+
host->mmc->caps |= MMC_CAP_NEED_RSP_BUSY;
402403
/* enable 1/8V DDR capable */
403404
host->mmc->caps |= MMC_CAP_1_8V_DDR;
404405

0 commit comments

Comments
 (0)