Re: [PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-25 Thread Daniel Lezcano
On 25/11/2018 05:25, Frank Lee wrote: > On Sun, Nov 25, 2018 at 3:49 AM Daniel Lezcano > wrote: >> >> On 24/11/2018 15:58, Frank Lee wrote: >>> On Thu, Nov 22, 2018 at 11:23 PM Yangtao Li wrote: of_find_node_by_path() acquires a reference to the node returned by it and that referen

Re: [PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-24 Thread Frank Lee
On Sun, Nov 25, 2018 at 3:49 AM Daniel Lezcano wrote: > > On 24/11/2018 15:58, Frank Lee wrote: > > On Thu, Nov 22, 2018 at 11:23 PM Yangtao Li wrote: > >> > >> of_find_node_by_path() acquires a reference to the node > >> returned by it and that reference needs to be dropped by its caller. > >> i

Re: [PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-24 Thread Daniel Lezcano
On 24/11/2018 15:58, Frank Lee wrote: > On Thu, Nov 22, 2018 at 11:23 PM Yangtao Li wrote: >> >> of_find_node_by_path() acquires a reference to the node >> returned by it and that reference needs to be dropped by its caller. >> integrator_ap_timer_init_of() doesn't do that, so fix it. >> >> Signed

Re: [PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-24 Thread Frank Lee
On Thu, Nov 22, 2018 at 11:23 PM Yangtao Li wrote: > > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > integrator_ap_timer_init_of() doesn't do that, so fix it. > > Signed-off-by: Yangtao Li > --- > drivers/clocksou

[PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-22 Thread Yangtao Li
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. integrator_ap_timer_init_of() doesn't do that, so fix it. Signed-off-by: Yangtao Li --- drivers/clocksource/timer-integrator-ap.c | 20 ++-- 1 file changed