mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
12 lines
296 B
Diff
12 lines
296 B
Diff
--- a/drivers/pwm/pwm-rockchip-v4.c
|
|
+++ b/drivers/pwm/pwm-rockchip-v4.c
|
|
@@ -292,6 +292,8 @@ static int rockchip_pwm_v4_probe(struct
|
|
if (IS_ERR(chip))
|
|
return PTR_ERR(chip);
|
|
|
|
+ device_set_of_node_from_dev(&pdev->dev, pdev->dev.parent);
|
|
+
|
|
pc = to_rockchip_pwm_v4(chip);
|
|
pc->pwmf = pwmf;
|
|
|