projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] mcam-core: use v4l2_s_ctrl instead of the s_ctrl op
[cascardo/linux.git]
/
drivers
/
media
/
platform
/
marvell-ccic
/
mcam-core.c
diff --git
a/drivers/media/platform/marvell-ccic/mcam-core.c
b/drivers/media/platform/marvell-ccic/mcam-core.c
index
9171174
..
af59bf4
100644
(file)
--- 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);
}