Skip to content

Commit 75c4f48

Browse files
wojtas-marcingregkh
authored andcommitted
mmc: sdhci-pxav3: fix error handling of armada_38x_quirks
commit 2162d9f upstream. 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]> Reviewed-by: Gregory CLEMENT <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7c8e140 commit 75c4f48

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)