Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285239
b: refs/heads/master
c: ed94051
h: refs/heads/master
i:
  285237: 419ba28
  285235: 4303bcd
  285231: 7c6fc01
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Nov 24, 2011
1 parent c2340cd commit b68a847
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 055327c55a7b74b25bf3e178da353982e6eef487
refs/heads/master: ed9405140e1ad1602352d525afede193ebfd67d7
9 changes: 8 additions & 1 deletion trunk/drivers/media/common/tuners/qt1010.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
Expand Down

0 comments on commit b68a847

Please sign in to comment.