History log of /drivers/media/video/gspca/spca561.c
Revision Date Author Comments
eb3fb7c9633f79077c7c650efe0edec1840926da 01-Jan-2012 Hans de Goede <hdegoede@redhat.com> [media] gspca: Add a need_max_bandwidth flag to sd_desc

Some cameras will pretty much entirely fill all the image buffers all the
time even though they are using compression.

This patch adds a flag to sd_desc, which drivers for such cameras can set.

When this flag is set the bandwidth calculation code will no longer
assume that the image buffer size is a worst case and less bandwidth than
imagebufsize * fps will be used on average.

This patch sets this new flag for 3 drivers:
* For spca561 (for rev12a cameras) and nw80x cams as these simply don't work
when given less bandwidth than imagebufsize * fps.
* For sn9c20x cameras, because these show severy jpeg artifacts when
given less bandwidth than imagebufsize * fps and since these are usb2
cameras there is plenty bandwidth anyways.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
6121ca572f1b38dbce79b0366b47dbf2ce305eec 30-Nov-2011 Jean-François Moine <moinejf@free.fr> [media] gspca: Remove the useless variable 'nbalt'

As the alternate settings are now sorted in gspca main,
the variable 'nbalt' is no more useful.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
ecb3b2b35db49778b6d89e3ffd0c400776c20735 18-Nov-2011 Greg Kroah-Hartman <gregkh@suse.de> USB: convert drivers/media/* to use module_usb_driver()

This converts the drivers in drivers/media/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.

Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.

Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Luca Risolia <luca.risolia@studio.unibo.it>
Cc: Jean-Francois Moine <moinejf@free.fr>
Cc: Frank Zago <frank@zago.net>
Cc: Olivier Lorin <o.lorin@laposte.net>
Cc: Erik Andren <erik.andren@gmail.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Brian Johnson <brijohn@gmail.com>
Cc: Leandro Costantino <lcostantino@gmail.com>
Cc: Antoine Jacquet <royale@zerezo.com>
Cc: Jarod Wilson <jarod@redhat.com>
Cc: Florian Mickler <florian@mickler.org>
Cc: Antti Palosaari <crope@iki.fi>
Cc: Michael Krufky <mkrufky@kernellabs.com>
Cc: "David Härdeman" <david@hardeman.nu>
Cc: Florent Audebert <florent.audebert@anevia.com>
Cc: Sam Doshi <sam@metal-fish.co.uk>
Cc: Manu Abraham <manu@linuxtv.org>
Cc: Olivier Grenie <olivier.grenie@dibcom.fr>
Cc: Patrick Boettcher <patrick.boettcher@dibcom.fr>
Cc: "Igor M. Liplianin" <liplianin@me.by>
Cc: Derek Kelly <user.vdr@gmail.com>
Cc: Malcolm Priestley <tvboxspy@gmail.com>
Cc: Steven Toth <stoth@kernellabs.com>
Cc: "André Weidemann" <Andre.Weidemann@web.de>
Cc: Martin Wilks <m.wilks@technisat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Jose Alberto Reguero <jareguero@telefonica.net>
Cc: David Henningsson <david.henningsson@canonical.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Joe Perches <joe@perches.com>
Cc: Jesper Juhl <jj@chaosbits.net>
Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: Anssi Hannula <anssi.hannula@iki.fi>
Cc: Rafi Rubin <rafi@seas.upenn.edu>
Cc: Dan Carpenter <error27@gmail.com>
Cc: Paul Bender <pebender@gmail.com>
Cc: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: "Márcio A Alves" <froooozen@gmail.com>
Cc: Julia Lawall <julia@diku.dk>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Chris Rankin <rankincj@yahoo.com>
Cc: Lee Jones <lee.jones@canonical.com>
Cc: Andy Walls <awalls@md.metrocast.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Dean Anderson <linux-dev@sensoray.com>
Cc: Pete Eberlein <pete@sensoray.com>
Cc: Arvydas Sidorenko <asido4@gmail.com>
Cc: Andrea Anacleto <andreaanacleto@libero.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
133a9fe949862d9ed8411fb423739f4cee08232d 22-Aug-2011 Joe Perches <joe@perches.com> [media] gspca: Use current logging styles

Add pr_fmt.
Convert usb style logging macros to pr_<level>.
Remove now unused old usb style logging macros.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
95c967c167785eb991cf6b22fb854dd8d61d0ff8 13-Jan-2011 Jean-François Moine <moinejf@free.fr> [media] gspca: Remove __devinit, __devinitconst and __devinitdata

__devinit* must not be used in USB drivers.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1d00d6c1ff13607974fcd9469aa9466fcd253c3a 29-Oct-2010 Jean-François Moine <moinejf@free.fr> [media] gspca: Convert some uppercase hexadecimal values to lowercase

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2856643e2e18f306227ae1257b63fc713d426dc7 01-Oct-2010 Jean-François Moine <moinejf@free.fr> V4L/DVB: gspca - many subdrivers: Handle the buttons when CONFIG_INPUT=m

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
0b656321f338a2e5e3d9a9bdce959a2d76857967 13-Sep-2010 Jean-François Moine <moinejf@free.fr> V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
548264375b1c0d51b418bf7ab6d2fec647307ab7 13-Sep-2010 Jean-François Moine <moinejf@free.fr> V4L/DVB: gspca - all modules: Remove useless module load/unload messages

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
436c2c533a2a2f98d95347f4d5b4022becb046f6 28-Feb-2010 Hans de Goede <hdegoede@redhat.com> V4L/DVB: gspca_spca561: Add support for camera button

gspca_spca561: Add support for camera button

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
6b33e5e7fe03c6577ccbaeeb028ab4ec1f26f2b0 27-Feb-2010 Hans de Goede <hdegoede@redhat.com> V4L/DVB: gspca_spca561: Fix LED on rev12a cameras

Fix LED control on rev12a cameras and remove the unneeded
sd_stop0 callback function.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
f8f73d01a31488ec8e923b2148043579d43d0378 17-Mar-2010 John Ellson <john.ellson@comcast.net> V4L/DVB: gspca: make usb id 0461:0815 get handled by the right driver

The 0461:0815 camera is spca561 based not spca508

Signed-off-by: John Ellson <john.ellson@comcast.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
7e64dc4c4d6f5c8935fac25c7fc7aa83f9880ed7 30-Dec-2009 Marton Nemeth <nm127@freemail.hu> V4L/DVB (13899): gspca - all subdrivers: Make control descriptors constant.

The ctrls field of struct sd_desc is declared as const
in gspca.h. It is worth to initialize the content also with
constant values.

Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
76dd272b56cd1c7fa013ef5d7eb28c4d319e322b 13-Nov-2009 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (13453): gspca - all subdrivers: Remove the unused frame ptr from pkt_scan().

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
9035f2e27a99a7ea702973ab4fd47c0dd94a8c6e 25-May-2009 Hans de Goede <hdegoede@redhat.com> V4L/DVB (11872): gspca - spca561: Rename the 'White Balance' control to 'Hue'.

Binary files /home/v4l/tokernel/oldtree/Documentation/video4linux/v4lgrab.o and /home/v4l/tokernel/linux/Documentation/video4linux/v4lgrab.o differ

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
d0848eb2864c0f1ef52d586cd33c68a103b0a2ac 25-May-2009 Hans de Goede <hdegoede@redhat.com> V4L/DVB (11871): gspca - spca561: Change the Rev12a controls.

- Extend the gain range
- Adjust the exposure
- Remove the broken autogain

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
a48196a2f74a2e19e67debe194e337dfc583702f 18-Jan-2009 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (10371): gspca - spca561: Fix image problem in the 352x288 mode of rev72a.

With the wrong clock value, the image had two moving colored lines.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
0dbc2c1674b346ff22f729af14efa4822f81325c 16-Jan-2009 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (10368): gspca - spca561: Fix bugs and rewrite the init/start of the rev72a.

The bugs were in the first init sequence of the sensor.
The rewrite is adapted from a ms-win trace.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
576ed7b5696b9435e8e6a6ec0c57da1f19c7e469 16-Jan-2009 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (10367): gspca - spca561: Optimize the isoc scanning function.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
e6b148490f5e9ebb90ecb4a8de930be1b8936a16 01-Jan-2009 Alexey Klimov <klimov.linux@gmail.com> V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
f69e9529ed96ff917096d0b7b3015c8d8ea5750d 01-Jan-2009 Alexey Klimov <klimov.linux@gmail.com> V4L/DVB (10335): gspca - all subdrivers: Fix CodingStyle in sd_mod_init function.

Introduce int ret and check it value after call to usb_register().

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
50e06dee958bdb81229cb42486f7fdc4917fa4da 31-Dec-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (10333): gspca - main and many subdrivers: Remove the epaddr variable.

The transfer endpoint address is now automatically chosen.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d 29-Dec-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (10049): gspca - many subdrivers: Set 'const' the pixel format table.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
f8a04a6fc4373001a7f311540dba5e4f4d86300f 19-Dec-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (9988): gspca - spca561: Separate the bridge and sensor tables of Rev72a

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
5b7ed28ec5deb57f790e38af8d813310b830743c 18-Dec-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (9987): gspca - spca561: Control changes for Rev72a.

- move the rev12a sequence from setcontrast to end of start
- add the white balance control for rev72a
- adjust the contrast formula

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
f4b59e353239d3c8e2456a986e42f4c87cfcef9f 17-Dec-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (9986): gspca - spca561: Don't get the control values from the webcam.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
35dc1b4cfa75dc0fa5ed44991b41db814e0f7741 17-Dec-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (9985): gspca - spca561: Cleanup source.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
98522a7be97f2b23451342e36c39f412f0461e24 18-Nov-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (9689): gspca: Memory leak when disconnect while streaming.

As a side effect, the sd routine stop0 is called on disconnect.
This permits the subdriver to free its resources.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
695ebd125ade17101861c9eb99f74e6cc9a516ed 04-Oct-2008 Mauro Carvalho Chehab <mchehab@redhat.com> V4L/DVB (9098): Whitespace cleanups

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
72ab97cecb7225a4c9f74cdd80268b50b74697bb 20-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (9079): gspca: Return error code from stream start functions.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
117a45a85e8c250a45674f81aadd68d77281e57b 15-Sep-2008 Shane <gnome42@gmail.com> V4L/DVB (9076): gspca: USB direction lacking in spca561.

Signed-off-by: Shane <gnome42@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
27cf8fd14e44d17b22f3591ef65d6920fb9e0409 11-Sep-2008 Shane <gnome42@gmail.com> V4L/DVB (9058): spca561: while balance -> white balance typo

Cc: Jean-Francois Moine <moinejf@free.fr>
Cc: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
05d3c1e2fb95d3233f6ec0f1d4b9bb07655636b2 14-Sep-2008 Shane <gnome42@gmail.com> V4L/DVB (9075): gspca: Bad check of returned status in i2c_read() spca561.

This makes auto gain functional on 04fc:0561.

Signed-off-by: Shane <gnome42@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
8561098ff11d21f1a6a9a01fae2e68653928dbb5 02-Sep-2008 Li Zefan <lizf@cn.fujitsu.com> V4L/DVB (8881): gspca: After 'while (retry--) {...}', retry will be -1 but not 0.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
0fc23d20699a6a3b7e34b3be2cc5e60317ba7849 04-Sep-2008 Hans de Goede <j.w.r.degoede@hhs.nl> V4L/DVB (8873): gspca: Bad image offset with rev012a of spca561 and adjust exposure.

-Make raw bayer header size change from 20 to 16 affect rev072a only, my 2
rev012a cams both have a header size of 20
-While testing this I also tested the new exposure setting (good work on
finding the register JF), and after quite a bit of testing have found out the
exact meaning of the register, this patch modifies setexposure to control
the exposure over a much wider range.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
b77c0046a63e7aa87152f9978cf7c46e7bead7fc 04-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8872): gspca: Bad image format and offset with rev072a of spca561.

- have 2 pixfmt tables
- offset of Bayer frames at 16 instead of 20.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
012d6b029ec17f45374303bbdccd0bc206725751 03-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume.

- new function 'init' called on probe and resume
- remove the functions 'open' and 'closed'
- 'stopN' and 'stop0' are optional

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
6a709749228c5f76f128c69c16f39a52d639bd96 03-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8718): gspca: suspend/resume added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
3a1ea7050345734acc3a33b2b00a611b9b7bf640 03-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8705): gspca: Adjust some control limits in spca561.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
d698dc6b0477d3165a7f320b3ce36d1cbd361c94 03-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8703): gspca: Do controls work for spca561 revision 12a.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
7879d459f1601be742d0d63930d17cd4aac956fd 03-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8672): gspca: Big rewrite of spca561.

Bug register/value inversions in USB exchanges.
Exposure and gain controls added for rev 12a.
Separate the functions and controls of the revisions 12a and 72a.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
a0b508c2d7d0de0e46555793e334e35381716825 03-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8671): gspca: Remove the unused field 'dev_name' of the device structure.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
6c9d3c59e6fdb8dfadaf7ba38f1d0b64ff066b36 03-Sep-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8669): gspca: Add white balance control for spca561 rev 012A.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
cebf3b67f7f80fd69bd1ff5787fee69ab8fd3c2a 03-Aug-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8604): gspca: Fix of "scheduling while atomic" crash.

The crash is due to USB exchanges done at interrupt level.
These exchanges, tied to autogain, are now done by the application.
Also, there is a fix about autogain start.
Concerned subdrivers: etoms, pac7311, sonixj and spca561.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
87581aa5f10959224fc7e1a30ac9af53949d0ef2 26-Jul-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
9d64fdb15b1b9ce9144cfde4001e9194ccde42d1 25-Jul-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info.

This patch removes a big part of the code run at probe time.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
10b0e96ed9a1ce0412ef981cf6250f9de3c80b02 22-Jul-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8442): gspca: Remove the version from the subdrivers.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
739570bb218bb4607df1f197282561e97a98e54a 14-Jul-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8352): gspca: Buffers for USB exchanges cannot be in the stack.

gspca: Protect dq_callback() against simultaneous USB exchanges.
Temporary buffer for USB exchanges added in the device struct.
(all) Use a temporary buffer for all USB exchanges.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
c2446b3eba97243acbe2ad0939a28b5edb97eae7 05-Jul-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8201): gspca: v4l2_pix_format in each subdriver.

main: Parameter comp_fac removed.
main, pac207:
get_buff_size op removed.
(all) v4l2_pix_format in each subdriver.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
a5ae2062252e697d38e53dbbeb91460252208914 04-Jul-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8195): gspca: Input buffer overwritten in spca561 + cleanup code.

spca561: Input buffer may be changed on reg write.
(all sd): Cleanup code, 'const' added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
54ab92ca05550550bcec2462de2605f35d079b66 03-Jul-2008 Hans de Goede <j.w.r.degoede@hhs.nl> V4L/DVB (8194): gspca: Fix the format of the low resolution mode of spca561.

The low (half) res modes of the spca561 are not spca561 compressed, but are
raw bayer, this patches fixes this and adds a PIX_FMT define for the GBRG
bayer format used by the spca561 in low res mode.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
6a7eba24e4f0ff725d33159f6265e3a79d53a833 30-Jun-2008 Jean-Francois Moine <moinejf@free.fr> V4L/DVB (8157): gspca: all subdrivers

- remaning subdrivers added
- remove the decoding helper and some specific frame decodings

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>