OpenCloudOS-Kernel/drivers/media/platform/amphion
Ming Qian 47aa866f24 media: amphion: cleanup media device if register it fail
there is issue that driver forget to
call media_device_cleanup if media_device_register fail,
it will led to memory leak.
Also driver should check the return value of vpu_add_func.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-03-18 07:32:40 +01:00
..
Kconfig media: platform: amphion: Fix build error without MAILBOX 2022-03-18 06:03:40 +01:00
Makefile
vdec.c media: amphion: fix some error related with undefined reference to __divdi3 2022-03-18 07:31:05 +01:00
venc.c media: amphion: add v4l2 m2m vpu encoder stateful driver 2022-03-07 17:13:33 +01:00
vpu.h
vpu_cmds.c media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_cmds.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_codec.h
vpu_color.c media: amphion: add vpu v4l2 m2m support 2022-03-07 17:13:33 +01:00
vpu_core.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_core.h
vpu_dbg.c media: amphion: fix an issue that using pm_runtime_get_sync incorrectly 2022-03-18 07:29:58 +01:00
vpu_defs.h
vpu_drv.c media: amphion: cleanup media device if register it fail 2022-03-18 07:32:40 +01:00
vpu_helpers.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_helpers.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_malone.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_malone.h media: amphion: implement malone decoder rpc interface 2022-03-07 17:13:33 +01:00
vpu_mbox.c media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_mbox.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_msgs.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_msgs.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_rpc.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_rpc.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_v4l2.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_v4l2.h media: amphion: add vpu v4l2 m2m support 2022-03-07 17:13:33 +01:00
vpu_windsor.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_windsor.h media: amphion: implement windsor encoder rpc interface 2022-03-07 17:13:33 +01:00