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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
780e312175f688ab5ab6124c91d46fa2b9afe2d2 |
|
19-Oct-2010 |
Jean-François Moine <moinejf@free.fr> |
[media] gspca: Fix coding style issues The errors were found by checkpatch.pl. Most fixes are: - remove spaces followed by TAB(s), - split lines greater than 80 characters, - move most '{'s from start of line to end of previous line. (Some '{'s at start of line remain when the '}'s are on the same line) Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
3e7468313758913c5e4d372f35b271b96bad1298 |
|
10-Dec-2009 |
Linus Torvalds <torvalds@linux-foundation.org> |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (345 commits) V4L/DVB (13542): ir-keytable: Allow dynamic table change V4L/DVB (13541): atbm8830: replace 64-bit division and floating point usage V4L/DVB (13540): ir-common: Cleanup get key evdev code V4L/DVB (13539): ir-common: add __func__ for debug messages V4L/DVB (13538): ir-common: Use a dynamic keycode table V4L/DVB (13537): ir: Prepare the code for dynamic keycode table allocation V4L/DVB (13536): em28xx: Use the full RC5 code on HVR-950 Remote Controller V4L/DVB (13535): ir-common: Add a hauppauge new table with the complete RC5 code V4L/DVB (13534): ir-common: Remove some unused fields/structs V4L/DVB (13533): ir: use dynamic tables, instead of static ones V4L/DVB (13532): ir-common: Add infrastructure to use a dynamic keycode table V4L/DVB (13531): ir-common: rename the debug routine to allow exporting it V4L/DVB (13458): go7007: subdev conversion V4L/DVB (13457): s2250: subdev conversion V4L/DVB (13456): s2250: Change module structure V4L/DVB (13528): em28xx: add support for em2800 VC211A card em28xx: don't reduce scale to half size for em2800 em28xx: don't load audio modules when AC97 is mis-detected em28xx: em2800 chips support max width of 640 V4L/DVB (13523): dvb-bt8xx: fix compile warning ... Fix up trivial conflicts due to spelling fixes from the trivial tree in Documentation/video4linux/gspca.txt drivers/media/video/cx18/cx18-mailbox.h
|
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>
/drivers/media/video/gspca/spca501.c
|
af901ca181d92aac3a7dc265144a9081a86d8f39 |
|
14-Nov-2009 |
André Goddard Rosa <andre.goddard@gmail.com> |
tree-wide: fix assorted typos all over the place That is "success", "unknown", "through", "performance", "[re|un]mapping" , "access", "default", "reasonable", "[con]currently", "temperature" , "channel", "[un]used", "application", "example","hierarchy", "therefore" , "[over|under]flow", "contiguous", "threshold", "enough" and others. Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
/drivers/media/video/gspca/spca501.c
|
d6f76b979c9f83aaf2fa3d51eb5b175690f7acbc |
|
22-Jul-2009 |
Mauro Carvalho Chehab <mchehab@redhat.com> |
V4L/DVB (12478): ARRAY_SIZE changes These changes were a direct result of using a semantic patch More information can be found at http://www.emn.fr/x-info/coccinelle/ [mchehab@redhat.com: fix a merge conflict] Signed-off-by: Stoyan Gaydarov <sgayda2@uiuc.edu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/spca501.c
|
8789d810f104a3e9f4289382968cf5482934b9fd |
|
10-Jan-2009 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (10353): gspca - some subdrivers: 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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
9a23f5fcb0d38ebb70ab31c16c079f38b26e453c |
|
17-Nov-2008 |
Hans de Goede <hdegoede@redhat.com> |
V4L/DVB (9687): gspca: Split brightness and red and blue balance in spca501. 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>
/drivers/media/video/gspca/spca501.c
|
bd131f38aae2f354c4919790712f8ce89896f839 |
|
17-Nov-2008 |
Hans de Goede <hdegoede@redhat.com> |
V4L/DVB (9686): gspca: Don't return the control values from the webcams in spca501. The bridge takes some time to update after a write, so apps doing a quick write/read can get the old value back. 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>
/drivers/media/video/gspca/spca501.c
|
cc043428e5869a629252665d3ecc86ee4c14db3d |
|
17-Nov-2008 |
Hans de Goede <hdegoede@redhat.com> |
V4L/DVB (9685): gspca: Correct restart of webcams in spca501. Currently the spca501 driver only works the first time used, then the cam needs to be unplugged or the driver reloaded, this is because currently the data which should be send each time the stream is started is send only once. Likewise currently the data to initialize the cam is send from the probe function, and thus will not get send after a suspend/resume. This patch fixes this by sending both at the right time. 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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
07767ebda385956bd2b193f9820de719475bfe6e |
|
23-Jul-2008 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (8512): gspca: Do not use the driver_info field of usb_device_id. The field driver_info will be used to handle the specific per webcam information. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
5c6644f305650d3d533b67fc74a96e4a2ea0aa89 |
|
16-Jul-2008 |
Hans de Goede <j.w.r.degoede@hhs.nl> |
V4L/DVB (8363): gspca: Bad image size with spca501. 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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|
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>
/drivers/media/video/gspca/spca501.c
|