diff options
-rw-r--r-- | drivers/media/tuners/mxl5005s.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/media/tuners/mxl5005s.c b/drivers/media/tuners/mxl5005s.c index 6133315fb0e3..b473b76cb278 100644 --- a/drivers/media/tuners/mxl5005s.c +++ b/drivers/media/tuners/mxl5005s.c | |||
@@ -4054,6 +4054,16 @@ static int mxl5005s_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) | |||
4054 | return 0; | 4054 | return 0; |
4055 | } | 4055 | } |
4056 | 4056 | ||
4057 | static int mxl5005s_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) | ||
4058 | { | ||
4059 | struct mxl5005s_state *state = fe->tuner_priv; | ||
4060 | dprintk(1, "%s()\n", __func__); | ||
4061 | |||
4062 | *frequency = state->IF_OUT; | ||
4063 | |||
4064 | return 0; | ||
4065 | } | ||
4066 | |||
4057 | static int mxl5005s_release(struct dvb_frontend *fe) | 4067 | static int mxl5005s_release(struct dvb_frontend *fe) |
4058 | { | 4068 | { |
4059 | dprintk(1, "%s()\n", __func__); | 4069 | dprintk(1, "%s()\n", __func__); |
@@ -4076,6 +4086,7 @@ static const struct dvb_tuner_ops mxl5005s_tuner_ops = { | |||
4076 | .set_params = mxl5005s_set_params, | 4086 | .set_params = mxl5005s_set_params, |
4077 | .get_frequency = mxl5005s_get_frequency, | 4087 | .get_frequency = mxl5005s_get_frequency, |
4078 | .get_bandwidth = mxl5005s_get_bandwidth, | 4088 | .get_bandwidth = mxl5005s_get_bandwidth, |
4089 | .get_if_frequency = mxl5005s_get_if_frequency, | ||
4079 | }; | 4090 | }; |
4080 | 4091 | ||
4081 | struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe, | 4092 | struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe, |