From: Jean Delvare <khali@linux-fr.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: v4l-dvb-maintainer@linuxtv.org,
Mauro Carvalho Chehab <mchehab@infradead.org>,
"Udo A. Steinberg" <udo@hypervisor.org>,
linux-media@vger.kernel.org
Subject: Re: [v4l-dvb-maintainer] 2.6.30: missing audio device in bttv
Date: Fri, 12 Jun 2009 10:04:09 +0200 [thread overview]
Message-ID: <20090612100409.04bb0fe5@hyperion.delvare> (raw)
In-Reply-To: <200906120118.20700.hverkuil@xs4all.nl>
On Fri, 12 Jun 2009 01:18:20 +0200, Hans Verkuil wrote:
> On Friday 12 June 2009 01:07:46 Mauro Carvalho Chehab wrote:
> > I suspect that we'll need to work with the initialization order after the new
> > i2c binding model to avoid such troubles.
> >
> > I remember that we had a similar issue with alsa and saa7134. At the end, Linus [1]
> > had to do add this, as a quick hack (unfortunately, it is still there - it
> > seems that alsa guys forgot about that issue):
> >
> > late_initcall(saa7134_alsa_init);
> >
> > On that time, he suggested the usage of subsys_initcall() for alsa. I suspect
> > that we'll need to do the same for I2C and for V4L core. I'm not sure what
> > would be the alternative to be done with i2c ancillary drivers.
> >
> > Maybe one alternative would be to use fs_initcall, that seems to be already
> > used by some non-fs related calls, like cpu governor [2].
>
> As long as the i2c modules come first there shouldn't be any problem. That's
> pretty easy to arrange. So the i2c core inits first, then i2c drivers, then
> v4l2 drivers. That's the proper order.
This is already what we have in 2.6.30 as far as I can see.
> The ir-kbd-i2c module needed to be after the v4l2 modules since that still
> relies on autoprobing. If it comes first, then it seems to mess up tveeprom
> for some reason. Once ir-kbd-i2c no longer does autoprobing, then it probably
> should move back to the other i2c modules.
Hopefully this will happen in the next few days :)
--
Jean Delvare
next prev parent reply other threads:[~2009-06-12 8:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 20:14 2.6.30: missing audio device in bttv Udo A. Steinberg
2009-06-11 20:18 ` [v4l-dvb-maintainer] " Hans Verkuil
2009-06-11 20:22 ` Hans Verkuil
2009-06-11 22:20 ` Mauro Carvalho Chehab
2009-06-11 22:26 ` Hans Verkuil
2009-06-11 23:07 ` Mauro Carvalho Chehab
2009-06-11 23:18 ` Hans Verkuil
2009-06-12 8:04 ` Jean Delvare [this message]
2009-06-11 21:38 ` Udo A. Steinberg
2009-06-11 21:46 ` Hans Verkuil
2009-06-11 22:35 ` Udo A. Steinberg
2009-06-11 23:01 ` Hans Verkuil
2009-06-12 0:00 ` Udo A. Steinberg
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=20090612100409.04bb0fe5@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=udo@hypervisor.org \
--cc=v4l-dvb-maintainer@linuxtv.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