From: Antti Palosaari Date: Sun, 13 Nov 2011 04:07:42 +0000 (-0300) Subject: [media] qt1010: implement .get_if_frequency() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed9405140e1ad1602352d525afede193ebfd67d7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [media] qt1010: implement .get_if_frequency() Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/common/tuners/qt1010.c b/drivers/media/common/tuners/qt1010.c index 9f5dba244cb8..cd461c2a4c38 100644 --- a/drivers/media/common/tuners/qt1010.c +++ b/drivers/media/common/tuners/qt1010.c @@ -423,6 +423,12 @@ static int qt1010_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) return 0; } +static int qt1010_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) +{ + *frequency = 36125000; + return 0; +} + static const struct dvb_tuner_ops qt1010_tuner_ops = { .info = { .name = "Quantek QT1010", @@ -437,7 +443,8 @@ static const struct dvb_tuner_ops qt1010_tuner_ops = { .set_params = qt1010_set_params, .get_frequency = qt1010_get_frequency, - .get_bandwidth = qt1010_get_bandwidth + .get_bandwidth = qt1010_get_bandwidth, + .get_if_frequency = qt1010_get_if_frequency, }; struct dvb_frontend * qt1010_attach(struct dvb_frontend *fe,