From b68a847cb5b82d273e76ff2f5ca783778c6ed31a Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Sun, 13 Nov 2011 01:07:42 -0300 Subject: [PATCH] --- yaml --- r: 285239 b: refs/heads/master c: ed9405140e1ad1602352d525afede193ebfd67d7 h: refs/heads/master i: 285237: 419ba28095666d715b6fafd3e55c6afd794cef9d 285235: 4303bcdbe32ef50756599054670b593f9405d25a 285231: 7c6fc013472e173aa334bc98303cdacbb43bfc60 v: v3 --- [refs] | 2 +- trunk/drivers/media/common/tuners/qt1010.c | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 88b95c192a60..ef9d79bf88f7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 055327c55a7b74b25bf3e178da353982e6eef487 +refs/heads/master: ed9405140e1ad1602352d525afede193ebfd67d7 diff --git a/trunk/drivers/media/common/tuners/qt1010.c b/trunk/drivers/media/common/tuners/qt1010.c index 9f5dba244cb8..cd461c2a4c38 100644 --- a/trunk/drivers/media/common/tuners/qt1010.c +++ b/trunk/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,