aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
Commit message (Collapse)AuthorAge
* V4L/DVB (10499): saa7146: convert saa7146 and mxb in particular to v4l2_subdev.Hans Verkuil2009-03-30
| | | | | | | | | | | | | | | Modified mxb to load the i2c modules through v4l2_subdev. So no more probing. Modified tea6415c and tea6420 to use the standard routing ops to do the routing, rather than using private commands. Dropped the private commands from tda9840 (they were never used except during initialization of the module). Added saa7146 support for VIDIOC_DBG_G_CHIP_IDENT. Converted saa5246a and saa5249 to v4l2_subdev. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10490): v4l2: prefill ident and revision from v4l2_dbg_chip_ident.Hans Verkuil2009-03-30
| | | | | | | | | Drivers that implement this always have to set the ident and revision to V4L2_IDENT_NONE and 0. Do this in the v4l2 core so drivers don't have to do this. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10488): ivtv: cleanup naming conventionsHans Verkuil2009-03-30
| | | | | | | Use consistent naming for pci_dev, v4l2_device and video_device. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10486): ivtv/cx18: fix g_fmt and try_fmt for raw videoHans Verkuil2009-03-30
| | | | | | | | | The raw video device didn't report the image size correctly. When setting a new image the image height has to be a multiple of 32 lines. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10446): cx18: Finally get sliced VBI working - for 525 line 60 Hz ↵Andy Walls2009-03-30
| | | | | | | | | | | | | systems at least Sliced VBI, in the manner that ivtv implements it as a separate data stream, now works for 525 line 60 Hz systems like NTSC-M. It may work for 625 line 50 Hz systems, but I have more engineering work to do, to verify it is operating properly. Sliced data insertion into the MPEG PS should be working, but is untested. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10445): cx18: Process Raw VBI on a whole frame basis; fix VBI ↵Andy Walls2009-03-30
| | | | | | | | | | | | | buffer size The cx23418 appears to send Raw VBI buffers with a PTS on a per frame basis, not per field, so process Raw VBI on a whole frame basis and reduce some complexity. Fix VBI buffer size computation to handle a whole frame of Raw VBI for a 625 line system, which is the worst case and will work for 525 lines systems as well. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10444): cx18: Fix sliced VBI PTS and fix artifacts in last raw line ↵Andy Walls2009-03-30
| | | | | | | | | | | | of field Fixed an endianess problem with the collection of the PTS from the VBI buffer given to us by the encoder. Also extrapolated the last 12 bytes of the last line of each field, to remove artifacts created by removing the first 12 bytes of each field for raw VBI. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10443): cx18: Use correct line counts per field in firmware API callAndy Walls2009-03-30
| | | | | | | | The driver was incorrectly setting 0 line counts in a firmware API call to set the maximum amount of lines per field. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10442): cx18: Fixes for enforcing when Encoder Raw VBI params can ↵Andy Walls2009-03-30
| | | | | | | | | | | | | | | | be set The Encoder will only allow the Raw VBI parameters, along with a number of other API parameters, to take effect when no analog captures are in progress. These parameters must be set before the first analog capture starts, be it MPEG, VBI, YUV, etc., and cannot be changed until the last one stops. It is not obvious to me what capture channel API parameters are shared and which ones must be set per capture channel, so set them all for every analog capture channel start up. This fixes the driver so that VBI capture can be started up after the MPEG capture is going. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10441): cx18: Fix VBI ioctl() handling and Raw/Sliced VBI state ↵Andy Walls2009-03-30
| | | | | | | | | | management More sliced VBI fixes to bring the cx18 driver closer to full V4L2 spec compliance for VBI and to get sliced VBI working better. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10440): cx18: Fix presentation timestamp (PTS) for VBI buffersAndy Walls2009-03-30
| | | | | | | | | | The old code from ivtv used a CX23415/6 PTS, which was simply left at 0 in the cx18 driver. Since the CX23418 gives us what I think is a PTS (or some other 90 kHz clock count) with each VBI buffer, this change has the cx18 driver use that as a PTS. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10439): cx18: Clean-up and enable sliced VBI handlingAndy Walls2009-03-30
| | | | | | | | Removed legacy ivtv state variables, added comments, and cleaned up sliced VBI related code. Enabled sliced VBI. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10437): cx18: Remove an unused spinlockAndy Walls2009-03-30
| | | | | Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10436): cx18: Fix coding style of a switch statement per checkpatch.plAndy Walls2009-03-30
| | | | | Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10435): cx18: Normalize APU after second APU firmware loadAndy Walls2009-03-30
| | | | | Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10434): cx18: Smarter verification of CX18_AUDIO_ENABLE register writesAndy Walls2009-03-30
| | | | | | | | | The CX18_AUDIO_ENABLE register usually never reads back what was just written under normal circumstances. Perform better checking that a write went to the register as expected with a specification of what bits to verify. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10433): cx18: Defer A/V core initialization until a valid ↵Andy Walls2009-03-30
| | | | | | | cx18_av_cmd arrives Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10432): gspca - vc032x: Cleanup source, optimize and check i2c_write.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10431): gspca - vc032x: Bad revision for the webcam 041e:405b.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10430): gspca - sonixj: Adjust some exchanges with the sensor mt9v111.Jean-Francois Moine2009-03-30
| | | | | | | This patch also enables the autogain for the mt9v111. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10429): gspca - sonixj: Simplify the probe of the sensors ↵Jean-Francois Moine2009-03-30
| | | | | | | mi0360/mt9v111. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10428): gspca - sonixj: Specific gamma tables per sensor.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10427): gspca - sonixj: Sensor sp80708 added for webcam 0c45:6143.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10425): gspca - sonixj: Bad initialization of sensor mt9v111.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10424): gspca - vc032x: Add resolution 1280x1024 for sensor mi1310_soc.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10423): gspca - sonixj: Bad sensor definition of the webcams 0c45:60c0.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10420): gspca - vc032x: Webcam 041e:405b added and mi1310_soc updated.Jean-Francois Moine2009-03-30
| | | | | | | 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>
* V4L/DVB (10419): gspca - sonixj: Sensor mt9v111 added.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10416): tveeprom: update to include Hauppauge tuners 151-155Michael Krufky2009-03-30
| | | | | Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs.Hans Verkuil2009-03-30
| | | | | | | I2C_DRIVERIDs are phased out. Remove those that are unused at the moment. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10408): v4l2: fix incorrect hue range checkHans Verkuil2009-03-30
| | | | | | | | A hue of -128 was rejected due to an incorrect range check, which was faithfully copy-and-pasted into four drivers... Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10406): gspca: fix compiler warningHans Verkuil2009-03-30
| | | | | Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10405): saa7134-core: loading saa7134-alsa is now the defaultMauro Carvalho Chehab2009-03-30
| | | | | | | | Most boards nowadays supports saa7134-alsa. Even some of they doesn't have any option to wire an audio cable. So, lets load saa7134-alsa by default, if the board is not based on saa7130 and if saa7134-alsa is compiled. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10404): saa7134-core: remove oss option, since saa7134-oss doesn't ↵Mauro Carvalho Chehab2009-03-30
| | | | | | exist anymore Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10394): KWorld ATSC 115 all staticMauro Carvalho Chehab2009-03-30
| | | | | | | | | | | saa7134: Fix tuner access on Kworld ATSC110 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10389): gspca - zc3xx: Do work the sensor adcm2700.Jean-Francois Moine2009-03-30
| | | | | | | | The lack of the green color is fixed by sensor sequences closer to the ms-win traces. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10388): gspca - pac207: Webcam 093a:2474 added.Lierdakil2009-03-30
| | | | | | Signed-off-by: Lierdakil <root@livid.pp.ru> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10387): gspca - spca505: Move some sequences from probe to streamon.Jean-Francois Moine2009-03-30
| | | | | | | The webcams worked only one time after connection. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10384): gspca - spca505: Simplify and add the brightness in start.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10383): gspca - spca505: Cleanup and optimize code.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10382): gspca - t613: Bad returned value when no known sensor found.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10381): gspca - t613: New unknown sensor added.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10380): gspca - t613: Cleanup and optimize code.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10379): gspca - main: Use usb_make_path() for VIDIOC_QUERYCAP.Thierry MERLE2009-03-30
| | | | | | Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10378): gspca - main: Avoid error on set interface on disconnection.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10376): gspca - zc3xx: Remove some useless tables of sensor adcm2700.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10375): gspca - zc3xx: Remove duplicated sequence of sensor cs2102k.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10374): gspca - zc3xx: Bad probe of the sensor adcm2700.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10373): gspca - zc3xx: Sensor adcm2700 added.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10372): gspca - sonixj: Cleanup code.Jean-Francois Moine2009-03-30
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>