Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 549646a9 authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: sh_mmcif: Inform the mmc core about the max busy timeout



The sh_mmcif driver is already using a 10s request timeout. Let's also
inform the mmc core about this value, as there are situations when it
needs to know about it.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 5b1c29bc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1455,6 +1455,7 @@ static int sh_mmcif_probe(struct platform_device *pdev)

	mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_WAIT_WHILE_BUSY;
	mmc->caps2 |= MMC_CAP2_NO_SD | MMC_CAP2_NO_SDIO;
	mmc->max_busy_timeout = 10000;

	if (pd && pd->caps)
		mmc->caps |= pd->caps;