Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76611
b: refs/heads/master
c: ad35ce9
h: refs/heads/master
i:
  76609: bab11c8
  76607: 8566f34
v: v3
  • Loading branch information
Chris Pascoe authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 53ec847 commit 6771fd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: e026268870b5f05a3f74b37816d96ed3b19a9e33
refs/heads/master: ad35ce9e3e03b1515c8581bababb0e64d05cf1ad
5 changes: 3 additions & 2 deletions trunk/drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@ static int xc2028_set_params(struct dvb_frontend *fe,
struct xc2028_data *priv = fe->tuner_priv;
unsigned int type=0;
fe_bandwidth_t bw = BANDWIDTH_8_MHZ;
u16 demod = 0;

tuner_dbg("%s called\n", __FUNCTION__);

Expand Down Expand Up @@ -1009,10 +1010,10 @@ static int xc2028_set_params(struct dvb_frontend *fe,

/* All S-code tables need a 200kHz shift */
if (priv->ctrl.demod)
priv->ctrl.demod += 200;
demod = priv->ctrl.demod + 200;

return generic_set_freq(fe, p->frequency,
T_DIGITAL_TV, type, 0, priv->ctrl.demod);
T_DIGITAL_TV, type, 0, demod);
}

static int xc2028_sleep(struct dvb_frontend *fe)
Expand Down

0 comments on commit 6771fd4

Please sign in to comment.