summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-22 22:11:39 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 11:26:24 +0100
commit0349471bc556d5ecd3e9214af7774fbf2d956931 (patch)
tree77821e1fb0c5f95acd2a67c67578320ded5aef27 /drivers/media/common
parent[media] cx88-dvb avoid dangling core->gate_ctrl pointer (diff)
downloadlinux-0349471bc556d5ecd3e9214af7774fbf2d956931.tar.xz
linux-0349471bc556d5ecd3e9214af7774fbf2d956931.zip
[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')
-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;