“21bed701da009b4192d9e86b3596cf210ac7369c”上不存在“drivers/tty/rocket.c”
提交 b4237de0 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[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: NHans Verkuil <hans.verkuil@cisco.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 5f3cc487
......@@ -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);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册