Re: [PATCH] of: property: Document that of_graph_get_endpoint_by_regs needs of_node_put

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 15, 2019 at 10:22:47AM +0100, Maxime Ripard wrote:
> The node returned by of_graph_get_endpoint_by_regs has a reference taken,
> and we need to put that reference back when done with the node.
> 
> However, the documentation for that node doesn't mention it, so let's make
> sure it does.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxx>
> ---
>  drivers/of/property.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied.

Rob



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux