linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Init sequence
@ 2009-03-11  8:24 Matteo Canella
  0 siblings, 0 replies; only message in thread
From: Matteo Canella @ 2009-03-11  8:24 UTC (permalink / raw)
  To: video4linux-list

Hi, 

I'm adding some video4linux capabilities to my fujitsu Carmine video driver,
but I'm having some initialization problems.

I've added the v4l device registration (video_register_device) in the probe
routine of the video driver.

My problem is that, during the boot sequence, the v4l2  videodev_init is
done after the video card probing, so the video_register_device fails,
causing a kernel oops.

My workaround is to postpone the video_register_device in a later stage, but
I don't like it so much.

Is there a way to launch the v4l init from my video card driver probe as a
separate task and make it do the video_register_device asynchronously when
the video4linux is loaded?

Thank you

 

Matteo Canella

 

 

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-11  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  8:24 Init sequence Matteo Canella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).