From: Hans Verkuil Date: Sun, 3 Jul 2016 11:58:55 +0000 (-0300) Subject: [media] mcam-core: use v4l2_s_ctrl instead of the s_ctrl op X-Git-Tag: v4.14-rc1~2828^2~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f3cc487e072394fe3d196ab283efe35984ecf3d;p=platform%2Fkernel%2Flinux-rpi.git [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: Hans Verkuil Cc: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/marvell-ccic/mcam-core.c b/drivers/media/platform/marvell-ccic/mcam-core.c index 9171174..af59bf4 100644 --- a/drivers/media/platform/marvell-ccic/mcam-core.c +++ b/drivers/media/platform/marvell-ccic/mcam-core.c @@ -973,7 +973,7 @@ static int mcam_cam_set_flip(struct mcam_camera *cam) memset(&ctrl, 0, sizeof(ctrl)); ctrl.id = V4L2_CID_VFLIP; ctrl.value = flip; - return sensor_call(cam, core, s_ctrl, &ctrl); + return v4l2_s_ctrl(NULL, cam->sensor->ctrl_handler, &ctrl); }