aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-04-01 02:49:59 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 20:44:20 -0400
commit7c9fc9d50f97c9a6733ff1a22b6e31bcd91778e2 (patch)
tree12423e911ab794b85f5f2b1148ce5fe8a07103bf /drivers/media/video/cx88
parent78a3b4db2e53a1903c86e2856e175d85a3849e84 (diff)
V4L/DVB (11368): v4l2-subdev: move s_standby from core to tuner.
s_standby is only used to put the tuner in powersaving mode, so move it from core to tuner. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-cards.c2
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c2
-rw-r--r--drivers/media/video/cx88/cx88-video.c2
3 files changed, 3 insertions, 3 deletions
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}