summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_po1030.c
AgeCommit message (Collapse)Author
2009-04-26gspca - m5602: Storage class should be before const qualifierMauro Carvalho Chehab
From: Tobias Klauser <tklauser@distanz.ch> 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] Signed-off-by: Tobias Klauser <tklauser@distanz.ch> CC: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-28gspca - m5602-po1030: Disable QVGA for nowErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Getting QVGA to be supported on the po1030 seems harder than I first thought. I need access to the proper hardware in order to fix it up. Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2009-01-18gspca - m5602-po1030: Clear subsampling flag when setting VGA modeErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-16gspca - m5602-po1030: Impove the bridge vsync/hsync configurationErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-15gspca - m5602-po1030: Add experimental QVGA supportErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Adds experimental support for QVGA. This is code is compile tested only. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-15gspca - m5602-po1030: Synthesize the hsync/vsync setupErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-15gspca - m5602-po1030: Setup window per resolutionErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> This patch for the po1030 sets the drawing window for the VGA resolution Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-13gspca - m5602-po1030: Add private green balance controlErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-13gspca - m5602-po1030: Add auto exposure controlErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-11gspca - m5602-po1030: Set the blue balance in the init not red balance twiceErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-11gspca - m5602-po1030: Fix sensor probing.Erik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> The po1030 read sensor are currently returning the contents of the address+1 fix the probing of the sensor to cope with this. Obviously this needs to be tracked down and fixed. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-09gspca - m5602: Move all dump_sensor to the init functionErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-04-03gspca - m5602: Let all ctrls on all sensors be staticErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> All hail the static keyword Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-08gspca - m5602-po1030: Split up the init into init and startErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Split up the po1030 init into start and init. Add a start function. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-08gspca - m5602-po1030: Probe read only register at probe timeErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Currently, we're probing r/w registers at probe time. This is potentially dangerous, probe some read only registers instead. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-08gspca - m5602-po1030: Remove unnecessary error checkErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-08gspca - m5602-po1030: Add auto white balancing controlErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Add a po1030 auto white balancing control that's disabled by default Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-07gspca - m5602-po1030: Set all v4l2 controls at sensor initErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Previously many of the v4l2 ctrls were set to their initial values at resume from ram/disk. This patch enforces the values stored in the ctrl cache. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-07gspca - m5602-po1030: Simplify register definesErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> This patch renames some register defines in the ov9650 sensor. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-07gspca - m5602-po1030: Rename register defines, add missing ones.Erik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> The po1030 register defines are unnecessarily complex, simplify them and also add some missing ones. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-06gspca - m5602-mt9m111: Remove the unused power_down struct memberErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> The power_down sensor struct member is almost has no purpose in the current driver abstraction. Remove it. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2009-01-06gspca - m5602-po1030: Convert to have a v4l2 ctrl cacheErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Let the po1030 have a local v4l2 ctrl cache as this minimizes the load on reading the registers and improves performance. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2008-12-30gspca - m5602-mt9m111: Move v4l2 controls to main sensor file.Erik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Move over the v4l2 controls to the sensor specific source file. Remove the now redundant sensor struct member. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2008-12-30gspca - m5602-mt9m111: Separate mode vectors per sensor.Erik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> By separating the supported for each sensor into a separate vector we can eliminate the nmodes variable and instead calculate it at runtime. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2008-12-30gspca - m5602: Rework v4l ctrl handling in all sensorsErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Previously, all sensors allocated a part of a large ctrl vector. Define this vector separately for each sensor instead. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2008-12-27gspca - m5602: Simplify error handlingErik Andr?n
From: Erik Andr?n <erik.andren@gmail.com> Simplfy error handling by replacing goto statements with return equivalents. Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
2008-11-27Use read/modify/write when toggling vflip on the po1030Erik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-11-27The po1030 never sends long i2c messages, no need to test for that in the ↵Erik Andrén
init phase From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-11-27Remove the po1030 read_sensor functionErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-11-27Let the po1030 use the common read_sensor functionErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-11-26Remove all sensor specific write functions.Erik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-11-26Convert all sensors to use the unified write sensor functionErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-11-24Convert some functions to be staticErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-11-20Cleanup the po1030 sensor error handlingErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-10-16gspca: Add hflip and vflip to the po1030 sensorJean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-16gspca: Use the gspca debug macrosJean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-16gspca: Correct some copyright headersJean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-03gspca: Moves some sensor initialization to each sensor in m5602.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-01gspca: Subdriver m5602 (ALi) added.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> 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. Priority: high Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>