summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-30cx231xx: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> CC: Srinivasa Deevi <srinivasa.deevi@conexant.com>
2009-05-30mt9: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2009-05-30cx23885: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30w8968cf: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. The existing code was casting pointers to u32 and to unsigned int into pointers to u16. This could mess up if someone passed in an image size greater than 65,535 and on big-endian platforms it won't work at all. The existing bounding code would shrink an image if it was too big, but returned ERANGE if it was too small. The code will not shrink or expand as necessary. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30cx88: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30saa7134: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30vivi: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30zoran: Use v4l bounding/alignment functiobTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30sh_mobile_ceu_camera: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30pxa-camera: Use v4l bounding/alignment functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. For instance the old code would change 159x243 into 156x240 to meet the alignment requirements. The new function will use 160x243, which is a lot closer to what was asked for originally. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> CC: Robert Jarzmik <robert.jarzmik@free.fr> CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2009-05-30v4l2: Create helper function for bounding and aligning imagesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Most hardware has limits on minimum and maximum image dimensions and also requirements about alignment. For example, image width must be even or a multiple of four. Some hardware has requirements that the total image size (width * height) be a multiple of some power of two. v4l_bound_align_image() will enforce min and max width and height, power of two alignment on width and height, and power of two alignment on total image size. It uses an efficient algorithm that will try to find the "closest" image size that meets the requirements. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-30compat: handle __flsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> __fls() was added for generic code in 2.6.29, existed for just 64-bit arches since 2.6.26 (v2.6.25-5228-g56a6b1e), and was x86-64 only before then. When __fls() doesn't exists we create an inline function that implements it via fls(), which has existed for longer. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-29merge: http://kernellabs.com/hg/~mkrufky/lgdt3305Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-28lgdt3305: fix 64bit division in function lgdt3305_set_ifMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: high Signed-off-by: Michael Krufky <kernellabs.com>
2009-05-27merge: http://kernellabs.com/hg/~dheitmueller/dvb-frontend-exit-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27Building system: Restore compilation with kernels older than 2.6.29Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Mostly due to ir-kdb-i2c, but also due to two new drivers, compilation with kernels older than 2.6.29 were broken. This quick and dirty changeset, generated semi-automatically, restaures backport to the subsystem by adding lots of #ifs. It is possible to write a much more small changeset that would restore backport without adding so many ifs, but, due to the lack of time, this will also solve it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27merge: http://linuxtv.org/hg/~jfrancois/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27merge: http://linuxtv.org/hg/~awalls/cx18-av-coreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27merge: http://www.kernellabs.com/hg/~mkrufky/hvr1110Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27merge: http://kernellabs.com/hg/~stoth/tda10048-mergeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-25gspca - spca561: Rename the 'White Balance' control to 'Hue'.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>
2009-05-25gspca - spca561: Change the Rev12a controls.Jean-Francois Moine
From: Hans de Goede <hdegoede@redhat.com> - Extend the gain range - Adjust the exposure - Remove the broken autogain Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2009-05-25gspca - main: VIDIOC_ENUM_FRAMESIZES ioctl 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>
2009-05-22gspca - ov534: JPEG 320x240 and 640x480 formats for ov965x.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The YUYV 640x480 format did not work with ov965x. Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2009-05-20dvb_frontend: fix case where fepriv->exit not resetDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> The fact that we now explicitly set fepriv->exit = 1 when the thread is shutting down exposed an edge case where it was not being reset back to zero once the thread went away in some cases. This resulted in failures in cases where the frontend was closed, and then opened O_RDONLY, since in that case the thread is not being restarted but it was checking the fepriv->exit flag. Thanks to Thierry Lelegard, who and encountered and debugged a large portion of the issue in the same twelve hours that I did (as well as testing my patch). Priority: high Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Thierry Lelegard <thierry.lelegard@tv-numeric.com>
2009-05-18minor have assigned value twiceMauro Carvalho Chehab
From: figo.zhang <figo.zhang@kolorific.com> The variable minor have assigned value twice, the first time is in the initial "video_device" data struct in those drivers, pls see saa7134-video.c,line 2503. --- Signed-off-by: Figo.zhang <figo.zhang@kolorific.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-18saa7134-video.c: poll method lose race conditionMauro Carvalho Chehab
From: figo.zhang <figo.zhang@kolorific.com> saa7134-video.c: poll method lose race condition Signed-off-by: Figo.zhang <figo.zhang@kolorific.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smsusb - change exit func debug msgMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Change the debug message of the USB interface driver exit function. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smsusb - fix typo in module descriptionMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix small typo in the module description Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - bug fix at get_device_modeMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix bug that cause error log to echo also if success Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - fix isdb-t firmware nameMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - fix byte ordering bugMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix byte ordering bug. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - fix get_common_buffer bugMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> get common buffers() should block operation until valid buffer is avaliable. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-16cx18: Tweak color burst gate delay and initial color sub-carrier freqAndy Walls
From: Andy Walls <awalls@radix.net> Fix the burst gate delays to use a crystal value of 28636360 as assumed by the rest of the driver. Also have the initial color sub-carrier freq paramter use the src decimation ratio per the documentation, instead of the actual crystal/pixel clock ratio. The tracking circuit will find the correct color subcarrier in any case, as long as we're close. Also fix up some debug print statements. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-05-16cx18: Complete support for Sliced and Raw VBI for 625 line systemsAndy Walls
From: Andy Walls <awalls@radix.net> Finish changes for sliced and raw VBI for 625 line systems. Tested with VPS and WSS being emitted by a PVR-350 in field 1 lines 16 and 23. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-05-16cx23885: fix tda10048 IF frequencies for the Hauppauge WinTV-HVR1210Michael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Steve missed the HVR1210 config struct for the TDA10048 in his IF freq patch. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-16TDA10048: Missing two I/F's / Pll combinations from the PLL tableSteven Toth
From: Steven Toth <stoth@kernellabs.com> This was causing a lock failure in Australia. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-05-15pvrusb2: Ensure we specify I/F's for all bandwidthsSteven Toth
From: Steven Toth <stoth@kernellabs.com> pvrusb2: Ensure we specify I/F's for all bandwidths Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-05-15cx23885: Ensure we specify I/F's for all bandwidthsSteven Toth
From: Steven Toth <stoth@kernellabs.com> cx23885: Ensure we specify I/F's for all bandwidths Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-05-15TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes.Steven Toth
From: Steven Toth <stoth@kernellabs.com> TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-05-15patch: s2255drv: adding V4L2_MODE_HIGHQUALITYMauro Carvalho Chehab
From: Dean Anderson <dean@sensoray.com> Adding V4L2_MODE_HIGHQUALITY feature. Signed-off-by: Dean Anderson <dean@sensoray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smscards - assign gpio to HPG targetsMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Assign using the new gpio structures, i/o for exist HPG targets, without removing the old implementation. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smscards - fix wrong firmware assignmentMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Remove wrong firmware assignments for Nova, Stellar Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-18date: Thu May 14 12:29:35 2009 -0700Mauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Siano: USB - move the device id table to the cards module The card modules is the component which handles various targets, so the IDs table should reside within it. Priority: normal [mchehab@redhat.com: add missing smsendian.h include at smscoreapi.c] Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: bind infra-red componentMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add the infra-red to the makefile and declare the assignment in the cards components. Priority: normal [mchehab@redhat.com: Fixed a few trivial merge conflicts] Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smscards - add gpio look-up tableMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add gpio look-up table for various requirements, any target may select any gpio and assign it to a function Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: move dvb-api headers' includes to dvb adapterMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Move the DVB-API v3 headers' include list from the core component to the smsdvb (DVB adapter) which is the only one that uses them. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smsusb - add big endien supportMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add support for big endien target hosts, which use USB interface. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-18merge: http://kernellabs.com/hg/~dheitmueller/em28xx-isoc-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-18merge: http://kernellabs.com/hg/~dheitmueller/au0828-oldkernel-compilefixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>