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/conex.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/conex.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/conex.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/conex.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/conex.c
|
9a731a3265a808c806766a28e2b62e9da78f9ac6 |
|
04-Jun-2010 |
Jean-François Moine <moinejf@free.fr> |
V4L/DVB: gspca - JPEG subdrivers: Don't allocate the JPEG header The JPEG header is now included in the subdriver structure instead of being allocated and freed at capture start and stop. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/conex.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/conex.c
|
aabcdfb65be31d7f9486d1400fa217c8827dddd3 |
|
05-Jan-2010 |
Márton Németh <nm127@freemail.hu> |
V4L/DVB (13898): gspca - some subdrivers: Make sd_desc const. The function callbacks in sd_desc are defined at compile time and they do not change at runtime. Make the sd_desc initializations const. Signed-off-by: Márton Németh <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/conex.c
|
37b372e5ebe187037e01885151a0afb546a38520 |
|
10-Dec-2009 |
Márton Németh <nm127@freemail.hu> |
V4L/DVB (13621): gspca - some subdrivers: Make device_table[]s constant. Signed-off-by: Márton Németh <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/conex.c
|
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/conex.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/conex.c
|
3eb0237d445c23e9f46b11a07bce986eca450640 |
|
19-Jul-2009 |
Julia Lawall <julia@diku.dk> |
V4L/DVB (12284): gspca - jpeg subdrivers: Check the result of kmalloc(jpeg header). Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/conex.c
|
77ac0baf24d1a43498f7bdf6efa2ee6c4ed0ebaa |
|
02-Mar-2009 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (11040): gspca - most jpeg subdrivers: Have the JPEG quality settable. The JPEG quality of the images (quantization tables) is now settable by the VIDIOC_S_JPEGCOMP ioctl. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/conex.c
|
71cb2764fcc51bd9e1b95be5b0f2da6f026634c7 |
|
03-Mar-2009 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (11039): gspca - most jpeg subdrivers: Change the JPEG header creation. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/conex.c
|
36e819db435a61819d50c57c424a5ab2b9634e59 |
|
07-Jan-2009 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (10345): gspca - jpeg subdrivers: One quantization table per subdriver. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/conex.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/conex.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/conex.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/conex.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/conex.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/conex.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/conex.c
|
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>
/drivers/media/video/gspca/conex.c
|
8295d99ee5340f1e62b53c8adc979e0789299445 |
|
03-Sep-2008 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (8829): gspca: Have a clean kmalloc-ated buffer for USB exchanges. The USB buffer may be used for DMA and there may be a caching problem if the buffer is part of the device structure. Thanks to Alan Stern. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/gspca/conex.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/conex.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/conex.c
|
335b3f88f2c3cb101059970f57860503b20d210f |
|
30-Jul-2008 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (8571): gspca: Don't use CONFIG_VIDEO_ADV_DEBUG as a compile option. This option is changed to GSPCA_DEBUG and it is set by default in gspca.h. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/gspca/conex.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/conex.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/conex.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/conex.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/conex.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/conex.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/conex.c
|
bf7f0b98426b54c29ec8100a3f1963114c2f2ef0 |
|
03-Jul-2008 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (8193): gspca: Input buffer may be changed on reg write. Done for conex, etoms, pac7311, sonixj, t613 and tv8532. Code cleanup for some other subdrivers. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/gspca/conex.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/conex.c
|