Skip to content

Commit 2162d9f

Browse files
wojtas-marcinstorulf
authored andcommitted
mmc: sdhci-pxav3: fix error handling of armada_38x_quirks
In case of armada_38x_quirks error, all clocks should be cleaned-up, same as after mv_conf_mbus_windows failure. Signed-off-by: Marcin Wojtas <[email protected]> Cc: <[email protected]> # v4.2 Reviewed-by: Gregory CLEMENT <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent fa79641 commit 2162d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/sdhci-pxav3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
402402
if (of_device_is_compatible(np, "marvell,armada-380-sdhci")) {
403403
ret = armada_38x_quirks(pdev, host);
404404
if (ret < 0)
405-
goto err_clk_get;
405+
goto err_mbus_win;
406406
ret = mv_conf_mbus_windows(pdev, mv_mbus_dram_info());
407407
if (ret < 0)
408408
goto err_mbus_win;

0 commit comments

Comments
 (0)