u-boot->backligt:fix pwm dts cannot read the really value
This commit is contained in:
@ -113,7 +113,7 @@ static int rk_bl_parse_dt(const void *blob)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
bl.id = data[1];
|
||||
bl.id = fdtdec_get_int(blob, bl.node, "rockchip,pwm_id", 1);
|
||||
bl.period = data[2];
|
||||
pwm_node = fdt_node_offset_by_phandle(blob, data[0]);
|
||||
#ifdef CONFIG_ROCKCHIP_ARCH64
|
||||
|
||||
Reference in New Issue
Block a user