diff options
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-tables.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-tables.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-tables.c b/drivers/media/dvb/frontends/tda18271-tables.c index 46f1d4ddda34..2f8ea72bcabb 100644 --- a/drivers/media/dvb/frontends/tda18271-tables.c +++ b/drivers/media/dvb/frontends/tda18271-tables.c | |||
@@ -1194,11 +1194,11 @@ static struct tda18271_std_map tda18271c1_std_map = { | |||
1194 | .atv_l = { .if_freq = 7750000, .std_bits = 0x0f }, | 1194 | .atv_l = { .if_freq = 7750000, .std_bits = 0x0f }, |
1195 | .atv_lc = { .if_freq = 1250000, .std_bits = 0x0f }, | 1195 | .atv_lc = { .if_freq = 1250000, .std_bits = 0x0f }, |
1196 | .atv_mn = { .if_freq = 5750000, .std_bits = 0x0d }, | 1196 | .atv_mn = { .if_freq = 5750000, .std_bits = 0x0d }, |
1197 | .atsc_6 = { .if_freq = 5380000, .std_bits = 0x1b }, | 1197 | .atsc_6 = { .if_freq = 3250000, .std_bits = 0x1c }, |
1198 | .dvbt_6 = { .if_freq = 3300000, .std_bits = 0x1b }, | 1198 | .dvbt_6 = { .if_freq = 3300000, .std_bits = 0x1c }, |
1199 | .dvbt_7 = { .if_freq = 3800000, .std_bits = 0x19 }, | 1199 | .dvbt_7 = { .if_freq = 3800000, .std_bits = 0x1d }, |
1200 | .dvbt_8 = { .if_freq = 4300000, .std_bits = 0x1a }, | 1200 | .dvbt_8 = { .if_freq = 4300000, .std_bits = 0x1e }, |
1201 | .qam_6 = { .if_freq = 4000000, .std_bits = 0x18 }, | 1201 | .qam_6 = { .if_freq = 4000000, .std_bits = 0x1d }, |
1202 | .qam_8 = { .if_freq = 5000000, .std_bits = 0x1f }, | 1202 | .qam_8 = { .if_freq = 5000000, .std_bits = 0x1f }, |
1203 | }; | 1203 | }; |
1204 | 1204 | ||
@@ -1210,7 +1210,7 @@ static struct tda18271_std_map tda18271c2_std_map = { | |||
1210 | .atv_l = { .if_freq = 6900000, .std_bits = 0x0e }, | 1210 | .atv_l = { .if_freq = 6900000, .std_bits = 0x0e }, |
1211 | .atv_lc = { .if_freq = 1250000, .std_bits = 0x0e }, | 1211 | .atv_lc = { .if_freq = 1250000, .std_bits = 0x0e }, |
1212 | .atv_mn = { .if_freq = 5400000, .std_bits = 0x0c }, | 1212 | .atv_mn = { .if_freq = 5400000, .std_bits = 0x0c }, |
1213 | .atsc_6 = { .if_freq = 5380000, .std_bits = 0x1b }, | 1213 | .atsc_6 = { .if_freq = 3250000, .std_bits = 0x1c }, |
1214 | .dvbt_6 = { .if_freq = 3300000, .std_bits = 0x1c }, | 1214 | .dvbt_6 = { .if_freq = 3300000, .std_bits = 0x1c }, |
1215 | .dvbt_7 = { .if_freq = 3500000, .std_bits = 0x1c }, | 1215 | .dvbt_7 = { .if_freq = 3500000, .std_bits = 0x1c }, |
1216 | .dvbt_8 = { .if_freq = 4000000, .std_bits = 0x1d }, | 1216 | .dvbt_8 = { .if_freq = 4000000, .std_bits = 0x1d }, |
@@ -1256,11 +1256,13 @@ int tda18271_assign_map_layout(struct dvb_frontend *fe) | |||
1256 | switch (priv->id) { | 1256 | switch (priv->id) { |
1257 | case TDA18271HDC1: | 1257 | case TDA18271HDC1: |
1258 | priv->maps = &tda18271c1_map_layout; | 1258 | priv->maps = &tda18271c1_map_layout; |
1259 | priv->std = &tda18271c1_std_map; | 1259 | memcpy(&priv->std, &tda18271c1_std_map, |
1260 | sizeof(struct tda18271_std_map)); | ||
1260 | break; | 1261 | break; |
1261 | case TDA18271HDC2: | 1262 | case TDA18271HDC2: |
1262 | priv->maps = &tda18271c2_map_layout; | 1263 | priv->maps = &tda18271c2_map_layout; |
1263 | priv->std = &tda18271c2_std_map; | 1264 | memcpy(&priv->std, &tda18271c2_std_map, |
1265 | sizeof(struct tda18271_std_map)); | ||
1264 | break; | 1266 | break; |
1265 | default: | 1267 | default: |
1266 | ret = -EINVAL; | 1268 | ret = -EINVAL; |