projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2701fa0
)
OMAPDSS: Fix node refcount leak in omapdss_of_get_next_port()
author
Jyri Sarha
<jsarha@ti.com>
Fri, 7 Aug 2015 11:04:29 +0000
(14:04 +0300)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 10 Aug 2015 09:22:35 +0000
(12:22 +0300)
Fix node refcount leak in omapdss_of_get_next_port().
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dss-of.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/fbdev/omap2/dss/dss-of.c
b/drivers/video/fbdev/omap2/dss/dss-of.c
index 928ee639c0c19ba3a2346737c41b44f38e82c0b5..c8c065d92b592437e06c1cf47ec177a0dabb7066 100644
(file)
--- a/
drivers/video/fbdev/omap2/dss/dss-of.c
+++ b/
drivers/video/fbdev/omap2/dss/dss-of.c
@@
-60,6
+60,8
@@
omapdss_of_get_next_port(const struct device_node *parent,
}
prev = port;
} while (of_node_cmp(port->name, "port") != 0);
+
+ of_node_put(ports);
}
return port;