A small mistake on the last patch broke demod s-code setup for
XC3028L (firmware 3.2 and upper). Fix it.
Thanks-to: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/* All S-code tables need a 200kHz shift */
if (priv->ctrl.demod) {
+ demod = priv->ctrl.demod;
+
/*
* Newer firmwares require a 200 kHz offset only for ATSC
*/
if (type == ATSC || priv->firm_version < 0x0302)
- demod = priv->ctrl.demod + 200;
+ demod += 200;
/*
* The DTV7 S-code table needs a 700 kHz shift.
*