From: Antti Palosaari <crope@iki.fi>
To: Thomas Mair <thomas.mair86@googlemail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: RTL28XX driver
Date: Wed, 18 Apr 2012 20:44:27 +0300 [thread overview]
Message-ID: <4F8EFD7B.2020901@iki.fi> (raw)
In-Reply-To: <CAKZ=SG8G8w1J_AF-bOCn2n8gcEogGPQ1rmp45wCtmwFgOUPifA@mail.gmail.com>
On 18.04.2012 20:18, Thomas Mair wrote:
> I have been working on the driver over the past days and been making
> some progress. Right now I am stuck with a small problem that I have
> no idea how to deal with.
>
> It seems that the fc0012 tuner supports V-Band and U-Band. To switch
> between those modes a GPIO output value needs to be changed. In the
> original Realtek driver this is done at the beginning of the
> set_parameters callback. Is there a different callback that can be
> used for this or is it ok to write a RTL2832u register from the
> demodulator code?
Aah, I suspect it is antenna switch or LNA GPIO. You don't say what is
meaning of that GPIO...
If it is FC0012 input, which I think it is not, then you should use FE
callback (named as callback too) with DVB_FRONTEND_COMPONENT_TUNER
param. But I suspect it is not issue.
So lets introduce another solution. It is fe_ioctl_override. Use it.
You will find good examples both cases using following GIT greps
git grep fe_ioctl_override drivers/media
git grep FRONTEND_COMPONENT
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2012-04-18 17:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-06 9:11 RTL28XX driver Thomas Mair
2012-04-06 9:36 ` Antti Palosaari
2012-04-07 7:25 ` poma
2012-04-07 14:19 ` Gianluca Gennari
2012-04-09 12:02 ` Thomas Mair
2012-04-09 15:09 ` Gianluca Gennari
2012-04-11 19:12 ` Antti Palosaari
2012-04-11 21:33 ` Oliver Schinagl
2012-04-11 21:57 ` Antti Palosaari
2012-04-12 12:11 ` Oliver Schinagl
2012-04-12 12:18 ` Thomas Mair
2012-04-12 12:43 ` Oliver Schinagl
2012-04-12 12:54 ` Thomas Mair
2012-04-12 13:12 ` Antti Palosaari
2012-04-18 17:18 ` Thomas Mair
2012-04-18 17:44 ` Antti Palosaari [this message]
2012-04-18 18:20 ` Thomas Mair
2012-04-18 18:35 ` Antti Palosaari
2012-04-18 20:00 ` Antti Palosaari
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=4F8EFD7B.2020901@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=thomas.mair86@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).