Re: [PATCH] clk: fixed-factor: fix of_node_get-put imbalance

2018-11-06 Thread Stephen Boyd
Quoting Ricardo Ribalda Delgado (2018-11-01 06:15:49) > When the fixed factor clock is created by devicetree, > of_clk_add_provider is called. Add a call to > of_clk_del_provider in the remove function to balance > it out. > > Reported-by: Alan Tull > Fixes: 971451b3b15d ("clk: fixed-factor: Con

Re: [PATCH] clk: fixed-factor: fix of_node_get-put imbalance

2018-11-01 Thread Stephen Boyd
Quoting Ricardo Ribalda Delgado (2018-11-01 06:15:49) > When the fixed factor clock is created by devicetree, > of_clk_add_provider is called. Add a call to > of_clk_del_provider in the remove function to balance > it out. > > Reported-by: Alan Tull > Fixes: 971451b3b15d ("clk: fixed-factor: Con

[PATCH] clk: fixed-factor: fix of_node_get-put imbalance

2018-11-01 Thread Ricardo Ribalda Delgado
When the fixed factor clock is created by devicetree, of_clk_add_provider is called. Add a call to of_clk_del_provider in the remove function to balance it out. Reported-by: Alan Tull Fixes: 971451b3b15d ("clk: fixed-factor: Convert into a module platform driver") Signed-off-by: Ricardo Ribalda