All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] [media] dvb-core, tda18271c2dd: define get_if_frequency() callback
Date: Sat, 03 Sep 2011 18:38:23 +0300	[thread overview]
Message-ID: <4E6249EF.9080702@iki.fi> (raw)
In-Reply-To: <4E6246BB.8000500@iki.fi>

On 09/03/2011 06:24 PM, Antti Palosaari wrote:
> On 09/03/2011 06:12 PM, Mauro Carvalho Chehab wrote:
>> The DRX-K frontend needs to know the IF frequency in order to work,
>> just like all other frontends. However, as it is a multi-standard
>> FE, the IF may change if the standard is changed. So, the usual
>> procedure of passing it via a config struct doesn't work.
>>
>> One might code it as two separate IF frequencies, one by each type
>> of FE, but, as, on tda18271, the IF changes if the bandwidth for
>> DVB-C changes, this also won't work.
>>
>> So, the better is to just add a new callback for it and require
>> it for the tuners that can be used with MFE frontends like drx-k.
>>
>> It makes sense to add support for it on all existing tuners, and
>> remove the IF parameter from the demods, cleaning up the code.
>
> Is it clear that only used tuner IC defines used IF?
>
> I have seen some cases where used IF is different depending on other
> used hardware, even same tuner IC used. Very good example is to see all
> configuration structs of old tda18271 driver. Those are mainly used for
> setting different IF than tuner default...

Hmm, I think that will actually only reduce defining same IFs to demod 
which are already set to tuner allowing to remove "redundant" demod 
definitions. OK, now it looks fine for me.

Acked-by: Antti Palosaari <crope@iki.fi>


Antti
-- 
http://palosaari.fi/

  reply	other threads:[~2011-09-03 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-03 15:12 [PATCH] [media] dvb-core, tda18271c2dd: define get_if_frequency() callback Mauro Carvalho Chehab
2011-09-03 15:24 ` Antti Palosaari
2011-09-03 15:38   ` Antti Palosaari [this message]
2011-09-03 15:42     ` Mauro Carvalho Chehab
2011-09-03 15:59       ` Mauro Carvalho Chehab

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=4E6249EF.9080702@iki.fi \
    --to=crope@iki.fi \
    --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.