diff options
author | Marcin Wojtas <mw@semihalf.com> | 2015-10-06 03:22:37 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-10-08 19:24:23 +0200 |
commit | 2162d9f41e7c4778b96b8e3b97adcedbadc861f1 (patch) | |
tree | 614fd768f3fbea0c033a77f62f4acd0bd90752c3 /drivers/mmc | |
parent | fa7964147da57b2d40c2db2b6ed98fb7dc934bff (diff) | |
download | linux-2162d9f41e7c4778b96b8e3b97adcedbadc861f1.tar.gz linux-2162d9f41e7c4778b96b8e3b97adcedbadc861f1.tar.bz2 linux-2162d9f41e7c4778b96b8e3b97adcedbadc861f1.zip |
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 <mw@semihalf.com>
Cc: <stable@vger.kernel.org> # v4.2
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-pxav3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index 89a9e49e2ea8..f5edf9d3a18a 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -402,7 +402,7 @@ static int sdhci_pxav3_probe(struct platform_device *pdev) if (of_device_is_compatible(np, "marvell,armada-380-sdhci")) { ret = armada_38x_quirks(pdev, host); if (ret < 0) - goto err_clk_get; + goto err_mbus_win; ret = mv_conf_mbus_windows(pdev, mv_mbus_dram_info()); if (ret < 0) goto err_mbus_win; |