Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: platform: sunxi: sun6i-csi: fix error return code of sun6i_vid…
…eo_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 <[email protected]> Signed-off-by: Jia-Ju Bai <[email protected]> Fixes: 5cc7522 ("media: sun6i: Add support for Allwinner CSI V3s") Acked-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information