projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4237de
)
[media] cx231xx: use v4l2_s_ctrl instead of the s_ctrl op
author
Hans Verkuil
<
[email protected]
>
Sun, 3 Jul 2016 11:59:33 +0000
(08:59 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 12 Jul 2016 14:14:27 +0000
(11:14 -0300)
This op is deprecated and should not be used anymore.
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/usb/cx231xx/cx231xx-417.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/cx231xx/cx231xx-417.c
b/drivers/media/usb/cx231xx/cx231xx-417.c
index 00da024b47a6cc4a76b17f0ae92fc2d032a3a225..29d450c15f293bed2b59dc92c207fedef5cd67c5 100644
(file)
--- a/
drivers/media/usb/cx231xx/cx231xx-417.c
+++ b/
drivers/media/usb/cx231xx/cx231xx-417.c
@@
-1570,10
+1570,12
@@
static int vidioc_s_ctrl(struct file *file, void *priv,
{
struct cx231xx_fh *fh = file->private_data;
struct cx231xx *dev = fh->dev;
+ struct v4l2_subdev *sd;
dprintk(3, "enter vidioc_s_ctrl()\n");
/* Update the A/V core */
- call_all(dev, core, s_ctrl, ctl);
+ v4l2_device_for_each_subdev(sd, &dev->v4l2_dev)
+ v4l2_s_ctrl(NULL, sd->ctrl_handler, ctl);
dprintk(3, "exit vidioc_s_ctrl()\n");
return 0;
}