mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
[ Upstream commit0a14c1d011] We should use of_node_put() for the reference 'np' returned by of_get_child_by_name() which will increase the refcount. Fixes:17f1de56df("mt76: add common code shared between multiple chipsets") Signed-off-by: Liang He <windhl@126.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c345cab041
commit
d2aacdcc9f
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue