summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-08saa7134: Fix analog mode on devices that need to open an i2c gateMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Some saa7134 devices require to open an i2c gate before tuning. This patch fix the initialization for those devices. The nxt200x_gate_ctrl() logic were returned back to the old place, since we don't know how to close the gate. A future pacth could revert that change and provide the proper close gate control, to avoid keeping it open forever. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-08saa7134: move tuner init code to saa7134-cardsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> On certain devices, before opening a tuner, we need to open the tuner gate via i2c. This patch just moves the tuner probing code to the same place where such i2c commands are handled, to make easier to fix this trouble on later patches. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-08tda8290: Print an error if i2c_gate is not providedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> While here, be sure that gate will be kept disabled if an error occurs. Priority: normal CC: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-08tda827x: Be sure that gate will be open/closed at the proper timeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> The gate control logic is broken: several routines just keep it open; other rotines close it properly; there are even other routines that assumes that it is open without really checking or opening it. Instead of having to manually handle the gate control and having such troubles, let a sub-routine take care of the gate, opening it before i2c_transfer and closing it after that. This avoids leaving the gate into a random state. Priority: normal CC: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-10merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-saa7146Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-10merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-specMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-10v4l-dvb: fix distclean/clean targetsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-09v4l2: add note on testing the spec when modifying videodev2.hHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-09v4l-dvb: add compiled fw files to .hgignoreHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-09v4l2-spec: add documentation for missing V4L2_PIX_FMT_MR97310A pixel formatHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-08em28xx-audio: Add macros EM28XX_START_AUDIO / EM28XX_STOP_AUDIODouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@redhat.com> Added macros EM28XX_START_AUDIO and EM28XX_STOP_AUDIO for em28xx_cmd(). Priority: normal Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-08em28xx-audio: replace printk with em28xx_errdevDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch removes printk and place em28xx_errdev macros to provide information about driver name to dmesg. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-08em28xx-audio: Add lock for usersDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@redhat.com> Added lock for users count Priority: high Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-08em28xx-audio: Add spinlock for triggerDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@redhat.com> Added spinlock for trigger session Priority: high Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-08em28xx: Fix for em28xx audio startupDouglas Schilling Landgraf
From: Robert Krakora <rob.krakora@messagenetsystems.com> Essentially if a snd_em28xx_capture_trigger() stop followed by a snd_em28xx_capture_trigger() start would not yield any data because there was some logic put in with an adev->shutdown variable which did not seem warranted in my humble opinion. It would cause snd_em28xx_capture_trigger start never to start up the audio stream until the device was closed and reopened again. Upon re-opening the device adev->shutdown is reset and audio data would again flow. Priority: high Signed-off-by: Robert Krakora <rob.krakora@messagenetsystems.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-08em28xx: Fix for em28xx memory leak and function renameDouglas Schilling Landgraf
From: Robert Krakora <rob.krakora@messagenetsystems.com> Fix for em28xx memory leak and function rename Priority: high Signed-off-by: Robert Krakora <rob.krakora@messagenetsystems.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-08em28xx: remove bad check (changeset a31c595188af)Douglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@redhat.com> Removed bad check. Thanks to Robert Krakora <rob.krakora@messagenetsystems.com> to report that. Priority: high Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-08saa7146: move v4l2 device registration to saa7146_vv.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Doing the v4l2_device registration in the saa7146 core will make it dependent on v4l2, even for DVB-only boards. This registration and unregistration belongs in saa7146_vv instead. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-08saa7146: prevent unnecessary loading of v4l2-common.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-07saa7146: setting control while capturing should return EBUSY, not EINVAL.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-07saa7146: convert saa7146 and mxb in particular to v4l2_subdev.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-07v4l2: prefill ident and revision from v4l2_dbg_chip_ident.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-07saa7146: the adapter class will be NULL when v4l2_subdev is used.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-07saa7146: i2c adapdata now points to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Prepare for converting to v4l2_subdev. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-07saa7146: implement v4l2_device support.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-07doc: use consistent naming conventions for vdev and v4l2_dev.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-07ivtv: cleanup naming conventionsMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Use consistent naming for pci_dev, v4l2_device and video_device. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-06doc: update hm12 documentation.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-06ivtv/cx18: fix g_fmt and try_fmt for raw videoMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-06pxa_camera: forgot to remove 2.6.27 entry in versions.txtMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-06dvb: fix 2.6.16 compile warningMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-09Bad: author doesn't exist!Mauro Carvalho Chehab
2009-02-09merge: http://linuxtv.org/hg/~dougsland/radiosMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-09merge: http://linuxtv.org/hg/~anttip/mc44s803/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-09Fix Makefile to compile stress-buffer.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-09merge: http://linuxtv.org/hg/~dougsland/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-09merge: http://linuxtv.org/hg/~awalls/cx18-sliced-vbiMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-09merge: http://linuxtv.org/hg/~awalls/cx18Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-08cx18: Finally get sliced VBI working - for 525 line 60 Hz systems at leastAndy Walls
From: Andy Walls <awalls@radix.net> 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. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-08dsbr100: Add few lost mutex locks.Douglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch adds two lost mutex locks. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-07cx18: Process Raw VBI on a whole frame basis; fix VBI buffer sizeAndy Walls
From: Andy Walls <awalls@radix.net> 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. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-06cx18: Fix sliced VBI PTS and fix artifacts in last raw line of fieldAndy Walls
From: Andy Walls <awalls@radix.net> 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. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-06cx18: Use correct line counts per field in firmware API callAndy Walls
From: Andy Walls <awalls@radix.net> The driver was incorrectly setting 0 line counts in a firmware API call to set the maximum amount of lines per field. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-06cx18: Fixes for enforcing when Encoder Raw VBI params can be setAndy Walls
From: Andy Walls <awalls@radix.net> 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. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-05radio-si470x: use usb_make_path in usb-radio driversDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Place usb_make_path in radio-si470x.c that used when reporting bus_info information in vidioc_querycap. Priority: normal Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05cx18: Fix VBI ioctl() handling and Raw/Sliced VBI state managementAndy Walls
From: Andy Walls <awalls@radix.net> More sliced VBI fixes to bring the cx18 driver closer to full V4L2 spec compliance for VBI and to get sliced VBI working better. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-05radio-mr800: fix checking of retval after usb_bulk_msgDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch corrects checking of returned value after usb_bulk_msg. Now we also check if number of transferred bytes equals to BUFFER_LENGTH. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: increase version and add commentsDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Increase driver version to 0.10, remove old and add new useful comments. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: add few lost mutex locksDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch adds two lost mutex locks. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: add stereo supportDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch introduces new amradio_set_stereo function. Driver calls this func to make stereo radio reception. Corrects checking of returned value after usb_bulk_msg. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>