Re: [PATCH] media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()

2021-03-07 Thread Jia-Ju Bai
On 2021/3/7 20:47, Chen-Yu Tsai wrote: On Sat, Mar 6, 2021 at 10:15 PM Jia-Ju Bai wrote: 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

Re: [PATCH] media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()

2021-03-07 Thread Chen-Yu Tsai
On Sat, Mar 6, 2021 at 10:15 PM Jia-Ju Bai wrote: > > 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 > Signed-off-by: Jia-Ju

[PATCH] media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()

2021-03-06 Thread Jia-Ju Bai
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 Signed-off-by: Jia-Ju Bai --- drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c | 4