All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matteo Canella <matteo.canella@mta.it>
To: <video4linux-list@redhat.com>
Subject: Init sequence
Date: Wed, 11 Mar 2009 09:24:01 +0100	[thread overview]
Message-ID: <006401c9a222$bb5d2000$32176000$@canella@mta.it> (raw)

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

                 reply	other threads:[~2009-03-11  8:24 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='006401c9a222$bb5d2000$32176000$@canella@mta.it' \
    --to=matteo.canella@mta.it \
    --cc=video4linux-list@redhat.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.