Skip to content

OMAPDSS: Fix of-node refcount issues

Jyri Sarha linux-fbdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2OMAPDSS: Fix node refcount leak in omapdss_of_get_next_port()drivers/video/fbdev/omap2/dss/dss-of.c+1 -00 replies
2/2OMAPDSS: Fix omap_dss_find_output_by_port_node() port refcount decrementdrivers/video/fbdev/omap2/dss/dss-of.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] OMAPDSS: Fix of-node refcount issues

Changes since the first version:
- Fix commit descriptions and subject according to Tomi's comments

I found couple of refcounting issues related to OMAP DSS of-node handling. Second patch should fix the "ERROR: Bad of_node_put() on /encoder@0/ports/port@1" -problem.

In the long run it would make sense start using of_graph_*() functions in OMAP DSS too. However the semantics of of_graph_*() functions are quite different from omapdss_of_*() counterparts. So it better to just fix these bugs first.

Jyri Sarha (2):
OMAPDSS: Fix node refcount leak in omapdss_of_get_next_port()
OMAPDSS: Fix omap_dss_find_output_by_port_node() port refcount
decrement

 drivers/video/fbdev/omap2/dss/dss-of.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1