[1/1] xc3028: force reload of DTV7 firmware in VHF band with Zarlink demodulator
Commit Message
xc3028: force reload of DTV7 firmware in VHF band as DTV78 firmware is
not working with bw=7 MHz.
The patch is effective only with Zarlink demodulators.
Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
---
drivers/media/common/tuners/tuner-xc2028.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
b/drivers/media/common/tuners/tuner-xc2028.c
@@ -1129,7 +1129,8 @@ static int xc2028_set_params(struct dvb_frontend *fe,
priv->ctrl.vhfbw7 = 1;
else
priv->ctrl.uhfbw8 = 0;
- type |= (priv->ctrl.vhfbw7 && priv->ctrl.uhfbw8) ? DTV78 : DTV7;
+ type |= (priv->ctrl.demod != XC3028_FE_ZARLINK456 &&
+ priv->ctrl.vhfbw7 && priv->ctrl.uhfbw8) ? DTV78 : DTV7;
type |= F8MHZ;
break;
case BANDWIDTH_6_MHZ: