mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
PM / devfreq: rockchip_dmc: fix rk3328 of_get_ddr_timings fail
because of_parse_phandle() phandle_name parameter incorrect Change-Id: Ic1b2cf7b1a7331aff52102a863e97a937677f2ae Signed-off-by: CanYang He <hcy@rock-chips.com>
This commit is contained in:
parent
b3e88957f8
commit
96312b689d
|
|
@ -1045,7 +1045,7 @@ static void of_get_rk3328_timings(struct device *dev,
|
|||
(struct rk3328_ddr_dts_config_timing *)(timing +
|
||||
DTS_PAR_OFFSET / 4);
|
||||
|
||||
np_tim = of_parse_phandle(np, "rockchip,ddr_timing", 0);
|
||||
np_tim = of_parse_phandle(np, "ddr_timing", 0);
|
||||
if (!np_tim) {
|
||||
ret = -EINVAL;
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user