Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76449
b: refs/heads/master
c: ddf1c5f
h: refs/heads/master
i:
  76447: 2604eb5
v: v3
  • Loading branch information
Chris Pascoe authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent e457e39 commit 09cf9be
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2ce4b3aa7c3c199466ae9f5ed32ea177912c8c3a
refs/heads/master: ddf1c5f1d78c1ce30a7e6b2447670fc0e103bb62
6 changes: 4 additions & 2 deletions trunk/drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,8 @@ static int check_firmware(struct dvb_frontend *fe, enum tuner_mode new_mode,
if (priv->ctrl.type == XC2028_FIRM_MTS)
type0 |= MTS;

if (priv->bandwidth == 8)
if (bandwidth == BANDWIDTH_7_MHZ ||
bandwidth == BANDWIDTH_8_MHZ)
type0 |= F8MHZ;

/* FIXME: How to load FM and FM|INPUT1 firmwares? */
Expand Down Expand Up @@ -814,7 +815,8 @@ static int xc2028_set_tv_freq(struct dvb_frontend *fe,
tuner_dbg("%s called\n", __FUNCTION__);

return generic_set_tv_freq(fe, 62500l * p->frequency, T_ANALOG_TV,
p->std, BANDWIDTH_8_MHZ /* NOT USED */);
p->std, BANDWIDTH_8_MHZ);
/* XXX Are some analog standards 6MHz? */
}

static int xc2028_set_params(struct dvb_frontend *fe,
Expand Down

0 comments on commit 09cf9be

Please sign in to comment.