aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/cx24123.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/cx24123.c')
-rw-r--r--drivers/media/dvb-frontends/cx24123.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/cx24123.c b/drivers/media/dvb-frontends/cx24123.c
index 7e28b4ee7d4f..68c88ab58e71 100644
--- a/drivers/media/dvb-frontends/cx24123.c
+++ b/drivers/media/dvb-frontends/cx24123.c
@@ -338,7 +338,7 @@ static int cx24123_set_fec(struct cx24123_state *state, fe_code_rate_t fec)
338{ 338{
339 u8 nom_reg = cx24123_readreg(state, 0x0e) & ~0x07; 339 u8 nom_reg = cx24123_readreg(state, 0x0e) & ~0x07;
340 340
341 if ((fec < FEC_NONE) || (fec > FEC_AUTO)) 341 if (((int)fec < FEC_NONE) || (fec > FEC_AUTO))
342 fec = FEC_AUTO; 342 fec = FEC_AUTO;
343 343
344 /* Set the soft decision threshold */ 344 /* Set the soft decision threshold */