Re: [PATCH 1/3] e4000: convert DVB tuner to I2C driver model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 26, 2014 at 7:39 PM, Antti Palosaari <crope@xxxxxx> wrote:
> On 27.01.2014 02:28, Devin Heitmueller wrote:
>>
>> On Sun, Jan 26, 2014 at 7:16 PM, Antti Palosaari <crope@xxxxxx> 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

Devin is right-  I should have been cc'd on this.  Please remember to
cc me on any DVB or tuner (both analog and digital) subsystem-level
changes.

What Devin probably doesn't realize, however, is that I have basically
already agreed on this change -- this, overall, will be a very
positive move for the media subsystem.  We just need to do it
correctly, subsystem-wide.

But just because this is a good idea, its no reason to call the
current mechanism 'quite stupid' .. We're all working together here,
let's not belittle the work that others have done in the past.  I'd
rather just look forward and build a better codebase for the future
:-)

Antti submitted similar patches a few months ago - I have to review
his newer series and see if anything has changed.  My goal would be to
commit these patches into a new branch and work on converting the
entire tuner tree to the newer method, only merging to master once all
is done and tested.

-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux