diff options
author | Jyri Sarha <jsarha@ti.com> | 2015-08-07 11:04:29 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-08-10 09:22:35 (GMT) |
commit | 2b55cb3b04684f131a01faf2eb8e4d822d293f24 (patch) | |
tree | 82911e142ddc445dd2759f940b9be443af2938a5 /drivers | |
parent | 2701fa0864ecb9e49d47a4aa1c02f172ab79639a (diff) | |
download | linux-2b55cb3b04684f131a01faf2eb8e4d822d293f24.tar.xz |
OMAPDSS: Fix node refcount leak in omapdss_of_get_next_port()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fbdev/omap2/dss/dss-of.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dss-of.c b/drivers/video/fbdev/omap2/dss/dss-of.c index 928ee63..c8c065d 100644 --- 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; |