linux/drivers/media/platform/mtk-vcodec
Yu Kuai d8d35c1ea8 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: 4e855a6efa ("[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>
2020-12-30 11:51:08 +01:00
..
vdec
venc
Makefile
mtk_vcodec_dec.c
mtk_vcodec_dec.h
mtk_vcodec_dec_drv.c
mtk_vcodec_dec_pm.c
mtk_vcodec_dec_pm.h
mtk_vcodec_drv.h
mtk_vcodec_enc.c
mtk_vcodec_enc.h
mtk_vcodec_enc_drv.c
mtk_vcodec_enc_pm.c media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_enc_pm() 2020-12-30 11:51:08 +01:00
mtk_vcodec_enc_pm.h
mtk_vcodec_intr.c
mtk_vcodec_intr.h
mtk_vcodec_util.c
mtk_vcodec_util.h
vdec_drv_base.h
vdec_drv_if.c
vdec_drv_if.h
vdec_ipi_msg.h
vdec_vpu_if.c
vdec_vpu_if.h
venc_drv_base.h
venc_drv_if.c
venc_drv_if.h
venc_ipi_msg.h
venc_vpu_if.c
venc_vpu_if.h