Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285340
b: refs/heads/master
c: 78bd3dc
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 8, 2011
1 parent f88fdbc commit cdfaf4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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: 2bf936290baff2507763a2540cd9029e70ae39e2
refs/heads/master: 78bd3dc8dafc48f11fb761bc01b16e045638fec8
6 changes: 4 additions & 2 deletions trunk/drivers/media/common/tuners/xc5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,9 +708,9 @@ static int xc5000_set_params(struct dvb_frontend *fe,
* is equal to 0.15 for Annex A, and 0.13 for annex C
*/
if (fe->dtv_property_cache.rolloff == ROLLOFF_13)
bw = (params->u.qam.symbol_rate * 13) / 10;
bw = (params->u.qam.symbol_rate * 113) / 100;
else
bw = (params->u.qam.symbol_rate * 15) / 10;
bw = (params->u.qam.symbol_rate * 115) / 100;
if (bw <= 6000000) {
priv->bandwidth = BANDWIDTH_6_MHZ;
priv->video_standard = DTV6;
Expand All @@ -720,6 +720,8 @@ static int xc5000_set_params(struct dvb_frontend *fe,
priv->video_standard = DTV7_8;
priv->freq_hz = params->frequency - 2750000;
}
dprintk(1, "%s() Bandwidth %dMHz (%d)\n", __func__,
BANDWIDTH_6_MHZ ? 6: 8, bw);
break;
default:
dprintk(1, "%s() Unsupported QAM type\n", __func__);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/frontends/tda18271c2dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,9 +1158,9 @@ static int set_params(struct dvb_frontend *fe,
* is equal to 0.15 for Annex A, and 0.13 for annex C
*/
if (fe->dtv_property_cache.rolloff == ROLLOFF_13)
bw = (params->u.qam.symbol_rate * 13) / 10;
bw = (params->u.qam.symbol_rate * 113) / 100;
else
bw = (params->u.qam.symbol_rate * 15) / 10;
bw = (params->u.qam.symbol_rate * 115) / 100;
if (bw <= 6000000)
Standard = HF_DVBC_6MHZ;
else if (bw <= 7000000)
Expand Down

0 comments on commit cdfaf4a

Please sign in to comment.