Re: [PATCH] powerpc/mpc5xxx: Add missing fwnode_handle_put()

2023-08-30 Thread Michael Ellerman
On Wed, 22 Mar 2023 11:04:23 +0800, Liang He wrote: > In mpc5xxx_fwnode_get_bus_frequency(), we should add > fwnode_handle_put() when break out of the iteration > fwnode_for_each_parent_node() as it will automatically > increase and decrease the refcounter. > > Applied to powerpc/next. [1/1] po

[PATCH] powerpc/mpc5xxx: Add missing fwnode_handle_put()

2023-03-21 Thread Liang He
In mpc5xxx_fwnode_get_bus_frequency(), we should add fwnode_handle_put() when break out of the iteration fwnode_for_each_parent_node() as it will automatically increase and decrease the refcounter. Fixes: de06fba62af6 ("powerpc/mpc5xxx: Switch mpc5xxx_get_bus_frequency() to use fwnode") Signed-of