Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285478
b: refs/heads/master
c: 3608dbb
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent 47090cb commit e09f598
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: 3cc66df680200903123cfeac10e5ff1650b5a25e
refs/heads/master: 3608dbb6dcf31e9cd25d43d999b79819837068c1
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb/frontends/stb6000.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ static int stb6000_sleep(struct dvb_frontend *fe)
static int stb6000_set_params(struct dvb_frontend *fe,
struct dvb_frontend_parameters *params)
{
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
struct stb6000_priv *priv = fe->tuner_priv;
unsigned int n, m;
int ret;
Expand All @@ -93,8 +94,8 @@ static int stb6000_set_params(struct dvb_frontend *fe,

dprintk("%s:\n", __func__);

freq_mhz = params->frequency / 1000;
bandwidth = params->u.qpsk.symbol_rate / 1000000;
freq_mhz = p->frequency / 1000;
bandwidth = p->symbol_rate / 1000000;

if (bandwidth > 31)
bandwidth = 31;
Expand Down

0 comments on commit e09f598

Please sign in to comment.