aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/sp887x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/sp887x.c')
-rw-r--r--drivers/media/dvb-frontends/sp887x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/sp887x.c b/drivers/media/dvb-frontends/sp887x.c
index f4096ccb226e..1bb81b5ae6e0 100644
--- a/drivers/media/dvb-frontends/sp887x.c
+++ b/drivers/media/dvb-frontends/sp887x.c
@@ -229,7 +229,7 @@ static int configure_reg0xc05(struct dtv_frontend_properties *p, u16 *reg0xc05)
229 break; 229 break;
230 default: 230 default:
231 return -EINVAL; 231 return -EINVAL;
232 }; 232 }
233 233
234 switch (p->hierarchy) { 234 switch (p->hierarchy) {
235 case HIERARCHY_NONE: 235 case HIERARCHY_NONE:
@@ -248,7 +248,7 @@ static int configure_reg0xc05(struct dtv_frontend_properties *p, u16 *reg0xc05)
248 break; 248 break;
249 default: 249 default:
250 return -EINVAL; 250 return -EINVAL;
251 }; 251 }
252 252
253 switch (p->code_rate_HP) { 253 switch (p->code_rate_HP) {
254 case FEC_1_2: 254 case FEC_1_2:
@@ -270,7 +270,7 @@ static int configure_reg0xc05(struct dtv_frontend_properties *p, u16 *reg0xc05)
270 break; 270 break;
271 default: 271 default:
272 return -EINVAL; 272 return -EINVAL;
273 }; 273 }
274 274
275 if (known_parameters) 275 if (known_parameters)
276 *reg0xc05 |= (2 << 1); /* use specified parameters */ 276 *reg0xc05 |= (2 << 1); /* use specified parameters */