mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
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