Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76466
b: refs/heads/master
c: c71d4bc
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 25, 2008
1 parent af43308 commit e5a7ac3
Show file tree
Hide file tree
Showing 2 changed files with 9 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: a1dcd9de648c8cf21abaeca7f77885665eed4117
refs/heads/master: c71d4bc512dda42069c70219bd00315a91550367
10 changes: 8 additions & 2 deletions trunk/drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,12 +910,18 @@ static int xc2028_set_tv_freq(struct dvb_frontend *fe,
struct analog_parameters *p)
{
struct xc2028_data *priv = fe->tuner_priv;
fe_bandwidth_t bw;

/* FIXME: Maybe there are more 6 MHz video standards */
if (p->std & V4L2_STD_MN)
bw = BANDWIDTH_6_MHZ;
else
bw = BANDWIDTH_8_MHZ;

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

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

static int xc2028_set_params(struct dvb_frontend *fe,
Expand Down

0 comments on commit e5a7ac3

Please sign in to comment.