forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/ipu-v3/ipu-common.c
....@@ -1168,6 +1168,7 @@
11681168 pdev = platform_device_alloc(reg->name, id++);
11691169 if (!pdev) {
11701170 ret = -ENOMEM;
1171
+ of_node_put(of_node);
11711172 goto err_register;
11721173 }
11731174