summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-18v4l2: add video_ioctl2_unlocked for unlocked_ioctl support.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Based on an older patch from Sakari Ailus. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Sakari Ailus <sakari.ailus@nokia.com>
2008-10-18v4l2-int-if: Add enum_framesizes and enum_frameintervals ioctls.Hans Verkuil
From: Sakari Ailus <sakari.ailus@nokia.com> Priority: normal Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-18v4l2-int-if: Export more interfaces to modulesHans Verkuil
From: Sakari Ailus <sakari.ailus@nokia.com> Export v4l2_int_device_try_attach_all. This allows initiating the initialisation of int if device after the drivers have been registered. Also allow drivers to call ioctls if v4l2-int-if was compiled as module. Priority: normal Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-18v4l2-int-if: Define new power state changesHans Verkuil
From: Sakari Ailus <sakari.ailus@nokia.com> Use enum v4l2_power instead of int as second argument to vidioc_int_s_power. The new functionality is that standby state is also recognised. Priority: normal Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-18v4l2: Add 10-bit RAW Bayer formatsHans Verkuil
From: Sergio Aguirre <saaguirre@ti.com> Add 10-bit raw bayer format expanded to 16 bits. Adds also definition for 10-bit raw bayer format dpcm-compressed to 8 bits. Priority: normal Signed-off-by: Sergio Aguirre <saaguirre@ti.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-18v4l2-int-if: Add cropcap, g_crop and s_crop commands.Hans Verkuil
From: Sameer Venkatraman <sameerv@ti.com> Priority: normal Signed-off-by: Sameer Venkatraman <sameerv@ti.com> Signed-off-by: Mohit Jalori <mjalori@ti.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-18v4l2-int-if: Add command to get slave private data.Hans Verkuil
From: Sakari Ailus <sakari.ailus@nokia.com> vidioc_int_g_priv is used to get master's slave-related private data structure. The structure can contain for example master's configuration specific to slave. Priority: normal Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-21merge: http://www.linuxtv.org/hg/~stoth/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-21merge: http://linuxtv.org/hg/~dougsland/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-21merge: http://linuxtv.org/hg/~mcisely/pvrusb2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-20s5h1411: Power down s5h1411 when not in useSteven Toth
From: Devin Heitmueller <devin.heitmueller@gmail.com> Power down the s5h1411 demodulator when not in use (on the Pinnacle 801e, this brings idle power from 123ma down to 84ma). Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Acked-by: Steven Toth <stoth@linuxtv.org>
2008-10-20s5h1411: Skip reconfiguring demod modulation if already at the desired ↵Steven Toth
modulation From: Devin Heitmueller <devin.heitmueller@gmail.com> If we are already at the desired modulation, there is no need to reconfigure the demod (at a tuning time cost) Note that this change revealed that although the datasheet says the demod starts out in VSB-8 mode, the first tuning was failing consistently unless we went through the work of setting the registers. So add a field to denote this case so we always do the enable_frontend call, even if the first tuning request is for VSB-8. Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Steven Toth <stoth@linuxtv.org>
2008-10-20s5h1411: Perform s5h1411 soft reset after tuningSteven Toth
From: Devin Heitmueller <devin.heitmueller@gmail.com> If you instruct the tuner to change frequencies, it can take up to 2500ms to get a demod lock. By performing a soft reset after the tuning call (which is consistent with how the Pinnacle 801e Windows driver behaves), you get a demod lock inside of 300ms Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Steven Toth <stoth@linuxtv.org>
2008-10-20dsbr100: Add frequency checkDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Add checking for frequency and printk if -1 returned. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-10-20radio-mr800: Add BKL for usb_amradio_open()Douglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Added BKL for usb_amradio_open() Priority: high Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-10-20dsbr100: CodingStyle issueDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Fixed few coding style issues in dsbr100 Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-10-20dsbr100: Correct bus_info stringDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Replaced bus_info string from ISA to USB Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-10-19pvrusb2: Keep MPEG PTSs from drifting awayMike Isely
From: Boris Dores <babal@via.ecp.fr> (Mike Isely) This change was empirically figured out by Boris Dores after empirically comparing against behavior in the Windows driver. Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
2008-10-19pvrusb2: Fix deadlock problemMike Isely
From: Mike Isely <isely@pobox.com> Fix deadlock problem in 2.6.27 caused by new USB core behavior in response to a USB device reset request. With older kernels, the USB device reset was "in line"; the reset simply took place and the driver retained its association with the hardware. However now this reset triggers a disconnect, and worse still the disconnect callback happens in the context of the caller who asked for the device reset. This results in an attempt by the pvrusb2 driver to recursively take a mutex it already has, which deadlocks the driver's worker thread. (Even if the disconnect callback were to happen on a different thread we'd still have problems however - because while the driver should survive and correctly disconnect / reconnect, it will then trigger another device reset during the repeated initialization, which will then cause another disconect, etc, forever.) The fix here is simply to not attempt the device reset (it was of marginal value anyway). Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
2008-10-18s5h1411: Add the #define for an existing supporting I/FSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1411: Add the #define for an existing supporting I/F Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-18cx18: Don't mask many real init error codes by mapping them to ENOMEMAndy Walls
From: Andy Walls <awalls@radix.net> Changes to let error return codes bubble up to the user visible error message on card initialization. A number of them were being remapped to ENOMEM when no memory or array resource shortage existed. That hampered diagnosis of user trouble reports. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2008-10-18cx18: Add __iomem address space qualifier to cx18_log_*_retries() argumentAndy Walls
From: Andy Walls <awalls@radix.net> cx18: Add __iomem address space qualifier to cx18_log_*_retries() addr argument to clean up sparse build warnings. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2008-10-18cx18: Fix memory leak on card initialization failureAndy Walls
From: Andy Walls <awalls@radix.net> On error exit, the cx18_probe() function did not use the proper entry in cx18_cards[] with kfree() when card init failed; leaking memory. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2008-10-17Patch to remove warning message during cx88-dvb compilationMauro Carvalho Chehab
From: Igor M. Liplianin <liplianin@me.by> Remove warning message during cx88-dvb compilation. Also fixes double underline in function and struct names. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-17merge: http://linuxtv.org/hg/~jfrancois/gspca/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-17videobuf-dvb: two functions are now staticMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This patch marks those two functions as static: static int videobuf_dvb_register_adapter(struct videobuf_dvb_frontends *fe, static int videobuf_dvb_register_frontend(struct dvb_adapter *adapter, Since MFE patches changed their calls by videobuf_dvb_register_bus. To avoid having to declare the prototypes, the patch moves videobuf_dvb_register_bus() to be after the declaration of the above functions used there. Priority: normal CC: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-17gspca: Add a stop sequence in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Separate and fix the sensor dependant sequences in t613.Jean-Francois Moine
From: Leandro Costantino <lcostantino@gmail.com> Priority: normal Signed-off-by: Leandro Costantino <lcostantino@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Call the control setting functions at init time in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Do not set the white balance temperature by default in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Adjust the sensor init sequences in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Other sensor identified as om6802 in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Write to the USB device and not USB interface in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Change the name of the multi bytes write function in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Compilation problem of gspca.c and the kernel version.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17merge: from http://linuxtv.org/hg/~eandren/gspca-m5602/Jean-Francois Moine
2008-10-17merge: from http://linuxtv.org/hg/~eandren/gspca-m5602/Jean-Francois Moine
2008-10-16s5h1411: Remove meaningless codeSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1411: Remove meaningless code Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: bugfix: Setting serial or parallel mode could destroy bitsSteven Toth
From: Steven Toth <stoth@linuxtv.org> Adding a serialmode function to read/and/or/write the register for safety. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: read_status() locking detection fixes.Steven Toth
From: Steven Toth <stoth@linuxtv.org> This includes new bit definitions for previously unknown bits. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: I/F related bugfix for 3.25 and remove spurious defineSteven Toth
From: Steven Toth <stoth@linuxtv.org> This should improve performance. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: Improvements to the default registersSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1411: Improvements to the default registers Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-17dvb: input data pointer of cx24116_writeregN() should be constMauro Carvalho Chehab
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | drivers/media/dvb/frontends/cx24116.c:573: warning: passing argument 3 of 'cx24116_writeregN' discards qualifiers from pointer target type Make the `data' input pointer parameter of cx24116_writeregN() const to kill the warning. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-16Remove spurious messages and turn into debug.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Remove spurious messages and turn into debug. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16MFE: videobuf-dvb.c checkpatch cleanup as part of MFE mergeSteven Toth
From: Steven Toth <stoth@linuxtv.org> MFE: videobuf-dvb.c checkpatch cleanup as part of MFE merge Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16gspca: Add hflip and vflip to the po1030 sensorJean-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-10-16gspca: Use the gspca debug macrosJean-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-10-16gspca: Correct some copyright headersJean-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-10-16gspca: Remove the m5602_debug variableJean-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-10-16gspca: propagate an error in m5602_start_transfer()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>