aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/cxd2820r_c.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-22 16:11:39 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 05:26:24 -0500
commit0349471bc556d5ecd3e9214af7774fbf2d956931 (patch)
tree77821e1fb0c5f95acd2a67c67578320ded5aef27 /drivers/media/dvb/frontends/cxd2820r_c.c
parent7b0962d32362a0d56627a1dfdb4e8229c5f51f94 (diff)
[media] dvb: replace SYS_DVBC_ANNEX_AC by the right delsys
SYS_DVBC_ANNEX_AC is an alias for SYS_DVBC_ANNEX_A. However, the first one is incorrect, as not all devices support both. So, replace its occurrences by the proper value (either SYS_DVBC_ANNEX_A or both SYS_DVBC_ANNEX_A and SYS_DVBC_ANNEX_C). Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/cxd2820r_c.c')
-rw-r--r--drivers/media/dvb/frontends/cxd2820r_c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/cxd2820r_c.c b/drivers/media/dvb/frontends/cxd2820r_c.c
index 9847d3511017..bc13db4ef224 100644
--- a/drivers/media/dvb/frontends/cxd2820r_c.c
+++ b/drivers/media/dvb/frontends/cxd2820r_c.c
@@ -59,7 +59,7 @@ int cxd2820r_set_frontend_c(struct dvb_frontend *fe,
59 if (fe->ops.tuner_ops.set_params) 59 if (fe->ops.tuner_ops.set_params)
60 fe->ops.tuner_ops.set_params(fe, params); 60 fe->ops.tuner_ops.set_params(fe, params);
61 61
62 if (priv->delivery_system != SYS_DVBC_ANNEX_AC) { 62 if (priv->delivery_system != SYS_DVBC_ANNEX_A) {
63 for (i = 0; i < ARRAY_SIZE(tab); i++) { 63 for (i = 0; i < ARRAY_SIZE(tab); i++) {
64 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg, 64 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg,
65 tab[i].val, tab[i].mask); 65 tab[i].val, tab[i].mask);
@@ -68,7 +68,7 @@ int cxd2820r_set_frontend_c(struct dvb_frontend *fe,
68 } 68 }
69 } 69 }
70 70
71 priv->delivery_system = SYS_DVBC_ANNEX_AC; 71 priv->delivery_system = SYS_DVBC_ANNEX_A;
72 priv->ber_running = 0; /* tune stops BER counter */ 72 priv->ber_running = 0; /* tune stops BER counter */
73 73
74 /* program IF frequency */ 74 /* program IF frequency */