summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
AgeCommit message (Collapse)Author
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-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-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>
2008-10-15merge: http://www.linuxtv.org/hg/~stoth/mfeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-15merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-zoranMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-14stk-webcam: fix crash on close after disconnectMauro Carvalho Chehab
From: David Ellingsworth <david@identd.dyndns.org> This patch prevents stk-webcam from updating usb device information once the camera has been removed. This prevents a crash that would otherwise occur if the camera is disconnected while it is still in use. Signed-off-by: David Ellingsworth <david@identd.dyndns.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-16videobuf: data storage optimisation (2)darron@kewl.org
From: Darron Broad <darron@kewl.org> To optimise data storage even further one other redundant var has been removed. This also removes a redundant assignment. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> iSigned-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-15cx88: add I2S-ADC tvaudio methoddarron@kewl.org
From: Darron Broad <darron@kewl.org> This adds I2S-ADC tvaudio mode as a formal method of audio delivery. This fixes one bug and adds fm audio via I2S-ADC on cards that support it. The bug occured before when I2S-ADC mode was initiated on composite/s-video open but was then reset within 500ms by the audio thread which used any previous audio tuning details. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-15tuner: add FMD1216MEX tunerdarron@kewl.org
From: Darron Broad <darron@kewl.org> This tuner was already supported by proxy as an FMD1216ME, however, the MEX uses a different FM Radio IF so this addition is now required. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-15cx88: Update of audio routing config for FM radiodarron@kewl.org
This adds audio routing for the hvr-1300/3000/4000 cards enabling FM audio for the I2S ADC method of the cx88. At this time only the HVR-4000 has been tested. It is assumed the HVR-3000/1300 are the same. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-15videobuf: properly handle attachment failuredarron@kewl.org
From: Darron Broad <darron@kewl.org> This fixes attachment failure where we now unwind attachment and skip non-attached nodes where necessary so we can survive a fault situation correctly. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-15videobuf: data storage optimisationdarron@kewl.org
From: Darron Broad <darron@kewl.org> To optimise data storage redundant vars are removed. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx88: Change spurious buffer message into a debug only messageSteven Toth
From: Steven Toth <stoth@linuxtv.org> A number of users have complained that their syslog often shows this messages but it doesn't impact performance. I'm changing this to a debug message, so developers will still see the message during testing and users will no longer be bothered by this. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16au0828: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> au0828: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx23885: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> cx23885: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx88: Convert __FUNCTION__ to __func__Steven Toth
From: Steven Toth <stoth@linuxtv.org> cx88: Convert __FUNCTION__ to __func__ Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-17merge: http://linuxtv.org/hg/~mkrufky/hcw-idsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-17merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-17video: improve sh_mobile_ceu buffer handlingMagnus Damm
This patch improves the buffer handling in the sh_mobile_ceu driver. Instead of marking all queued buffers as VIDEOBUF_ACTIVE the code now marks queued-but-not-active buffers as VIDEOBUF_QUEUED and buffers involved in dma as VIDEOBUF_ACTIVE. The code is also updated with code to cancel active buffers, thanks to Morimoto-san. Signed-off-by: Magnus Damm <damm@igel.co.jp> Tested-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- linux/drivers/media/video/sh_mobile_ceu_camera.c | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-)
2008-10-17video: add byte swap to sh_mobile_ceu driverMagnus Damm
Extend the sh_mobile_ceu driver to enable byte swap. This way bytes are stored in memory in incoming byte order. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- linux/drivers/media/video/sh_mobile_ceu_camera.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
2008-10-17video: add sh_mobile_ceu commentsMagnus Damm
This patch adds CEU hardware block comments to the sh_mobile_ceu driver. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- linux/drivers/media/video/sh_mobile_ceu_camera.c | 79 ++++++++++++++++------------ 1 files changed, 46 insertions(+), 33 deletions(-)
2008-10-17soc-camera: move sensor power management to soc_camera_platform.cGuennadi Liakhovetski
Switching sensors on and off is now done by sensor drivers themselves, typically using platform-provided hooks. Update soc_camera_platform.c to do the same. Also remove a refundant struct soc_camera_platform_info definition from soc_camera_platform.c. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Tested-by: Magnus Damm <damm@igel.co.jp> --- linux/drivers/media/video/soc_camera_platform.c | 20 +++++++++++--------- linux/include/media/soc_camera_platform.h | 1 + 2 files changed, 12 insertions(+), 9 deletions(-)
2008-10-15au0828: add support for another USB id for Hauppauge HVR950QMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add autodetection support for a new revision of the Hauppauge HVR950Q (2040:721e) Priority: high Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-10-15saa7127: Fix two typosMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-14Add support for rgb555 pixel formats to viviMauro Carvalho Chehab
From: Magnus Damm <damm@igel.co.jp> This patch adds RGB555 pixel format support to the vivi driver. Both little endian and big endian versions are added. The driver follows the RGB pixel format described in Table 2-2 of the V4L2 API spec, _not_ the older BGR interpretation described in Table 2-1. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-14Add support for rgb565 pixel formats to viviMauro Carvalho Chehab
From: Magnus Damm <damm@igel.co.jp> This patch adds RGB565 pixel format support to the vivi driver. Both little endian and big endian versions are added. The driver follows the RGB pixel format described in Table 2-2 of the V4L2 API spec, _not_ the older BGR interpretation described in Table 2-1. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-14Add uyvy pixel format support to viviMauro Carvalho Chehab
From: Magnus Damm <damm@igel.co.jp> This patch simply adds UYVY pixel format support to the vivi driver. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-14Teach vivi about multiple pixel formatsMauro Carvalho Chehab
From: Magnus Damm <damm@igel.co.jp> This patch contains the ground work to add support for multiple pixel formats to vivi.c Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>