diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-07-03 08:58:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-12 11:13:30 -0300 |
commit | 5f3cc487e072394fe3d196ab283efe35984ecf3d (patch) | |
tree | 3a430b115c2922fc5268de1f129c7b57c7a5c2ba /drivers | |
parent | 25bba3686697b7dd84545d666a95b451888d93ba (diff) | |
download | linux-stable-5f3cc487e072394fe3d196ab283efe35984ecf3d.tar.gz linux-stable-5f3cc487e072394fe3d196ab283efe35984ecf3d.tar.bz2 linux-stable-5f3cc487e072394fe3d196ab283efe35984ecf3d.zip |
[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 <hans.verkuil@cisco.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/marvell-ccic/mcam-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/marvell-ccic/mcam-core.c b/drivers/media/platform/marvell-ccic/mcam-core.c index 9171174521b2..af59bf4dca2d 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); } |