Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: [PATCHES] Frontend kernel i2c conversion.
On Wed, Jul 21, 2004 at 10:20:54AM +0200, Ralph Metzler wrote:
> Gerd Knorr writes:
> > So this part should be easy as the i2c_clients_command() helper function
> > (see i2c-core.c) does everything you need for that I think.
>
> This does not solve the problem with the timing of registration and
> unregistration. The attach and detach function do provide this.
> If you do not have access to them or only get access to everything
> after i2c registration you will have to patch things up like I
> explained above (go through list of clients, etc.). Something similar
> will also have to be done on exit of the DVB adapter driver.
i2c_clients_command() will do exactly that "walk all clients" stuff.
attach()+detach() is needed as well of course to make it work for any
module load order.
Gerd
--
return -ENOSIG;
Home |
Main Index |
Thread Index