From: Akihiro TSUKADA <tskd08@gmail.com>
To: Antti Palosaari <crope@iki.fi>, linux-media@vger.kernel.org
Cc: m.chehab@samsung.com
Subject: Re: [PATCH v3] dvb-core: add template code for i2c binding model
Date: Fri, 13 Feb 2015 20:47:52 +0900 [thread overview]
Message-ID: <54DDE468.1070206@gmail.com> (raw)
In-Reply-To: <54D57112.5020100@iki.fi>
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
prev parent reply other threads:[~2015-02-13 11:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 11:14 [PATCH v3] dvb-core: add template code for i2c binding model tskd08
2015-02-07 1:57 ` Antti Palosaari
2015-02-13 11:47 ` Akihiro TSUKADA [this message]
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=54DDE468.1070206@gmail.com \
--to=tskd08@gmail.com \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
/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.