diff options
| author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2021-03-06 15:15:28 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-22 10:20:35 +0100 |
| commit | f3d384e36630e2a552d874e422835606d9cf230a (patch) | |
| tree | 1725468b952cf5122329d7c831ca02475b49cefe /include/uapi/linux/ip.h | |
| parent | 41c991bd234982fb2a4e4ecfae68db711a6e3b31 (diff) | |
media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
When sun6i_video_remote_subdev() returns NULL to subdev, no error return
code of sun6i_video_start_streaming() is assigned.
To fix this bug, ret is assigned with -EINVAL in this case.
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Fixes: 5cc7522d8965 ("media: sun6i: Add support for Allwinner CSI V3s")
Acked-by: Chen-Yu Tsai <wens@csie.org>
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/ip.h')
0 files changed, 0 insertions, 0 deletions
