mmc: sdhci-pxav3: fix error handling of sdhci_add_host
Commit 0dcaa2499b
improved error
handling of sdhci_add_host. However, "err_of_parse" and "err_cd_req"
should be placed after "pm_runtime_disable(&pdev->dev)".
Signed-off-by: Xiang Wang <wangx@marvell.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
c735413363
commit
87d2163dae
1 changed files with 2 additions and 2 deletions
|
@ -380,11 +380,11 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
|
|||
|
||||
return 0;
|
||||
|
||||
err_of_parse:
|
||||
err_cd_req:
|
||||
err_add_host:
|
||||
pm_runtime_put_sync(&pdev->dev);
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
err_of_parse:
|
||||
err_cd_req:
|
||||
clk_disable_unprepare(clk);
|
||||
err_clk_get:
|
||||
err_mbus_win:
|
||||
|
|
Loading…
Reference in a new issue