Skip to content
Commit 77119adb authored by Xiongfeng Wang's avatar Xiongfeng Wang Committed by Mauro Carvalho Chehab
Browse files

media: mtk-vcodec: Add missing of_node_put() in mtk_vdec_hw_prob_done()

of_find_compatible_node() will increment the refcount of the returned
device_node. Calling of_node_put() to avoid the refcount leak.

Link: https://lore.kernel.org/linux-media/20220316123452.186166-1-wangxiongfeng2@huawei.com


Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent f4a4f9a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment