From: Stefan Ringel <stefan.ringel@arcor.de>
To: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: Re: [git:v4l-dvb/master] V4L/DVB: tuner-xc2028: fix tuning logic to solve a regression in Australia
Date: Fri, 19 Feb 2010 21:21:49 +0100 [thread overview]
Message-ID: <4B7EF2DD.7070509@arcor.de> (raw)
In-Reply-To: <E1NiVOP-0004ij-2F@www.linuxtv.org>
Am 19.02.2010 17:07, schrieb Patch from Mauro Carvalho Chehab:
> }
>
> div = (freq - offset + DIV / 2) / DIV;
> @@ -1114,17 +1152,22 @@ static int xc2028_set_params(struct dvb_frontend *fe,
>
> /* All S-code tables need a 200kHz shift */
> if (priv->ctrl.demod) {
> - demod = priv->ctrl.demod + 200;
> + /*
> + * Newer firmwares require a 200 kHz offset only for ATSC
> + */
> + if (type == ATSC || priv->firm_version < 0x0302)
> + demod = priv->ctrl.demod + 200;
> /*
> * The DTV7 S-code table needs a 700 kHz shift.
> - * Thanks to Terry Wu <terrywu2009@gmail.com> for reporting this
> *
> * DTV7 is only used in Australia. Germany or Italy may also
> * use this firmware after initialization, but a tune to a UHF
> * channel should then cause DTV78 to be used.
> + *
> + * Unfortunately, on real-field tests, the s-code offset
> + * didn't work as expected, as reported by
> + * Robert Lowery <rglowery@exemail.com.au>
> */
> - if (type & DTV7)
> - demod += 500;
> }
>
> return generic_set_freq(fe, p->frequency,
>
Hi Mauro,
your patch doesn't work. Here is not set demod for all others (demod=0).
--
Stefan Ringel <stefan.ringel@arcor.de>
next parent reply other threads:[~2010-02-19 20:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1NiVOP-0004ij-2F@www.linuxtv.org>
2010-02-19 20:21 ` Stefan Ringel [this message]
2010-02-19 20:51 ` [git:v4l-dvb/master] V4L/DVB: tuner-xc2028: fix tuning logic to solve a regression in Australia Mauro Carvalho Chehab
2010-02-19 21:30 ` Stefan Ringel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B7EF2DD.7070509@arcor.de \
--to=stefan.ringel@arcor.de \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.