diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-04-01 08:49:59 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-04-01 08:49:59 +0200 |
commit | c7f462c7cd345d35a4d2e493c82f589c6e5d1d2d (patch) | |
tree | 1dc8be9ffb926e372f4b0df53c9d1d3b467d919f /linux/drivers/media/video/tuner-core.c | |
parent | a022c34c8938f0c3a97840b5b3ceffa0ef41f775 (diff) | |
download | mediapointer-dvb-s2-c7f462c7cd345d35a4d2e493c82f589c6e5d1d2d.tar.gz mediapointer-dvb-s2-c7f462c7cd345d35a4d2e493c82f589c6e5d1d2d.tar.bz2 |
v4l2-subdev: move s_standby from core to tuner.
From: Hans Verkuil <hverkuil@xs4all.nl>
s_standby is only used to put the tuner in powersaving mode, so move it
from core to tuner.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index dda992109..4b68c5394 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -797,7 +797,7 @@ static int tuner_s_radio(struct v4l2_subdev *sd) return 0; } -static int tuner_s_standby(struct v4l2_subdev *sd, u32 standby) +static int tuner_s_standby(struct v4l2_subdev *sd) { struct tuner *t = to_tuner(sd); struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; @@ -1005,7 +1005,6 @@ static int tuner_command(struct i2c_client *client, unsigned cmd, void *arg) static const struct v4l2_subdev_core_ops tuner_core_ops = { .log_status = tuner_log_status, - .s_standby = tuner_s_standby, }; static const struct v4l2_subdev_tuner_ops tuner_tuner_ops = { @@ -1017,6 +1016,7 @@ static const struct v4l2_subdev_tuner_ops tuner_tuner_ops = { .g_frequency = tuner_g_frequency, .s_type_addr = tuner_s_type_addr, .s_config = tuner_s_config, + .s_standby = tuner_s_standby, }; static const struct v4l2_subdev_ops tuner_ops = { |