mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 09:56:00 +00:00
[media] s5p-fimc: Enable interworking without subdev s_stream
Prevent VIDIOC_STREAMON failing when s_stream callback is not implemented by a sensor subdev driver. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
3d0ce7ed03
commit
e9654ef287
@ -191,7 +191,8 @@ static int fimc_stop_capture(struct fimc_dev *fimc)
|
||||
FIMC_SHUTDOWN_TIMEOUT);
|
||||
|
||||
ret = v4l2_subdev_call(cap->sd, video, s_stream, 0);
|
||||
if (ret)
|
||||
|
||||
if (ret && ret != -ENOIOCTLCMD)
|
||||
v4l2_err(&fimc->vid_cap.v4l2_dev, "s_stream(0) failed\n");
|
||||
|
||||
spin_lock_irqsave(&fimc->slock, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user