diff options
author | 2021-03-05 10:48:19 +0100 | |
---|---|---|
committer | 2021-03-22 10:19:45 +0100 | |
commit | 95667791eb6e21a7f6c9ec4b633a8bf480a7675d (patch) | |
tree | ea277c5074d55b70e672c39e612a183f46339584 /include/uapi/linux/v4l2-subdev.h | |
parent | media: ti-vpe: cal: Implement media controller centric API (diff) | |
download | linux-rng-95667791eb6e21a7f6c9ec4b633a8bf480a7675d.tar.xz linux-rng-95667791eb6e21a7f6c9ec4b633a8bf480a7675d.zip |
media: platform: xilinx: fix error return code of xvip_graph_init()
When the list of xdev->notifier.asd_list is empty, no error return code
of xvip_graph_init() is assigned.
To fix this bug, ret is assigned with -ENOENT as error return code.
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi/linux/v4l2-subdev.h')
0 files changed, 0 insertions, 0 deletions