|
@@ -133,9 +133,11 @@ static int tegra124_dfll_fcpu_remove(struct platform_device *pdev)
|
|
|
struct tegra_dfll_soc_data *soc;
|
|
struct tegra_dfll_soc_data *soc;
|
|
|
|
|
|
|
|
soc = tegra_dfll_unregister(pdev);
|
|
soc = tegra_dfll_unregister(pdev);
|
|
|
- if (IS_ERR(soc))
|
|
|
|
|
|
|
+ if (IS_ERR(soc)) {
|
|
|
dev_err(&pdev->dev, "failed to unregister DFLL: %ld\n",
|
|
dev_err(&pdev->dev, "failed to unregister DFLL: %ld\n",
|
|
|
PTR_ERR(soc));
|
|
PTR_ERR(soc));
|
|
|
|
|
+ return PTR_ERR(soc);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq);
|
|
tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq);
|
|
|
|
|
|