diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-07-22 15:39:14 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-06 12:27:45 +0300 |
commit | dd4eddc4ba31fbf4554fc5fa12d3a553b50e1469 (patch) | |
tree | 059036e8cdf0aad1d75ee0ae55c6bd067d570226 /net/switchdev/switchdev.c | |
parent | 9bde425e70b6d6b49f3206a1d3817bccb92a893d (diff) | |
download | linux-dd4eddc4ba31fbf4554fc5fa12d3a553b50e1469.tar.xz |
media: mtk-mdp: Fix a refcounting bug on error in init
We need to call of_node_put(comp->dev_node); on the error paths in this
function.
Fixes: c8eb2d7e8202 ("[media] media: Add Mediatek MDP Driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions