Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343845
b: refs/heads/master
c: 830e4b5
h: refs/heads/master
i:
  343843: 9f4cd7b
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent 397b305 commit 05df023
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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: 5a70972e142b182fb9375b9060a4dd9fad47fadf
refs/heads/master: 830e4b55b02b8a2638958e4249eba71797940ee5
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/cx22700.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static int cx22700_set_tps(struct cx22700_state *state,
if (p->code_rate_HP == FEC_4_5 || p->code_rate_LP == FEC_4_5)
return -EINVAL;

if (p->guard_interval < GUARD_INTERVAL_1_32 ||
if ((int)p->guard_interval < GUARD_INTERVAL_1_32 ||
p->guard_interval > GUARD_INTERVAL_1_4)
return -EINVAL;

Expand All @@ -152,7 +152,7 @@ static int cx22700_set_tps(struct cx22700_state *state,
p->modulation != QAM_64)
return -EINVAL;

if (p->hierarchy < HIERARCHY_NONE ||
if ((int)p->hierarchy < HIERARCHY_NONE ||
p->hierarchy > HIERARCHY_4)
return -EINVAL;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb-frontends/cx24123.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static int cx24123_set_fec(struct cx24123_state *state, fe_code_rate_t fec)
{
u8 nom_reg = cx24123_readreg(state, 0x0e) & ~0x07;

if ((fec < FEC_NONE) || (fec > FEC_AUTO))
if (((int)fec < FEC_NONE) || (fec > FEC_AUTO))
fec = FEC_AUTO;

/* Set the soft decision threshold */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/l64781.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ static int apply_frontend_param(struct dvb_frontend *fe)
p->transmission_mode != TRANSMISSION_MODE_8K)
return -EINVAL;

if (p->guard_interval < GUARD_INTERVAL_1_32 ||
if ((int)p->guard_interval < GUARD_INTERVAL_1_32 ||
p->guard_interval > GUARD_INTERVAL_1_4)
return -EINVAL;

if (p->hierarchy < HIERARCHY_NONE ||
if ((int)p->hierarchy < HIERARCHY_NONE ||
p->hierarchy > HIERARCHY_4)
return -EINVAL;

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb-frontends/mt312.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,15 +549,15 @@ static int mt312_set_frontend(struct dvb_frontend *fe)
|| (p->frequency > fe->ops.info.frequency_max))
return -EINVAL;

if ((p->inversion < INVERSION_OFF)
if (((int)p->inversion < INVERSION_OFF)
|| (p->inversion > INVERSION_ON))
return -EINVAL;

if ((p->symbol_rate < fe->ops.info.symbol_rate_min)
|| (p->symbol_rate > fe->ops.info.symbol_rate_max))
return -EINVAL;

if ((p->fec_inner < FEC_NONE)
if (((int)p->fec_inner < FEC_NONE)
|| (p->fec_inner > FEC_AUTO))
return -EINVAL;

Expand Down

0 comments on commit 05df023

Please sign in to comment.