> > > Alternative: get the i2c_adapter pointer via sub_device, > > > lock it, (in case of linuxtv driver, change i2c adapter name), > > > scan it for already present clients, init them, > > > > How the initialization is done? > > Via i2c client command calls. FE_REGISTER and FE_UNREGISTER call the > dvb_(un)register_frontend functions.
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. Gerd -- return -ENOSIG;