Commit c4931055 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] mxl5005s: implement get_if_frequency()

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent eb2e2652
...@@ -4054,6 +4054,16 @@ static int mxl5005s_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) ...@@ -4054,6 +4054,16 @@ static int mxl5005s_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
return 0; return 0;
} }
static int mxl5005s_get_if_frequency(struct dvb_frontend *fe, u32 *frequency)
{
struct mxl5005s_state *state = fe->tuner_priv;
dprintk(1, "%s()\n", __func__);
*frequency = state->IF_OUT;
return 0;
}
static int mxl5005s_release(struct dvb_frontend *fe) static int mxl5005s_release(struct dvb_frontend *fe)
{ {
dprintk(1, "%s()\n", __func__); dprintk(1, "%s()\n", __func__);
...@@ -4076,6 +4086,7 @@ static const struct dvb_tuner_ops mxl5005s_tuner_ops = { ...@@ -4076,6 +4086,7 @@ static const struct dvb_tuner_ops mxl5005s_tuner_ops = {
.set_params = mxl5005s_set_params, .set_params = mxl5005s_set_params,
.get_frequency = mxl5005s_get_frequency, .get_frequency = mxl5005s_get_frequency,
.get_bandwidth = mxl5005s_get_bandwidth, .get_bandwidth = mxl5005s_get_bandwidth,
.get_if_frequency = mxl5005s_get_if_frequency,
}; };
struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe, struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment