Skip to content
Snippets Groups Projects
Commit 6250bc73 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

media: c8sectpfe: Add of_node_put() when breaking out of loop


[ Upstream commit 63ff05a1 ]

In configure_channels(), we should call of_node_put() when breaking
out of for_each_child_of_node() which will automatically increase
and decrease the refcount.

Fixes: c5f5d0f9 ("[media] c8sectpfe: STiH407/10 Linux DVB demux support")
Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0fcee275
No related merge requests found
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