diff options
author | Yu Kuai <yukuai3@huawei.com> | 2020-10-09 14:38:03 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-16 10:31:09 +0100 |
commit | 4affafd7bec7c65da31777f18bd20420f1aeb5f8 (patch) | |
tree | 6fe3f1c200c92e35f1bcbbfc2a6c8c45c5e32593 /ipc/sem.c | |
parent | 27c3943683f74e35e1d390ceb2e3639eff616ad6 (diff) |
media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_enc_pm()
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>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions