Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698140

Re: [PATCH] device property: Fix usecount for of_graph_get_port_parent()

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] device property: Fix usecount for of_graph_get_port_parent()
Date 2017-07-27 18:20 +0200
Message-ID <u7TG2-8lQ-23@gated-at.bofh.it> (permalink)
References <u7NAD-4pu-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Jul 27, 2017 at 02:44:05AM -0700, Tony Lindgren wrote:
> Fix inconsistent use of of_graph_get_port_parent() where
> asoc_simple_card_parse_graph_dai() does of_node_get() before
> calling it while other callers do not. We can fix this by
> not trashing the node passed to of_graph_get_port_parent().

This looks like it gives a much less surprising API so hopefully helps
avoid issues in callers:

Reviewed-by: Mark Brown <broonie@kernel.org>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] device property: Fix usecount for of_graph_get_port_parent() Tony Lindgren <tony@atomide.com> - 2017-07-27 11:50 +0200
  Re: [PATCH] device property: Fix usecount for  of_graph_get_port_parent() Mark Brown <broonie@kernel.org> - 2017-07-27 18:20 +0200
  Re: [PATCH] device property: Fix usecount for of_graph_get_port_parent() Rob Herring <robh+dt@kernel.org> - 2017-07-28 00:20 +0200
    Re: [PATCH] device property: Fix usecount for  of_graph_get_port_parent() Tony Lindgren <tony@atomide.com> - 2017-07-28 08:10 +0200
      Re: [PATCH] device property: Fix usecount for  of_graph_get_port_parent() Tony Lindgren <tony@atomide.com> - 2017-07-28 10:30 +0200
        Re: [PATCH] device property: Fix usecount for of_graph_get_port_parent() Rob Herring <robh+dt@kernel.org> - 2017-07-29 01:00 +0200
        Re: device property: Fix usecount for of_graph_get_port_parent() Antonio Borneo <borneo.antonio@gmail.com> - 2017-07-30 22:40 +0200

csiph-web