From: Antti Palosaari <crope@iki.fi>
To: Devin Heitmueller <dheitmueller@kernellabs.com>,
Michael Krufky <mkrufky@linuxtv.org>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
Jean Delvare <khali@linux-fr.org>,
Mauro Carvalho Chehab <m.chehab@samsung.com>
Subject: Re: [PATCH 1/3] e4000: convert DVB tuner to I2C driver model
Date: Mon, 27 Jan 2014 02:39:09 +0200 [thread overview]
Message-ID: <52E5AAAD.5050906@iki.fi> (raw)
In-Reply-To: <CAGoCfiyQ6-SA-5PYMgAv3Oq3gzcR-ReYCpL8Ak-KRVw0XHNd4Q@mail.gmail.com>
On 27.01.2014 02:28, Devin Heitmueller wrote:
> On Sun, Jan 26, 2014 at 7:16 PM, Antti Palosaari <crope@iki.fi> wrote:
>> Driver conversion from proprietary DVB tuner model to more
>> general I2C driver model.
>
> Mike should definitely weigh in on this. Eliminating the existing
> model of using dvb_attach() for tuners is something that needs to be
> considered carefully, and this course of action should be agreed on by
> the subsystem maintainers before we start converting drivers. This
> could be particularly relevant for hybrid tuners where the driver
> instance is instantiated via tuner-core using dvb_attach() for the
> analog side.
>
> In the meantime, this change makes this driver work differently than
> every other tuner in the tree.
Heh, it is quite stupid to do things otherwise than rest of the kernel
and also I think it is against i2c documentation. For more we refuse to
use kernel standard practices the more there will be problems in a long ran.
There is things that are build top of these standard models and if you
are using some proprietary method, then you are without these services.
I think it was regmap which I was looking once, but dropped it as it
requires i2c client.
Also, I already implemented one tuner driver using standard I2C model.
If there will be problems then those are surely fixable.
regards
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2014-01-27 0:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 0:16 [PATCH 1/3] e4000: convert DVB tuner to I2C driver model Antti Palosaari
2014-01-27 0:16 ` [PATCH 2/3] e4000: add manual gain controls Antti Palosaari
2014-01-27 0:16 ` [PATCH 3/3] rtl2832_sdr: expose E4000 gain controls to user space Antti Palosaari
2014-01-27 0:28 ` [PATCH 1/3] e4000: convert DVB tuner to I2C driver model Devin Heitmueller
2014-01-27 0:39 ` Antti Palosaari [this message]
2014-01-27 17:45 ` Michael Krufky
2014-01-27 22:14 ` Antti Palosaari
2014-01-28 13:41 ` Devin Heitmueller
2014-03-13 13:49 ` 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=52E5AAAD.5050906@iki.fi \
--to=crope@iki.fi \
--cc=dheitmueller@kernellabs.com \
--cc=khali@linux-fr.org \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=mkrufky@linuxtv.org \
/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.