diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-07-03 12:13:04 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-12 14:14:04 (GMT) |
commit | b4237de0fb3d25fc532f03887fd26a3c6f3135e9 (patch) | |
tree | 6c2321040cd3b1cabbdefa397bb0e19ec7728472 | |
parent | 5f3cc487e072394fe3d196ab283efe35984ecf3d (diff) | |
download | linux-b4237de0fb3d25fc532f03887fd26a3c6f3135e9.tar.xz |
[media] via-camera: 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>
-rw-r--r-- | drivers/media/platform/via-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via-camera.c index 1254f7e..7ca12de 100644 --- a/drivers/media/platform/via-camera.c +++ b/drivers/media/platform/via-camera.c @@ -240,7 +240,7 @@ static int viacam_set_flip(struct via_camera *cam) memset(&ctrl, 0, sizeof(ctrl)); ctrl.id = V4L2_CID_VFLIP; ctrl.value = flip_image; - return sensor_call(cam, core, s_ctrl, &ctrl); + return v4l2_s_ctrl(NULL, cam->sensor->ctrl_handler, &ctrl); } /* |