[PATCH] Updates for W99[87]CF and new SN9C10[12] driver
authorLuca Risolia <luca.risolia@studio.unibo.it>
Wed, 14 Jul 2004 08:01:10 +0000 (01:01 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 14 Jul 2004 08:01:10 +0000 (01:01 -0700)
commitbe3a4fefdc80b617af91ab156160c3ef4308d284
treec398f770b063b934c44c6b23a757b5391c779db0
parent755095707e4da46026fbefb2007281d4d73ef668
[PATCH] Updates for W99[87]CF and new SN9C10[12] driver

This single patch contains some updates and cleanups for
the W996[87]CF driver and a new experimental V4L2 driver
for SONiX SN9C10[12] PC Camera Controllers connected to various
image sensors. I have not divided the patch in two logical
sub-patches becouse of two independent changes in one common
file, KConfigure.

More informations about the SN9C10[12] can be found below in the
documentation. The driver is marked as "EXPERIMENTAL", meaning
that there are no known bugs, but further testing is necessary
before considering it stable. This the first driver using the new
SBGGR8 video format, which has been recently added to the mainline
kernel, so there are no available user application at the moment:
this is one more reason why it should be in the kernel now.

Changes in W996[87]CF:
- remove w9968cf_externaldef.h now that ovcamchip.h is in the kernel;
- mark user pointers with __user in a cleaner way to avoid sparse
  warnings;
- use appropriate exclusive wait macro during open();
- replace info(), err(), warn() with dev_info(), dev_err(), dev_warn(),
  pr_debug(), pr_info();
- replace usb_unlink_urb() + wait_for_completion() with usb_kill_urb();
- fix memory offsets for buffers in the chip to be used with generic
  image sensors;
- 'vppmod_load', 'debug', 'specific_debug' and 'simcams' module
  parameters are now writeable by default;
- fix possible race conditions between disconnect() and open();
- add automatic 'ovcamchip' module loading option with 'ovmod_load'
  module parameter;
- get rid of deprecated intermodule communication routines and use the
  correct module registration/unregistration approach;
- remove period at the end of kernel messages;
- fix several typos;
- use MODULE_VERSION() macro;
- other small internal cleanups;
- documentation updates.

Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
16 files changed:
CREDITS
Documentation/usb/sn9c102.txt [new file with mode: 0644]
Documentation/usb/w9968cf.txt
drivers/usb/media/Kconfig
drivers/usb/media/Makefile
drivers/usb/media/sn9c102.h [new file with mode: 0644]
drivers/usb/media/sn9c102_core.c [new file with mode: 0644]
drivers/usb/media/sn9c102_pas106b.c [new file with mode: 0644]
drivers/usb/media/sn9c102_sensor.h [new file with mode: 0644]
drivers/usb/media/sn9c102_tas5110c1b.c [new file with mode: 0644]
drivers/usb/media/sn9c102_tas5130d1b.c [new file with mode: 0644]
drivers/usb/media/w9968cf.c
drivers/usb/media/w9968cf.h
drivers/usb/media/w9968cf_externaldef.h [deleted file]
drivers/usb/media/w9968cf_vpp.h [new file with mode: 0644]
include/linux/videodev.h