build/patch/kernel/archive/rk3399-4.4/320_fix_kernelcrash_with_isp1.patch

14 lines
410 B
Diff

diff --git a/drivers/of/property.c b/drivers/of/property.c
index 2c201e2c..ae79a6f8 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -900,7 +900,7 @@ of_fwnode_graph_get_port_parent(struct fwnode_handle *fwnode)
struct device_node *np;
/* Get the parent of the port */
- np = of_get_next_parent(to_of_node(fwnode));
+ np = of_get_parent(to_of_node(fwnode));
if (!np)
return NULL;