From: "Zhang, Ning A" <ning.a.zhang@intel.com>
To: "mchehab@kernel.org" <mchehab@kernel.org>,
"hverkuil@xs4all.nl" <hverkuil@xs4all.nl>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: question about v4l2_i2c_new_subdev_board
Date: Tue, 14 Aug 2018 06:00:40 +0000 [thread overview]
Message-ID: <1534226439.2854.37.camel@intel.com> (raw)
Hello, Hans, Mauro
I find in source code: v4l2-common.c: v4l2_i2c_new_subdev_board(),
there is a comment:
/* Note: by loading the module first we are certain that c-
>driver
will be set if the driver was found. If the module was not
loaded
first, then the i2c core tries to delay-load the module for
us,
and then c->driver is still NULL until the module is finally
loaded. This delay-load mechanism doesn't work if other
drivers
want to use the i2c device, so explicitly loading the module
is the best alternative. */
I find it added by commit: f0222c7d860f09a61bec5e500539f28db0184b38
it was added at year 2009, is this still an issue in newer kernel, like
4.14?
BR.
Ning.
reply other threads:[~2018-08-14 8:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1534226439.2854.37.camel@intel.com \
--to=ning.a.zhang@intel.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox