Re: [PATCH] usb: ulpi: Add missing of_node_get() in ulpi_of_register()

2017-11-11 Thread Johan Hovold
On Fri, Nov 10, 2017 at 05:43:00PM -0800, Stephen Boyd wrote: > In ulpi_of_register() we call of_find_node_by_name() which > unconditionally calls of_node_put() on the 'from' argument. We > haven't called of_node_get() though, so we've put the node once > without getting it first. Add the of_node_g

[PATCH] usb: ulpi: Add missing of_node_get() in ulpi_of_register()

2017-11-10 Thread Stephen Boyd
In ulpi_of_register() we call of_find_node_by_name() which unconditionally calls of_node_put() on the 'from' argument. We haven't called of_node_get() though, so we've put the node once without getting it first. Add the of_node_get() call so that things are properly balanced. Fixes: ef6a7bcfb01c (