tuner-xc2028: Fix 7 MHz DVB-T when used with zl10353 demod
PATCH 1/1 tuner-xc2028: Fix 7 MHz DVB-T when used with zl10353 demod
All,
The following is a patch that gets 7 MHz DVB-T working for the Leadtek DVR3100 H.
Any comments?
Regards,
Andy
Signed-off-by Andy Walls <[email protected]>
Tested-by Terry Wu <[email protected]>
linux/drivers/media/common/tuners/tuner-xc2028.c +6 -1
@@ -1099,8 +1099,13 @@ }/* All S-code tables need a 200kHz shift */ -if (priv->ctrl.demod) +if (priv->ctrl.demod) { demod = priv->ctrl.demod +200 ; +/* Terry Wu <[email protected]> */ +if (priv->ctrl.demod ==XC3028_FE_ZARLINK456 && + bw ==BANDWIDTH_7_MHZ ) + demod +=500 ; + }return generic_set_freq (fe, p->frequency,T_DIGITAL_TV , type,0 , demod);