diff options
| -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 928ee639c0c1..c8c065d92b59 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, | |||
| 60 | } | 60 | } |
| 61 | prev = port; | 61 | prev = port; |
| 62 | } while (of_node_cmp(port->name, "port") != 0); | 62 | } while (of_node_cmp(port->name, "port") != 0); |
| 63 | |||
| 64 | of_node_put(ports); | ||
| 63 | } | 65 | } |
| 64 | 66 | ||
| 65 | return port; | 67 | return port; |
