Moikka,
thank you for the comment.
(and sorry for the late reply. I was off from work until recently.)

> Basically the issue is registering I2C driver and after that reference 
> counting it as there is dvb frontend ops which are called.

In current DVB drivers, "struct dvb_frontend"s can be alloc'ed in two places,
in FE driver itself and in the client(adapter) driver,
but the patch alloc's the struct dvb_frontned in the probe() helper function,
so you cannot access frontend ops before registering the driver module. 

The probe() helper function ref-counts the driver module as well,
so from clients' point of views,
the driver registering and the ref-counting are done at the same time.

> 
> Did you make study how the others have resolved that issue? Could you list 
> already used methods?

I just read through the V4L2-core i2c subdev code and
did not studied much on other modules, tbh:P

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

Reply via email to