diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-11 17:26:03 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-11 17:26:03 -0500 |
commit | 2440f7aff46af4187d0518e92adaddf475aa82b0 (patch) | |
tree | c01e1ec4c8845c0704d0d6699418f8b7f386fa52 /drivers/media/dvb/frontends/drxk_hard.c | |
parent | 39ce61a846c8e1fa00cb57ad5af021542e6e8403 (diff) |
[media] Properly implement ITU-T J.88 Annex C support
The Annex C support were broken with the previous implementation,
as, at xc5000 and tda18271c2dd, it were choosing the wrong bandwidth
for some symbol rates.
At DRX-J, it were always selecting Annex A, even having Annex C
support coded there.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxk_hard.c')
-rw-r--r-- | drivers/media/dvb/frontends/drxk_hard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/drxk_hard.c b/drivers/media/dvb/frontends/drxk_hard.c index f6431ef827dc..dc13fd86c4f5 100644 --- a/drivers/media/dvb/frontends/drxk_hard.c +++ b/drivers/media/dvb/frontends/drxk_hard.c | |||
@@ -6218,6 +6218,13 @@ static int drxk_set_parameters(struct dvb_frontend *fe, | |||
6218 | return -EINVAL; | 6218 | return -EINVAL; |
6219 | } | 6219 | } |
6220 | 6220 | ||
6221 | if (state->m_OperationMode == OM_QAM_ITU_A || | ||
6222 | state->m_OperationMode == OM_QAM_ITU_C) { | ||
6223 | if (fe->dtv_property_cache.rolloff == ROLLOFF_13) | ||
6224 | state->m_OperationMode = OM_QAM_ITU_C; | ||
6225 | else | ||
6226 | state->m_OperationMode = OM_QAM_ITU_A; | ||
6227 | } | ||
6221 | 6228 | ||
6222 | if (fe->ops.i2c_gate_ctrl) | 6229 | if (fe->ops.i2c_gate_ctrl) |
6223 | fe->ops.i2c_gate_ctrl(fe, 1); | 6230 | fe->ops.i2c_gate_ctrl(fe, 1); |