From: Jean-Francois Moine <moinejf@free.fr>
To: Antonio Ospite <ospite@studenti.unina.it>
Cc: video4linux-list@redhat.com
Subject: Re: [PATCH] Add support for OmniVision OV534 based USB cameras.
Date: Fri, 14 Nov 2008 11:55:30 +0100 [thread overview]
Message-ID: <1226660130.1737.22.camel@localhost> (raw)
In-Reply-To: <20081113233554.65c5a5f4.ospite@studenti.unina.it>
On Thu, 2008-11-13 at 23:35 +0100, Antonio Ospite wrote:
> > I attached the patch of the main driver.
>
> Many thanks Jean-Francois, any ETA of this change in mainline?
Sorry, what do you mean by ETA? I uploaded the patch to my repository
with you as the author.
[snip]
> > + /* resubmit the URB */
> > + if (gspca_dev->cam.bulk_nurbs != 0) {
>
> Just to be sure: this check is still needed because bulk_irq() can be
> still called even for drivers like finepix, right?
Yes, the subdriver may use the bulk_irq or have an other function. This
is the case for finepix which may receive normal(!) URB errors.
> I am not sure I've fully understood the code path here, maybe I should
> look better at what the finepix driver does, sorry, does it still uses
> the urb initialized in create_urbs(), even if it drives the submission
> manually?
Yes. The URB is created and destroyed by the main driver. Only the
submission and optionally the IRQ treatment are done by the subdriver.
[snip]
> > + if (gspca_dev->cam.bulk_nurbs != 0)
> > + nurbs = gspca_dev->cam.bulk_nurbs;
>
> should we set this to min(gspca_dev->cam.bulk_nurbs, MAX_NURBS) ?
Yes, we should, but, if a greater value is set, the subdriver will crash
at the first development test...
Regards.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-11-14 10:59 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-16 5:00 [PATCH] Add support for OmniVision OV534 based USB cameras majortrips
2008-08-16 6:58 ` Hans de Goede
2008-08-16 7:46 ` Mark Ferrell
2008-08-16 8:03 ` Hans de Goede
2008-08-16 11:47 ` Mauro Carvalho Chehab
2008-08-17 7:03 ` Jean-Francois Moine
2008-08-16 11:36 ` Mauro Carvalho Chehab
2008-08-16 12:13 ` Mark Ferrell
2008-11-05 22:31 ` Mauro Carvalho Chehab
2008-11-11 17:42 ` Antonio Ospite
2008-11-11 18:15 ` Antonio Ospite
2008-11-11 20:01 ` Hans de Goede
2008-11-12 18:17 ` Antonio Ospite
2008-11-13 11:33 ` Jean-Francois Moine
2008-11-13 17:04 ` Antonio Ospite
2008-11-13 18:30 ` Jean-Francois Moine
2008-11-13 22:35 ` Antonio Ospite
2008-11-14 10:55 ` Jean-Francois Moine [this message]
2008-11-14 14:04 ` Antonio Ospite
-- strict thread matches above, loose matches on Subject: below --
2008-08-17 19:48 Theou Jean-Baptiste
2008-08-17 19:58 ` Theou Jean-Baptiste
2008-08-17 20:13 ` Theou Jean-Baptiste
2008-08-18 0:34 ` Mark Ferrell
2008-08-18 12:08 ` Theou Jean-Baptiste
2008-08-18 16:24 ` Mark Ferrell
2008-08-18 16:53 ` Theou Jean-Baptiste
2008-08-20 10:35 ` Theou Jean-Baptiste
2008-08-22 11:18 ` Mark Ferrell
2008-08-18 0:29 ` Mark Ferrell
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=1226660130.1737.22.camel@localhost \
--to=moinejf@free.fr \
--cc=ospite@studenti.unina.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox