diff options
author | Luca Risolia <luca.risolia@studio.unibo.it> | 2006-02-07 19:05:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 17:49:59 -0500 |
commit | 9e47a52bf36fa4a24f56f878f4ca57eb885c78dd (patch) | |
tree | 366b55f9a85f80d3bd2877d498d0fae2034419b1 /Documentation | |
parent | addf36fec058691f7ba4f95b5487d140f4a86f5a (diff) |
[PATCH] USB: ZC0301 driver updates
"Cosmetic" driver updates for the ZC0301 driver:
- Fix stream_interrupt() (and work around a possible kernel bug);
- Fix vidioc_enum_input() and split vidioc_gs_input() in two parts;
- Use wait_event_interruptible_timeout() instead of wait_event_interruptible()
when waiting for video frames;
- replace erroneous wake_up_interruptible(&wait_stream) with
wake_up(&wait_stream);
- Cosmetic cleanups in the documentation.
Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/usb/zc0301.txt | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/Documentation/usb/zc0301.txt b/Documentation/usb/zc0301.txt index 10590bf625e4..0889ae6ac7d8 100644 --- a/Documentation/usb/zc0301.txt +++ b/Documentation/usb/zc0301.txt | |||
@@ -67,8 +67,7 @@ Some of the features of the driver are: | |||
67 | - available mmap or read/poll methods for video streaming through isochronous | 67 | - available mmap or read/poll methods for video streaming through isochronous |
68 | data transfers; | 68 | data transfers; |
69 | - automatic detection of image sensor; | 69 | - automatic detection of image sensor; |
70 | - video formats is standard JPEG in various compression qualities | 70 | - video format is standard JPEG; |
71 | (see also "Notes for V4L2 application developers" paragraph); | ||
72 | - full support for the capabilities of every possible image sensors that can | 71 | - full support for the capabilities of every possible image sensors that can |
73 | be connected to the ZC0301 bridges, including, for istance, red, green, | 72 | be connected to the ZC0301 bridges, including, for istance, red, green, |
74 | blue and global gain adjustments and exposure control (see "Supported | 73 | blue and global gain adjustments and exposure control (see "Supported |
@@ -226,10 +225,6 @@ The same number of buffers as before will be allocated again to match the size | |||
226 | of the new video frames, so you have to map the buffers again before any I/O | 225 | of the new video frames, so you have to map the buffers again before any I/O |
227 | attempts on them. | 226 | attempts on them. |
228 | 227 | ||
229 | This driver supports the standard JPEG video format. The current compression | ||
230 | quality may vary from 0 to 3 and can be selected or queried thanks to the | ||
231 | VIDIOC_S_JPEGCOMP and VIDIOC_G_JPEGCOMP V4L2 ioctl's. | ||
232 | |||
233 | 228 | ||
234 | 10. Contact information | 229 | 10. Contact information |
235 | ======================= | 230 | ======================= |
@@ -242,9 +237,9 @@ the fingerprint is: '88E8 F32F 7244 68BA 3958 5D40 99DA 5D2A FCE6 35A4'. | |||
242 | 237 | ||
243 | 11. Credits | 238 | 11. Credits |
244 | =========== | 239 | =========== |
245 | - Informations about the chip internals to enable the I2C protocol have been | 240 | - Informations about the chip internals needed to enable the I2C protocol have |
246 | taken from the documentation of the ZC030x Video4Linux1 driver written by | 241 | been taken from the documentation of the ZC030x Video4Linux1 driver written |
247 | Andrew Birkett <andy@nobugs.org>; | 242 | by Andrew Birkett <andy@nobugs.org>; |
248 | - Initialization values of the ZC0301 connected to the PAS202BCB image sensor | 243 | - Initialization values of the ZC0301 controller connected to the PAS202BCB |
249 | have been taken from the SPCA5XX driver maintained by | 244 | image sensor have been taken from the SPCA5XX driver maintained by |
250 | Michel Xhaard <mxhaard@magic.fr> | 245 | Michel Xhaard <mxhaard@magic.fr>. |