summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca
AgeCommit message (Collapse)Author
2009-01-05drivers/media: Fix a number of sparse warningsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> anysee.c:44:5: warning: symbol 'dvb_usb_anysee_delsys' was not declared. Should it be static? cx24116.c:378:3: warning: symbol 'CX24116_MODFEC_MODES' was not declared. Should it be static? stb0899_algo.c:57:5: warning: symbol 'stb0899_get_srate' was not declared. Should it be static? stb0899_algo.c:766:6: warning: symbol 'Log2Int' was not declared. Should it be static? stb0899_drv.c:137:20: warning: symbol 'stb0899_quant_tab' was not declared. Should it be static? stb0899_drv.c:180:20: warning: symbol 'stb0899_est_tab' was not declared. Should it be static? stb0899_drv.c:220:5: warning: symbol '_stb0899_read_reg' was not declared. Should it be static? budget-ci.c:1348:23: warning: symbol 'tt3200_stb6100_config' was not declared. Should it be static? /home/v4l/master/v4l/cx25840-core.c:190:6: warning: symbol 'cx25840_work_handler' was not declared. Should it be static? /home/v4l/master/v4l/m5602_s5k83a.c:116:6: warning: symbol 's5k83a_dump_registers' was not declared. Should it be static? Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30v4l2: introduce v4l2_file_operations.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Introduce a struct v4l2_file_operations for v4l2 drivers. Remove the unnecessary inode argument. Move compat32 handling (and llseek) into the v4l2-dev core: this is now handled in the v4l2 core and no longer in the drivers themselves. Note that this changeset reverts an earlier patch that changed the return type of__video_ioctl2 from int to long. This change will be reinstated later in a much improved version. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-30stv06xx: Avoid having y unitializedMauro Carvalho Chehab
From: Erik Andrén <erik.andren@gmail.com> As pointed by gcc: drivers/media/video/gspca/stv06xx/stv06xx_hdcs.c: In function ‘hdcs_set_size’: drivers/media/video/gspca/stv06xx/stv06xx_hdcs.c:301: warning: ‘y’ may be used uninitialized in this function Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-29stv06xx: partially revert changeset 7504a804618fMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Some functions shouldn't be static. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> CC: Erik Andren <erik.andren@gmail.com> CC: Jean-Francois Moine <moinejf@free.fr>
2008-12-29More than one driver defines the same var name (dump_bridge). AddMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> "static" on stv06xx for all static functions and parameters to avoid such troubles. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> CC: Erik Andren <erik.andren@gmail.com> CC: Jean-Francois Moine <moinejf@free.fr>
2008-12-29gscpa - stv06xx: Fix compilation with kernel treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-29gspca - vc032x: Webcam 046d:0897 added.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-29gspca - many subdrivers: Set 'const' the pixel format table.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-29gspca - stv06xx: New subdriver.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-12-29gspca - ov534: Use the gspca usb buf for usb control messages.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-28gspca - ov534: Remove empty line in trace.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-27gspca - pac7311: Webcam 093a:2620 added.Jean-Francois Moine
From: Hans de Goede <hdegoede@redhat.com> Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-26merge: ~eandren/gspca-m5602Jean-Francois Moine
2008-12-26gspca - zc3xx: Webcam 046d:089d added.Jean-Francois Moine
From: Fabio Rossi <rossi.f@inwind.it> Priority: normal Signed-off-by: Fabio Rossi <rossi.f@inwind.it> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-26Merge with the main gspca tree.Erik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-24gspca - main: Don't lock the kernel on ioctl.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-23Rework parts of the resolution initializationErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-23ov9650: Activate variopixelErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-23ov9650: Add CIF modeErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-23Tweak the hsync. Remove redundant init sequenceErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-22Add QVGA mode for the ov9650 sensorErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-21ov9650: Prepare the sensor to set multiple resolutions.Erik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-21Add a start sending hook in the sensor structErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-21gspca - ov534 and m5602: Set static some functions/variables.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-21gspca: t613: Bad loop in om6802 reset.Jean-Francois Moine
From: Roel Kluin <roel.kluin@gmail.com> Priority: normal Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-20gspca - pac207: Webcam 093a:2461 added.Jean-Francois Moine
From: Hans de Goede <hdegoede@redhat.com> Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-19gspca - main: Check if a buffer has been queued on streamon.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-19gspca - main: Remove useless tests of the buffer type.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The buffer type is already checked in v4l2-ioctl. Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-19Fixup offset in order to align imageErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-19Add some commentsErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-19gspca - spca561: Separate the bridge and sensor tables of Rev72a.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-19Add vflip quirk for Alienware m9700Erik Andrén
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2008-12-18gspca - spca561: Control changes for Rev72a.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - move the rev12a sequence from setcontrast to end of start - add the white balance control for rev72a - adjust the contrast formula Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-17gspca - spca561: Don't get the control values from the webcam.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-17gspca - spca561: Cleanup source.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-15gspca - pac7311: Webcam 093a:262c added.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-14gspca - pac207: Update my email address.Jean-Francois Moine
From: Hans de Goede <hdegoede@redhat.com> Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-14gspca - ov534: Fix a warning when compilation without GSPCA_DEBUG.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-14gspca - ov534: Show sensor ID.Jean-Francois Moine
From: Antonio Ospite <ospite@studenti.unina.it> The original version of sccb_read_reg() is from Jim Paris. NOTE: as it is now reading sensor ID won't work for sensors on different i2c slave address. Priority: normal Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-14gspca - ov534: Fix typo.Jean-Francois Moine
From: Antonio Ospite <ospite@studenti.unina.it> Priority: normal Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-13gspca - vc032x: Add V&H flips and sharpness controls for sensor po1200.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-12gspca - vc032x: Remove the unused quality/qindex.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-11gspca - vc032x: Fix frame overflow errors with vc0321.Jean-Francois Moine
From: Hans de Goede <hdegoede@redhat.com> The vc0321 sends some additional data after sending the complete frame, we ignore this. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-10gspca - ov534: Add framerate support.Jean-Francois Moine
From: Jim Paris <jim@jtan.com> Add support for getting and setting framerate via v4l2 controls, rather than setting a fixed value at module insertion. Priority: normal Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-10gspca - main: Allow subdrivers to handle v4l2_streamparm requests.Jean-Francois Moine
From: Jim Paris <jim@jtan.com> Add get_streamparm and set_streamparm operations so subdrivers can get/set stream parameters such as framerate. Priority: normal Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-10gspca - main: Fix vidioc_s_jpegcomp locking.Jean-Francois Moine
From: Jim Paris <jim@jtan.com> Priority: high Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-10gspca - ov534: Explicitly initialize frame format.Jean-Francois Moine
From: Jim Paris <jim@jtan.com> Set frame format registers 0x0a and 0x0b to explicit values rather than relying on reset-time defaults. Priority: normal Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-10gspca - ov534: Improve payload handling.Jean-Francois Moine
From: Jim Paris <jim@jtan.com> Frame data in bulk transfers is separated into 2048-byte payloads. Each payload has its own header. Priority: normal Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-10gspca - vc032x: Bad detection of sensor mi0360.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>