summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/vc032x.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-26V4L/DVB (13899): gspca - all subdrivers: Make control descriptors constant.Marton Nemeth1-1/+1
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>
2010-02-26V4L/DVB (13893): gspca - vc032x: Change the sensor of 046d:0892 and 046d:0896.Jean-Francois Moine1-46/+522
- new sensor POxxxx (unknown ID) - no probe - new controls - table for the disabled controls Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26V4L/DVB (13892): gspca - vc032x: Add the H and V flip controls for sensor ↵Jean-Francois Moine1-0/+2
mi1320. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26V4L/DVB (13891): gspca - vc032x: Fix bad probe of the sensor mi1320.Jean-Francois Moine1-27/+97
- have 2 tables for sensor probe - with the same ID, the sensor mi1320 is found with the bridge vc0321, the sensor mi1320_soc with the bridge vc0323 - add some comments Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-01-17V4L/DVB (13875): gspca - vc032x: Fix a possible crash with the vc0321 bridge.Jean-Francois Moine1-0/+4
The frame pointer returned by get_i_frame may be NULL when the application is too slow. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-05V4L/DVB (13491): gspca - vc032x: Avoid crash on querymenu.Jean-Francois Moine1-0/+2
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-05V4L/DVB (13453): gspca - all subdrivers: Remove the unused frame ptr from ↵Jean-Francois Moine1-9/+12
pkt_scan(). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-19V4L/DVB (12953): gspca - vc032x: Bad GPIO of the Samsung Q1 on start/stop ↵Jean-Francois Moine1-3/+4
streaming. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12695): gspca - vc032x: Do the LED work with the sensor hv7131r.Jean-Francois Moine1-11/+12
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12694): gspca - vc032x: Change the start exchanges of the sensor ↵Jean-Francois Moine1-79/+165
hv7131r. The new exchanges are taken from the information file of the ms-win driver (usbvm326.inf - webcam 15b8:6002). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12383): gspca - vc032x: Bad h/v flip controls when inverted by default.Jean-Francois Moine1-2/+2
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12355): gspca - vc032x: Cleanup sourceJean-Francois Moine1-65/+57
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12354): gspca - vc032x: H and V flip controls added for mi13x0_soc ↵Jean-Francois Moine1-40/+53
sensors Also, H/V flip default values adjusted according to the webcam IDs. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12353): gspca - vc032x: Add the 1280x960 resolution for sensor ↵Jean-Francois Moine1-80/+165
mi1310_soc Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12352): gspca - vc032x: Fix mi1310_soc preview and LEDAceLan Kao1-192/+205
The patches gspca - vc032x: Add resolution 1280x1024 for sensor mi1310_soc. gspca - vc032x: Webcam 041e:405b added and mi1310_soc updated. will make the preview function not work, so I disable the 1280x1024 resolution and revert back to the origin mi1310_soc settings. And, using USB snoop tool on Windows to get the correct i2c commands to turn on/off the LED flash. Signed-off-by: AceLan Kao <acelan.kao@canonical.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12V4L/DVB (12228): gspca - vc032x: Webcam 0ac8:c301 added.Jean-Francois Moine1-13/+33
Only the back sensor (mi1320_soc) is usable. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-17V4L/DVB (11719): gspca - vc032x: mi1320_soc images are upside-downJean-Francois Moine1-0/+2
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-17V4L/DVB (11718): gspca - vc032x: Bad pixelformat for mi1320_socJean-Francois Moine1-3/+3
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-17V4L/DVB (11715): gspca - main: Set the number of packets per ISOC message.Jean-Francois Moine1-1/+13
The number of packets per isochronous message may now be set by the subdrivers (default value 32). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-07V4L/DVB (11402): gspca - vc032x: Remove the JPEG tables of mi1320_soc.Jean-Francois Moine1-402/+1
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (11212): gspca - vc032x: Use YVYU format for sensor mi1320_soc.Jean-Francois Moine1-30/+412
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (11211): gspca - vc032x: Simplify the i2c write function.Jean-Francois Moine1-19/+5
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (11209): gspca - vc032x: New sensor mi1320_soc and webcam 15b8:6001 ↵Jean-Francois Moine1-12/+415
added. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (11146): gspca - vc032x: Change the probe sequence.Jean-Francois Moine1-23/+50
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (10788): gspca - vc032x: Bad matrix for sensor mi1310_soc.Jean-Francois Moine1-1/+1
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (10617): gspca - vc032x: Remove the vc0321 reset.Jean-Francois Moine1-10/+0
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (10432): gspca - vc032x: Cleanup source, optimize and check i2c_write.Jean-Francois Moine1-56/+37
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (10431): gspca - vc032x: Bad revision for the webcam 041e:405b.Jean-Francois Moine1-1/+1
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (10424): gspca - vc032x: Add resolution 1280x1024 for sensor mi1310_soc.Jean-Francois Moine1-56/+157
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (10420): gspca - vc032x: Webcam 041e:405b added and mi1310_soc updated.Jean-Francois Moine1-184/+188
The mi1310_soc sequences come from the ms-win driver C0130Dev.inf. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in ↵Alexey Klimov1-1/+1
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>
2009-03-30V4L/DVB (10335): gspca - all subdrivers: Fix CodingStyle in sd_mod_init ↵Alexey Klimov1-1/+3
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>
2009-03-30V4L/DVB (10333): gspca - main and many subdrivers: Remove the epaddr variable.Jean-Francois Moine1-1/+0
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>
2008-12-30V4L/DVB (10050): gspca - vc032x: Webcam 046d:0897 added.Jean-Francois Moine1-0/+1
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (10049): gspca - many subdrivers: Set 'const' the pixel format table.Jean-Francois Moine1-3/+3
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9880): gspca - vc032x: Add V&H flips and sharpness controls for ↵Jean-Francois Moine1-9/+68
sensor po1200. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9879): gspca - vc032x: Remove the unused quality/qindex.Jean-Francois Moine1-7/+0
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9878): gspca - vc032x: Fix frame overflow errors with vc0321.Hans de Goede1-0/+6
The vc0321 sends some additional data after sending the complete frame, we ignore this. 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>
2008-12-30V4L/DVB (9871): gspca - vc032x: Bad detection of sensor mi0360.Jean-Francois Moine1-1/+1
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9870): gspca - vc032x: Webcam 15b8:6002 and sensor po1200 added.Jean-Francois Moine1-8/+311
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9867): gspca - vc032x: Remove the autogain control.Jean-Francois Moine1-44/+3
This control was not coded. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9866): gspca - vc032x: V and H flips added for sensors ov7660 and 7670.Jean-Francois Moine1-9/+128
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9865): gspca - vc032x: Bad check of the sensor mi0360.Jean-Francois Moine1-7/+7
Error was due to bad variable names. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30V4L/DVB (9845): gspca: Add sensor mi0360 in vc032x.Jean-Francois Moine1-28/+273
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-24V4L/DVB (9689): gspca: Memory leak when disconnect while streaming.Jean-Francois Moine1-0/+3
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>
2008-10-12V4L/DVB (9079): gspca: Return error code from stream start functions.Jean-Francois Moine1-2/+3
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-12V4L/DVB (8906): v4l-dvb: fix assorted sparse warningsHans Verkuil1-1/+0
Fix sparse warnings. None are serious, but cutting down on these helps find future serious sparse warnings/errors. Redid the av7710.c patch based on a suggestion by Oliver Endriss. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-04V4L/DVB (8832): gspca: Bad pixelformat of vc0321 webcams.Jean-Francois Moine1-2/+2
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-04V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume.Jean-Francois Moine1-17/+3
- 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>
2008-09-04V4L/DVB (8814): gspca: Set DISABLED the disabled controls at query control time.Jean-Francois Moine1-0/+3
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>