public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Upstreaming syntek driver
@ 2011-01-18 22:17 Luca Tettamanti
  2011-01-18 22:45 ` Hans Verkuil
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Tettamanti @ 2011-01-18 22:17 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Nicolas VIVIEN

Hello,
I'm a "lucky" owner of a Syntek USB webcam (embedded on my Asus
laptop); as you might know Nicolas (CC) wrote a driver for these
cams[1][2], but it's still not included in mainline kernel.
Since I'd rather save myself and the other users the pain of compiling
an out-of-tree driver I'm offering my help to make the changes
necessary to see this driver upstreamed; I'm already a maintainer of
another driver (in hwmon), so I'm familiar with the development
process.
>From a quick overview of the code I've spotted a few problems:
- minor style issues, trivially dealt with
- missing cleanups in error paths, idem
- possible memory leak, reported on the bug tracker - requires investigation
- big switch statements for all the models, could be simplified with
function pointers

Another objection could be that the initialization is basically
writing magic numbers into magic registers... I guess that Nicolas
recorded the initialization sequence with a USB sniffer. No solution
for this one; does anybody have a contact inside Syntek?

Are there other issues blocking the inclusion of this driver?

Luca
[1] http://syntekdriver.sourceforge.net/
[2] http://syntekdriver.svn.sourceforge.net/viewvc/syntekdriver/trunk/

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <2053988317-1295421724-cardhu_decombobulator_blackberry.rim.net-406926901-@b18.c6.bise7.blackberry>]

end of thread, other threads:[~2011-01-20 13:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-18 22:17 Upstreaming syntek driver Luca Tettamanti
2011-01-18 22:45 ` Hans Verkuil
2011-01-20 11:35   ` Luca Tettamanti
2011-01-20 13:40     ` Hans de Goede
     [not found] <2053988317-1295421724-cardhu_decombobulator_blackberry.rim.net-406926901-@b18.c6.bise7.blackberry>
2011-01-20 11:37 ` Luca Tettamanti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox