mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
soc: rockchip: opp_select: Don't remove static OPP
Only dynamic OPPs can be removed by dev_pm_opp_remove. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I7362e7f58927ea9258c5abe761833e9fdc5e7656
This commit is contained in:
@@ -1049,7 +1049,7 @@ static int rockchip_adjust_opp_table(struct device *dev,
|
||||
goto out;
|
||||
}
|
||||
if (opp->rate > scale_rate)
|
||||
dev_pm_opp_remove(dev, opp->rate);
|
||||
dev_pm_opp_disable(dev, opp->rate);
|
||||
dev_pm_opp_put(opp);
|
||||
}
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user