diff options
author | Yu Kuai <yukuai3@huawei.com> | 2020-10-09 14:38:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-30 11:51:08 +0100 |
commit | d8d35c1ea883df4e21c0ece26761f6aed642e11e (patch) | |
tree | 09289a2bc0abbfc2e06f56476bb012f87e7d8d42 /include/media | |
parent | c8adf58057b6c45c32806e9d99524a382e54bea3 (diff) |
media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_enc_pm()
[ Upstream commit 4affafd7bec7c65da31777f18bd20420f1aeb5f8 ]
if of_find_device_by_node() succeed, mtk_vcodec_init_enc_pm() doesn't have
a corresponding put_device(). Thus add jump target to fix the exception
handling for this function implementation.
Fixes: 4e855a6efa54 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions