Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76450
b: refs/heads/master
c: a44f1c4
h: refs/heads/master
v: v3
  • Loading branch information
Chris Pascoe authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 09cf9be commit edf3634
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ddf1c5f1d78c1ce30a7e6b2447670fc0e103bb62
refs/heads/master: a44f1c43dfa98e2eb763968890157bfaf9001add
5 changes: 4 additions & 1 deletion trunk/drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,11 @@ static int generic_set_tv_freq(struct dvb_frontend *fe, u32 freq /* in Hz */ ,
if (check_firmware(fe, new_mode, std, bandwidth) < 0)
goto ret;

if (new_mode == T_DIGITAL_TV)
if (new_mode == T_DIGITAL_TV) {
offset = 2750000;
if (priv->bandwidth == BANDWIDTH_7_MHZ)
offset -= 500000;
}

div = (freq - offset + DIV / 2) / DIV;

Expand Down

0 comments on commit edf3634

Please sign in to comment.