Commit 5f3cc487 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] mcam-core: use v4l2_s_ctrl instead of the s_ctrl op

This op is deprecated and should not be used anymore.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 25bba368
...@@ -973,7 +973,7 @@ static int mcam_cam_set_flip(struct mcam_camera *cam) ...@@ -973,7 +973,7 @@ static int mcam_cam_set_flip(struct mcam_camera *cam)
memset(&ctrl, 0, sizeof(ctrl)); memset(&ctrl, 0, sizeof(ctrl));
ctrl.id = V4L2_CID_VFLIP; ctrl.id = V4L2_CID_VFLIP;
ctrl.value = flip; ctrl.value = flip;
return sensor_call(cam, core, s_ctrl, &ctrl); return v4l2_s_ctrl(NULL, cam->sensor->ctrl_handler, &ctrl);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment