bdfe91f411bd05392952efc1afdce8bda1923517 |
|
22-Aug-2011 |
Joe Perches <joe@perches.com> |
[media] m5602: Use current logging styles Add pr_fmt and convert usb style logging macro uses to pr_<level>. Coalesce format strings. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
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>
|
969cc9264bf2bd94d51748bacdafa90352ab71fa |
|
27-Dec-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (13883): gspca - m5602: Be less verbose during sensor probe Currently all probed sensor types are emitted in the kernel log, generating unnecessary noise. Be less verbose and only report what sensor is found (if any) Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
5cc60d61432f30b2d0777a15d050f6c0613887f5 |
|
11-Nov-2009 |
Erik Andren <erik.andren@gmail.com> |
V4L/DVB (13880): gspca - m5602-s5k4aa: Add vflip quirk for the Amilo Xi 2428 Add a vflip quirk for the Fujitsu-Siemens Amilo Xi 2428. Thanks to Myroslav Zapukhlyak for reporting. Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
83955556669f69fccfd332b52e9b1796d60c77bd |
|
12-Dec-2009 |
Jean-Francois Moine <moinejf@free.fr> |
V4L/DVB (13626): gspca - many subdrivers: Fix some warnings. - gl860.c:332:15: warning: cast to restricted __le16 - gl860.c:333:15: warning: cast to restricted __le16 - gl860-mi1320.c:348:5: warning: symbol 'mi1320_camera_settings' was not declared. Should it be static? - gl860-mi2020.c:772:5: warning: symbol 'mi2020_camera_settings' was not declared. Should it be static? - m5602_ov9650.c:444:7: warning: symbol 'data' shadows an earlier one - m5602_core.c:84:5: warning: symbol 'm5602_wait_for_i2c' was not declared. Should it be static? - m5602_core.c:391:6: warning: symbol 'm5602_disconnect' was not declared. Should it be static? - m5602_s5k4aa.c:530:23: warning: dubious: x | !y - m5602_s5k4aa.c:575:23: warning: dubious: x | !y - gspca.c:1196:13: warning: potentially expensive pointer subtraction - mr97310a.c:70:5: warning: symbol 'force_sensor_type' was not declared. Should it be static? - ov519.c:2025:4: warning: do-while statement is not a compound statement - ov519.c:2063:4: warning: do-while statement is not a compound statement - ov519.c:2089:4: warning: do-while statement is not a compound statement - ov519.c:1985:34: warning: incorrect type in assignment (different base types) - sn9c20x.c:1164:5: warning: symbol 'i2c_r1' was not declared. Should it be static? - sn9c20x.c:1189:5: warning: symbol 'i2c_r2' was not declared. Should it be static? - sn9c20x.c:2237:27: warning: right shift by bigger than source value - sn9c20x.c:2237:27: warning: right shift by bigger than source value Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
81191f694cb507c49d3c7aa6238dcc0a83ad4001 |
|
03-Oct-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (13257): gspca - m5602-s5k4aa: Add vflip for Fujitsu Amilo Xi 2528 Adds a vflip quirk for the Fujitsu Amilo Xi 2528. Thanks to Evgeny for the report. Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
2339a1887dab469bb4bae56aa7eca3a5e05ecde7 |
|
27-Sep-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (13256): gspca - m5602-s5k4aa: Add another MSI GX700 vflip quirk Adds another vflip quirk for the MSI GX700. Thanks to John Katzmaier for reporting. Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
b6ef8836c1ff5199abd40cfba162052bc7e8af00 |
|
27-Sep-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (13255): gspca - m5602-s5k4aa: Add vflip quirk for the Bruneinit laptop Adds a vflip quirk for the Bruneinit laptop. Thanks to Jörg for the report Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
95e6dcd1bbb98ea215ad22585743ef9e60cfa3ff |
|
30-Aug-2009 |
Brian Kloppenborg <bkloppenborg@gmail.com> |
V4L/DVB (12878): gspca - m5602-s5k4aa: Add vflip quirk for the GX700 The MSI GX700 is a tricky machine to support. Some revisions do need the sensor flipped, but not all. Add another quirk, distinguished by its BIOS date. Signed-off-by: Brian Kloppenborg <bkloppenborg@gmail.com> Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
9760677417c27ea59442cc748ee0b8d5f44162d3 |
|
01-Jul-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (12877): gspca - m5602-s5k4aa: Add vflip quirk for the Amilo Pa 2548 Add vflip quirk for the Fujitsu Siemens Amilo Pa 2548 Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
641f75caa874fffd679b64f850adee37103b0c0f |
|
08-Jul-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (12224): gspca - m5602-s5k4aa: Remove erroneous register writes A couple of erroneous register writes snuck in that made the image go haywire. Remove these. Many thanks to Grégory Lardière for finding this out Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
f02c3944c1331f0b41c5d75b6d5d69d8858b169f |
|
06-May-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (11940): gspca - m5602-s5k4aa: Add vflip quirk for the Lenovo Y300 The Lenovo Y300 has its sensor upside down. Quirk it to gain normal functionality. Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
79c3576a1938002c458ffc517668fcb944aff42e |
|
12-Feb-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (11690): gspca - m5602-s5k4aa: Add vflip quirk for the MSI L735 Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
9bc738fb5392f0733529e26d9bb70c8b3d5637ff |
|
12-Feb-2009 |
Grégory Lardière <spmf2004-m560x@yahoo.fr> |
V4L/DVB (11689): gspca - m5602-s5k4aa: Fixup the vflip/hflip Ensure that the hflip and vflip is consistent when the sensor needs to be vflip quirked or not. Signed-off-by: Grégory Lardière <spmf2004-m560x@yahoo.fr> Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
60d52cecedf7b55bed07d59ab6039ae066f01124 |
|
12-Feb-2009 |
Grégory Lardière <spmf2004-m560x@yahoo.fr> |
V4L/DVB (11688): gspca - m5602-s5k4aa: Fixup SXGA resolution. The SXGA resolution doesn't work unless you first force the VGA resolution. More investigation is needed in order to fix this the "right" way. Signed-off-by: Grégory Lardière <spmf2004-m560x@yahoo.fr> Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
65bd761e9a8c9114febab4e554ec0800c59e8983 |
|
02-Feb-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (11686): gspca - m5602-s5k4aa: Disable SXGA resolution for now SXGA resolution needs more testing. Disable it for now Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
4fcec145e9eaae26864731fd6a3120d34abcaffe |
|
29-Jan-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (11684): gspca - m5602-s5k4aa: Add experimental SXGA support Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
2e03669d9da8c52f24ba44fdbd17c5df7be10585 |
|
26-Apr-2009 |
Tobias Klauser <tklauser@distanz.ch> |
V4L/DVB (11654): gspca - m5602: Storage class should be before const qualifier The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. [mchehab@redhat.com: Fix a trivial merge conflict] Cc: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
2f17e1a1f0e545a80cb012cd10cef381acb07574 |
|
22-Jan-2009 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (11640): gspca - m5602-s5k4aa: Flip hflip and vflip together Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
7ee4629092aa2982a3fbb9cfb3691637b55b4a40 |
|
14-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11530): gspca - m5602-s5k4aa: Add brightness v4l2 ctrl Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
3290d40206ce122058a1f1f56dfce3d2000107b3 |
|
13-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11529): gspca - m5602-s5k4aa: Add noise suppression ctrl Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
71c6e59d474ed8608b4e5aa998bec47b46c44a93 |
|
13-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11528): gspca - m5602-s5k4aa: Consolidate the gain settings, adjust row start Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
a68985d46962305f537380a572903fb78dbe207c |
|
13-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11527): gspca - m5602-s5k4aa: Try to use proper read-modify-write of the vflip/hflip Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
36e756c5cc024174fec48ba21f1011aed5707e25 |
|
09-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11467): gspca - m5602: Move all dump_sensor to the init function Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
cf811d506a3ed5721e3f22c77309aff489ce54c7 |
|
03-Apr-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11466): gspca - m5602: Let all ctrls on all sensors be static All hail the static keyword Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
d4a389a39bb9586219641144ab0c79706bbc8bcc |
|
09-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11465): gspca - m5602-s5k4aa: Set all v4l2 ctrls on sensor init. Reset all v4l2 ctrls on the s5k4aa init. The prevents all ctrls to be reset during resume from ram. Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
09a7480ec127d26cade353b49f912c3348f6532e |
|
06-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11454): gspca - m5602-mt9m111: Remove the unused power_down struct member The power_down sensor struct member is almost has no purpose in the current driver abstraction. Remove it. Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
a594fb4866ddebcb413577974654be8cffc37a1b |
|
06-Jan-2009 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11453): gspca - m5602-s5k4aa: Convert to use the v4l2 ctrl cache Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
e17cc08c2f0d714715c8c737899a6b9732c868b2 |
|
30-Dec-2008 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11414): gspca - m5602-mt9m111: Move v4l2 controls to main sensor file. Move over the v4l2 controls to the sensor specific source file. Remove the now redundant sensor struct member. Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
74cadfe1314f4cc6060dcfa5cea9ef13c6a824fd |
|
30-Dec-2008 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11413): gspca - m5602-mt9m111: Separate mode vectors per sensor. By separating the supported for each sensor into a separate vector we can eliminate the nmodes variable and instead calculate it at runtime. Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
e4cc4fcc7b85ec32f05343b02229492c06baba1a |
|
30-Dec-2008 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11411): gspca - m5602: Rework v4l ctrl handling in all sensors Previously, all sensors allocated a part of a large ctrl vector. Define this vector separately for each sensor instead. Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
051781b3a8ea31f1834fddb916607a3088a28f71 |
|
27-Dec-2008 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11405): gspca - m5602: Simplify error handling Simplfy error handling by replacing goto statements with return equivalents. Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
ad567ec23501dfdf00dcc8915709a1fda556b6f4 |
|
26-Dec-2008 |
Erik Andr?n <erik.andren@gmail.com> |
V4L/DVB (11404): gspca - m5602-s5k4aa: Add start function and VGA resolution init. Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
d2c452306ab402d7a3572bc3bf8e575796529bf8 |
|
22-Feb-2009 |
Gregory Lardiere <spmf2004-m560x@yahoo.fr> |
V4L/DVB (10789): m5602-s5k4aa: Split up the initial sensor probe in chunks. The previous probe rotine tried to read 6 bytes in one chunk which currently isn't allowed. This is the rev. 10346 243399e67c41 readded with a high priority. Signed-off-by: Gregory Lardiere <spmf2004-m560x@yahoo.fr> Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
62e856dc2fa49d3fc0b5d0b7b315236ea49c5f34 |
|
27-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (10026): m5602: remove the s5k4aa implementation of the read_sensor Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
4feb24fc2643dc612b3c598c5de062cfbb08e6ea |
|
27-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (10025): m5602: convert the s5k4aa sensor to use the common function Convert the s5k4aa sensor to use the common read_sensor function Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
fce65f6515f049dea9451afaa0e85af01aecd190 |
|
26-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (10014): gspca - m5602: Remove all sensor specific write functions. Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
6dc4cff0c391c691dae56486f854534658fdfea8 |
|
26-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (10013): Convert all sensors to use the unified write sensor function Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
658efb63e4d0620369c301d9401acde10499def2 |
|
24-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (10009): gspca - m5602: Convert some functions to be static Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
32500701e572f07e4d9c8e10c6c26d09c28f48a4 |
|
20-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (10005): m5602: Cleanup the s5k4aa error handling, cull some comments Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
84833a3f4e22907379462e8a7c18970db70d21d8 |
|
19-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (10000): gspca - m5602: Add lost ampersand This restores the correct boolean expression Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
579ef879999f9b9e9215ad5c5bb78e168cc64dde |
|
18-Nov-2008 |
Erik Andrén <erik.andren@gmail.com> |
V4L/DVB (9703): Move the s5k4aa vflip quirk table to the main sensor file in order to avoid compilation errors on older kernels Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
17ea88ae956279b20e7be8e2906212fbdde24f3d |
|
16-Oct-2008 |
Erik Andren <erik.andren@gmail.com> |
V4L/DVB (9280): gspca: Use the gspca debug macros Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
0c505e688bb22c1b4431b4c07cd1fcff22fe37a2 |
|
16-Oct-2008 |
Erik Andren <erik.andren@gmail.com> |
V4L/DVB (9279): gspca: Correct some copyright headers Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
d2d7e9ae3138307284c815e1c37ea0b7b8834692 |
|
03-Oct-2008 |
Erik Andren <erik.andren@gmail.com> |
V4L/DVB (9095): gspca: Moves some sensor initialization to each sensor in m5602. Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
c109f8168f259ea1f1ab7009c6b99dbe8ea0e2b2 |
|
01-Oct-2008 |
Erik Andren <erik.andren@gmail.com> |
V4L/DVB (9091): gspca: Subdriver m5602 (ALi) added. This patch adds support for the ALi m5602 usb bridge and is based on the gspca framework. It contains code for communicating with 5 different sensors: OmniVision OV9650, Pixel Plus PO1030, Samsung S5K83A, S5K4AA and finally Micron MT9M111. Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> [mchehab@redhat.com: fix m5602/Makefile] [mchehab@redhat.com: extern debug caused conflicts. Renamed to m5602_debug] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|