mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
soc: rockchip: opp_select: Fix safe rate error
Replace tmp_safe_rate type with unsigned long. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I6677eea0a76448d58d0ef1e23ceb0cfcf393c80a
This commit is contained in:
@@ -934,8 +934,9 @@ static int rockchip_adjust_opp_by_irdrop(struct device *dev,
|
||||
struct sel_table *irdrop_table = NULL;
|
||||
struct opp_table *opp_table;
|
||||
struct dev_pm_opp *opp;
|
||||
unsigned long tmp_safe_rate = 0;
|
||||
int evb_irdrop = 0, board_irdrop, delta_irdrop;
|
||||
int tmp_safe_rate = 0, opp_rate, i, ret = 0;
|
||||
int opp_rate, i, ret = 0;
|
||||
u32 max_volt = UINT_MAX;
|
||||
bool reach_max_volt = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user