Skip to content

Commit 1521338

Browse files
claudiubezneaUlf Hansson
authored andcommitted
mmc: renesas_sdhi: Deassert the reset signal on probe
Deassert the reset signal of the SDHI controller during probe to avoid relying on the previous bootloaders. Without deasserting the reset signal, the SDHI controller will not function. Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 7b6e6c4 commit 1521338

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mmc/host/renesas_sdhi_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ int renesas_sdhi_probe(struct platform_device *pdev,
11031103
if (IS_ERR(priv->clk_cd))
11041104
return dev_err_probe(&pdev->dev, PTR_ERR(priv->clk_cd), "cannot get cd clock");
11051105

1106-
priv->rstc = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL);
1106+
priv->rstc = devm_reset_control_get_optional_exclusive_deasserted(&pdev->dev, NULL);
11071107
if (IS_ERR(priv->rstc))
11081108
return PTR_ERR(priv->rstc);
11091109

0 commit comments

Comments
 (0)