Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6b24d047 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()



[ Upstream commit 0a14c1d0113f121151edf34333cdf212dd209190 ]

We should use of_node_put() for the reference 'np' returned by
of_get_child_by_name() which will increase the refcount.

Fixes: 17f1de56 ("mt76: add common code shared between multiple chipsets")
Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0993b0f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment