mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
soc: rockchip: opp_select: Fix of_device_id NULL when get soc info
Change-Id: I8a2d96c1f038bf4f288ded9f7edc944ccbac7950 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
@@ -770,7 +770,7 @@ int rockchip_init_opp_table(struct device *dev,
|
||||
}
|
||||
of_node_put(np);
|
||||
|
||||
rockchip_get_soc_info(dev, NULL, &bin, &process);
|
||||
rockchip_get_soc_info(dev, matches, &bin, &process);
|
||||
rockchip_get_scale_volt_sel(dev, lkg_name, reg_name, bin, process,
|
||||
&scale, &volt_sel);
|
||||
rockchip_set_opp_info(dev, process, volt_sel);
|
||||
|
||||
Reference in New Issue
Block a user