diff options
| author | Ming Qian <ming.qian@nxp.com> | 2022-03-14 06:28:55 +0100 | 
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-03-18 07:32:40 +0100 | 
| commit | 47aa866f248c89b319b99ac7b21a0a961ed2264a (patch) | |
| tree | 1183f65a5b238050cafc0cd76fc312bbce8f7b89 /scripts/gdb/linux/proc.py | |
| parent | a9f7224c67b3357e6585e6ddbcabd0523ca0f39f (diff) | |
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>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
