diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 2 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tuner-core.c | 4 |
11 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c index d660c08634a2..ec5aea3134e6 100644 --- a/drivers/media/video/cx231xx/cx231xx-video.c +++ b/drivers/media/video/cx231xx/cx231xx-video.c | |||
@@ -2125,7 +2125,7 @@ static int cx231xx_v4l2_close(struct file *filp) | |||
2125 | } | 2125 | } |
2126 | 2126 | ||
2127 | /* Save some power by putting tuner to sleep */ | 2127 | /* Save some power by putting tuner to sleep */ |
2128 | call_all(dev, core, s_standby, 0); | 2128 | call_all(dev, tuner, s_standby); |
2129 | 2129 | ||
2130 | /* do this before setting alternate! */ | 2130 | /* do this before setting alternate! */ |
2131 | cx231xx_uninit_isoc(dev); | 2131 | cx231xx_uninit_isoc(dev); |
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index dc7fff22cfdd..beda42925ce7 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c | |||
@@ -875,7 +875,7 @@ static int cx23885_dev_setup(struct cx23885_dev *dev) | |||
875 | cx23885_i2c_register(&dev->i2c_bus[1]); | 875 | cx23885_i2c_register(&dev->i2c_bus[1]); |
876 | cx23885_i2c_register(&dev->i2c_bus[2]); | 876 | cx23885_i2c_register(&dev->i2c_bus[2]); |
877 | cx23885_card_setup(dev); | 877 | cx23885_card_setup(dev); |
878 | call_all(dev, core, s_standby, 0); | 878 | call_all(dev, tuner, s_standby); |
879 | cx23885_ir_init(dev); | 879 | cx23885_ir_init(dev); |
880 | 880 | ||
881 | if (cx23885_boards[dev->board].porta == CX23885_ANALOG_VIDEO) { | 881 | if (cx23885_boards[dev->board].porta == CX23885_ANALOG_VIDEO) { |
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index d43c74396767..f48454ab3900 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
@@ -673,7 +673,7 @@ static int dvb_register(struct cx23885_tsport *port) | |||
673 | fe0->dvb.frontend->callback = cx23885_tuner_callback; | 673 | fe0->dvb.frontend->callback = cx23885_tuner_callback; |
674 | 674 | ||
675 | /* Put the analog decoder in standby to keep it quiet */ | 675 | /* Put the analog decoder in standby to keep it quiet */ |
676 | call_all(dev, core, s_standby, 0); | 676 | call_all(dev, tuner, s_standby); |
677 | 677 | ||
678 | if (fe0->dvb.frontend->ops.analog_ops.standby) | 678 | if (fe0->dvb.frontend->ops.analog_ops.standby) |
679 | fe0->dvb.frontend->ops.analog_ops.standby(fe0->dvb.frontend); | 679 | fe0->dvb.frontend->ops.analog_ops.standby(fe0->dvb.frontend); |
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index 0363971a23a8..84ecfb291276 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -3049,7 +3049,7 @@ static void cx88_card_setup(struct cx88_core *core) | |||
3049 | ctl.fname); | 3049 | ctl.fname); |
3050 | call_all(core, tuner, s_config, &xc2028_cfg); | 3050 | call_all(core, tuner, s_config, &xc2028_cfg); |
3051 | } | 3051 | } |
3052 | call_all(core, core, s_standby, 0); | 3052 | call_all(core, tuner, s_standby); |
3053 | } | 3053 | } |
3054 | 3054 | ||
3055 | /* ------------------------------------------------------------------ */ | 3055 | /* ------------------------------------------------------------------ */ |
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 4ff4d9fe0355..9389cf290c1b 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -1168,7 +1168,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
1168 | fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; | 1168 | fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; |
1169 | 1169 | ||
1170 | /* Put the analog decoder in standby to keep it quiet */ | 1170 | /* Put the analog decoder in standby to keep it quiet */ |
1171 | call_all(core, core, s_standby, 0); | 1171 | call_all(core, tuner, s_standby); |
1172 | 1172 | ||
1173 | /* register everything */ | 1173 | /* register everything */ |
1174 | return videobuf_dvb_register_bus(&dev->frontends, THIS_MODULE, dev, | 1174 | return videobuf_dvb_register_bus(&dev->frontends, THIS_MODULE, dev, |
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index 434237af5184..fb0764af6c77 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -931,7 +931,7 @@ static int video_release(struct file *file) | |||
931 | kfree(fh); | 931 | kfree(fh); |
932 | 932 | ||
933 | if(atomic_dec_and_test(&dev->core->users)) | 933 | if(atomic_dec_and_test(&dev->core->users)) |
934 | call_all(dev->core, core, s_standby, 0); | 934 | call_all(dev->core, tuner, s_standby); |
935 | 935 | ||
936 | return 0; | 936 | return 0; |
937 | } | 937 | } |
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 0cd0134bcb4c..e7fc2d5b129e 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -2162,7 +2162,7 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev, | |||
2162 | em28xx_init_extension(dev); | 2162 | em28xx_init_extension(dev); |
2163 | 2163 | ||
2164 | /* Save some power by putting tuner to sleep */ | 2164 | /* Save some power by putting tuner to sleep */ |
2165 | v4l2_device_call_all(&dev->v4l2_dev, 0, core, s_standby, 0); | 2165 | v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_standby); |
2166 | 2166 | ||
2167 | return 0; | 2167 | return 0; |
2168 | 2168 | ||
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 6c09a37e4048..9d4e0c1e170a 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -1737,7 +1737,7 @@ static int em28xx_v4l2_close(struct file *filp) | |||
1737 | } | 1737 | } |
1738 | 1738 | ||
1739 | /* Save some power by putting tuner to sleep */ | 1739 | /* Save some power by putting tuner to sleep */ |
1740 | v4l2_device_call_all(&dev->v4l2_dev, 0, core, s_standby, 0); | 1740 | v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_standby); |
1741 | 1741 | ||
1742 | /* do this before setting alternate! */ | 1742 | /* do this before setting alternate! */ |
1743 | em28xx_uninit_isoc(dev); | 1743 | em28xx_uninit_isoc(dev); |
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index dafa0d88bed0..ef15f1cb92e4 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -1015,7 +1015,7 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, | |||
1015 | saa7134_irq_video_signalchange(dev); | 1015 | saa7134_irq_video_signalchange(dev); |
1016 | 1016 | ||
1017 | if (TUNER_ABSENT != dev->tuner_type) | 1017 | if (TUNER_ABSENT != dev->tuner_type) |
1018 | saa_call_all(dev, core, s_standby, 0); | 1018 | saa_call_all(dev, tuner, s_standby); |
1019 | 1019 | ||
1020 | /* register v4l devices */ | 1020 | /* register v4l devices */ |
1021 | if (saa7134_no_overlay > 0) | 1021 | if (saa7134_no_overlay > 0) |
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c index 404f70eeb355..b520e9c2dac1 100644 --- a/drivers/media/video/saa7134/saa7134-video.c +++ b/drivers/media/video/saa7134/saa7134-video.c | |||
@@ -1496,7 +1496,7 @@ static int video_release(struct file *file) | |||
1496 | saa_andorb(SAA7134_OFMT_DATA_A, 0x1f, 0); | 1496 | saa_andorb(SAA7134_OFMT_DATA_A, 0x1f, 0); |
1497 | saa_andorb(SAA7134_OFMT_DATA_B, 0x1f, 0); | 1497 | saa_andorb(SAA7134_OFMT_DATA_B, 0x1f, 0); |
1498 | 1498 | ||
1499 | saa_call_all(dev, core, s_standby, 0); | 1499 | saa_call_all(dev, tuner, s_standby); |
1500 | if (fh->radio) | 1500 | if (fh->radio) |
1501 | saa_call_all(dev, core, ioctl, RDS_CMD_CLOSE, &cmd); | 1501 | saa_call_all(dev, core, ioctl, RDS_CMD_CLOSE, &cmd); |
1502 | 1502 | ||
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 40bf980cd511..61f100703456 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -773,7 +773,7 @@ static int tuner_s_radio(struct v4l2_subdev *sd) | |||
773 | return 0; | 773 | return 0; |
774 | } | 774 | } |
775 | 775 | ||
776 | static int tuner_s_standby(struct v4l2_subdev *sd, u32 standby) | 776 | static int tuner_s_standby(struct v4l2_subdev *sd) |
777 | { | 777 | { |
778 | struct tuner *t = to_tuner(sd); | 778 | struct tuner *t = to_tuner(sd); |
779 | struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; | 779 | struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; |
@@ -981,7 +981,6 @@ static int tuner_command(struct i2c_client *client, unsigned cmd, void *arg) | |||
981 | 981 | ||
982 | static const struct v4l2_subdev_core_ops tuner_core_ops = { | 982 | static const struct v4l2_subdev_core_ops tuner_core_ops = { |
983 | .log_status = tuner_log_status, | 983 | .log_status = tuner_log_status, |
984 | .s_standby = tuner_s_standby, | ||
985 | }; | 984 | }; |
986 | 985 | ||
987 | static const struct v4l2_subdev_tuner_ops tuner_tuner_ops = { | 986 | static const struct v4l2_subdev_tuner_ops tuner_tuner_ops = { |
@@ -993,6 +992,7 @@ static const struct v4l2_subdev_tuner_ops tuner_tuner_ops = { | |||
993 | .g_frequency = tuner_g_frequency, | 992 | .g_frequency = tuner_g_frequency, |
994 | .s_type_addr = tuner_s_type_addr, | 993 | .s_type_addr = tuner_s_type_addr, |
995 | .s_config = tuner_s_config, | 994 | .s_config = tuner_s_config, |
995 | .s_standby = tuner_s_standby, | ||
996 | }; | 996 | }; |
997 | 997 | ||
998 | static const struct v4l2_subdev_ops tuner_ops = { | 998 | static const struct v4l2_subdev_ops tuner_ops = { |