summaryrefslogtreecommitdiff
path: root/drivers/media/common/tuners/tda18212.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-22 18:11:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 08:26:24 -0200
commit0349471bc556d5ecd3e9214af7774fbf2d956931 (patch)
tree77821e1fb0c5f95acd2a67c67578320ded5aef27 /drivers/media/common/tuners/tda18212.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/common/tuners/tda18212.c')
-rw-r--r--drivers/media/common/tuners/tda18212.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda18212.c b/drivers/media/common/tuners/tda18212.c
index f52282e6c8bb..a58c74f107a4 100644
--- a/drivers/media/common/tuners/tda18212.c
+++ b/drivers/media/common/tuners/tda18212.c
@@ -203,7 +203,8 @@ static int tda18212_set_params(struct dvb_frontend *fe,
goto error;
}
break;
- case SYS_DVBC_ANNEX_AC:
+ case SYS_DVBC_ANNEX_A:
+ case SYS_DVBC_ANNEX_C:
if_khz = priv->cfg->if_dvbc;
i = DVBC_8;
break;