summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-29sync changes on arch/sh/boards/board-ap325rxa.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-26gspca - m5602: Storage class should be before const qualifierMauro Carvalho Chehab
From: Tobias Klauser <tklauser@distanz.ch> The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. [mchehab@redhat.com: Fix a trivial merge conflict] Signed-off-by: Tobias Klauser <tklauser@distanz.ch> CC: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-28merge: http://linuxtv.org/hg/~dheitmueller/950q_oopsfixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-28merge: http://linuxtv.org/hg/~eandren/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-28merge: http://linuxtv.org/hg/~dheitmueller/v4l-dvb-dvicofixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-28merge: http://linuxtv.org/hg/~awalls/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-28merge: http://linuxtv.org/hg/~awalls/cx18-perfMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-28merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-28au0828: fix kernel oops regression on USB disconnect.Devin Heitmueller
From: Devin Heitmueller <dheitmueller@linuxtv.org> A regression was introduced in hg changeset 33810c734a0d, which resulted in a kernel panic whenever the device was disconnected from USB. The call to 4l2_device_register() was overwriting the pointer for usb_set_intfdata(), so when au0828_usb_disconnect() was called, the usb_get_intfdata() returned a pointer to the v4l2_device instead of the au0828_dev structure. Priority: high Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
2009-04-27cx23885: Two fixes for DViCO FusionHDTV DVB-T Dual ExpressDevin Heitmueller
From: Christopher Pascoe <linuxdvb@itee.uq.edu.au> Two fixes for DViCO FusionHDTV DVB-T Dual Express: * Reset correct tuner when reinitializing xc3028. * Disable the I2C gate control to avoid locking up the I2C bus. Priority: high Signed-off-by: Christopher Pascoe <linuxdvb@itee.uq.edu.au> Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Tested-by: John Knops <jknops@australiaonline.net.au> Reviewed-By: Steven Toth <stoth@linuxtv.org>
2009-04-26cx18: Toggle the AI1 mux when changing the CX18_AUDIO_ENABLE registerAndy Walls
From: Andy Walls <awalls@radix.net> Toggle the AI1 mux when changing the CX18_AUDIO_ENABLE register. It's hard to reliably tell when we have written to this register successfully unless we change some bits we know we can read back. The AI mux bits always read back what we wrote to them, so force them to toggle whenever we have to write to the register, so we can tell we wrote to the register successfully. This change was prompted by users experiencing broadcast audio decoding problems after the cx18 module loads for the first time. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-04-26cx18: Verify cx18-av-core digitizer firmware loads correctlyAndy Walls
From: Andy Walls <awalls@radix.net> Add code to verify the cx18-av-core digitizer firmware loads correctly. The verification function reads back and compares the firmware bytes loaded into the A/V core. The result of the verification is only used to log a message in the system log. This change was prompted by users with multiple card setups that have problems with broadcast audio decoding the first time the cx18 module is loaded. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-04-26cx18: Allow IVTV format VBI insertion in MPEG-2 SVCD and DVD streamsAndy Walls
From: Andy Walls <awalls@radix.net> Both the MPEG-2 SVCD stream format and the MPEG-2 DVD stream format should use an MPEG-2 PS container. This makes it safe to stuff IVTV Private Stream 1 VBI packets in these stream types using the existing cx18 driver routines. Reported-by: Helen Buus <mythtv@hbuus.com> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-04-24pxa_camera: Documentation of the FSMGuennadi Liakhovetski
From: Robert Jarzmik <robert.jarzmik@free.fr> After DMA redesign, the pxa_camera dynamic behaviour should be documented so that future contributors understand how it works, and improve it. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- Documentation/video4linux/pxa_camera.txt | 49 ++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-)
2009-04-24mx3_camera: Fix compilation with CONFIG_PMGuennadi Liakhovetski
From: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> priority: high --- drivers/media/video/mx3_camera.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
2009-04-24soc-camera: link host drivers after clientsGuennadi Liakhovetski
From: Guennadi Liakhovetski <lyakh@axis700.grange> With the transition of soc-camera to become a platform driver and to the v4l2-subdev framework the initialisation order becomes important. In case of a static build clients (i2c) drivers have to be available when host drivers are probed. Moving host drivers down in the Makefile achieves the desired order. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/Makefile | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
2009-04-24soc-camera: simplify register access routines in multiple sensor driversGuennadi Liakhovetski
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Register access routines only need the I2C client, not the soc-camera device context. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/mt9m001.c | 105 +++++++++++++++++--------------- drivers/media/video/mt9m111.c | 73 ++++++++++++---------- drivers/media/video/mt9t031.c | 135 +++++++++++++++++++++------------------- drivers/media/video/mt9v022.c | 135 +++++++++++++++++++++-------------------- 4 files changed, 236 insertions(+), 212 deletions(-)
2009-04-24soc-camera: remove an extra device generation from struct soc_camera_hostGuennadi Liakhovetski
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Make camera devices direct children of host platform devices, move the inheritance management into the soc_camera.c core driver. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/mx1_camera.c | 35 +++++----- drivers/media/video/mx3_camera.c | 40 ++++++------ drivers/media/video/pxa_camera.c | 97 ++++++++++++++-------------- drivers/media/video/sh_mobile_ceu_camera.c | 21 +++--- drivers/media/video/soc_camera.c | 35 +++------- include/media/soc_camera.h | 4 +- 6 files changed, 107 insertions(+), 125 deletions(-)
2009-04-24soc-camera: host-driver cleanupGuennadi Liakhovetski
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Embed struct soc_camera_host in platform-specific per host instance objects instead of allocating them statically in drivers, use platform_[gs]et_drvdata consistently, use resource_size(). Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/mx1_camera.c | 21 ++++++++----------- drivers/media/video/mx3_camera.c | 2 +- drivers/media/video/pxa_camera.c | 29 ++++++++++++--------------- drivers/media/video/sh_mobile_ceu_camera.c | 6 ++-- 4 files changed, 26 insertions(+), 32 deletions(-)
2009-04-24soc-camera: add a free_bus method to struct soc_camera_linkGuennadi Liakhovetski
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Currently pcm990 camera bus-width management functions request a GPIO and never free it again. With this approach the GPIO extender driver cannot be unloaded once camera drivers have been loaded, also unloading theb i2c-pxa bus driver produces errors, because the GPIO extender driver cannot unregister properly. Another problem is, that if camera drivers are once loaded before the GPIO extender driver, the platform code marks the GPIO unavailable and only a reboot helps to recover. Adding an explicit free_bus method and using it in mt9m001 and mt9v022 drivers fixes these problems. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Eric Miao <eric.miao@marvell.com> --- arch/arm/mach-pxa/pcm990-baseboard.c | 23 ++++++++++++++++------- drivers/media/video/mt9m001.c | 3 +++ drivers/media/video/mt9v022.c | 3 +++ include/media/soc_camera.h | 1 + 4 files changed, 23 insertions(+), 7 deletions(-)
2009-04-24ARM: update pcm990-baseboard.c to match mainlineGuennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> kernel-sync:
2009-04-24stv090x.h and stv6110x.h: Fix two trivial compilation breakage errorsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/v4l/master/v4l/stv6110x.h:64: error: expected identifier or '(' before '{' token In file included from /home/v4l/master/v4l/budget.c:52: /home/v4l/master/v4l/stv090x.h:116: error: redefinition of 'stv090x_attach' /home/v4l/master/v4l/stv090x.h:108: error: previous definition of 'stv090x_attach' was here The first pne were due to an extra ';', and the other is due to a duplicated inline function declaration. This patch will need to be merged with the one that added those two headers at -git, to avoid breaking git bisect. CC: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-24merge: http://jusst.de/hg/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-23patch: s2255drv: code cleanupMauro Carvalho Chehab
From: Dean Anderson <dean@sensoray.com> This patch does: - remove unused structure items. - define Response values; - change Driver revision printk. Signed-off-by: Dean Anderson <dean@sensoray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-23building system: improve firmware creationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This is a major rewrite at v4l/firmware/Makefile: It will now create firmwares only if they don't exist yet, or if the firmware "source" file were touched. Also, use implicit rules instead of explicit, in order to simplify the file. Now, just one line should be modified if a new firmware is added. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-23Update demodulator capabilitiesManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Use Continuous clockManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Use budget driver insteadManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fix missing wakeup in initManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fixes read_status to return 0 in case of no errorManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fixes Some register definitionsManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fixes:Manu Abraham
* Cut revision was read too late * Missing increment * wrong return value * mismatched entries From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23saa7134: split Behold`s card entries to properly identify the modelMauro Carvalho Chehab
From: Dmitri Belimov <d.belimov@gmail.com> Split Beholdr`s cards to correct models. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-22Make firmware before installMauro Carvalho Chehab
From: Nicola Soranzo <nsoranzo@tiscali.it> Presently with the usual: make && sudo make install firmware is not built during make, but in the second step with root privileges, which should be avoided. This patch adds firmware dependency to the default make target. Moreover, one more file (ihex2fw) should be deleted by firmware clean. Priority: normal Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-23merge: http://linuxtv.org/hg/~pinchartl/uvcvideo/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-23merge: http://linuxtv.org/hg/~pb/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20patch: s2255drv: fix race condition on set modeMauro Carvalho Chehab
From: Dean Anderson <dean@sensoray.com> set_modeready flag must be set before command sent to USB in s2255_write_config. Signed-off-by: Dean Anderson <dean@sensoray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20Add Elgato EyeTV DTT deluxe to dibcom driverPatrick Boettcher
From: Armin Schenker <sar@snafu.de> This patch introduces support for DVB-T for the following dibcom based card: Elgato EyeTV DTT deluxe (USB-ID: 0fd9:0020) Priority: normal Signed-off-by: Armin Schenker <sar@snafu.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-04-20merge: http://linuxtv.org/hg/~jfrancois/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20firmware/Makefile: Print more user-friendly messagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This is just some cosmetic at firmware/Makefile, for it to use a more user-friendly output, instead of just printing the used commands. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20build: Make sure that firmwares will be installedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As reported by some users, firmwares were not installed. Be sure that it will properly install the firmwares by calling the proper makefile rule. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-19av7110_hw: fix compile warningMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-18merge: v4l-dvbJean-Francois Moine
2009-04-18uvcvideo: fix uvc resume failedtom.leiming@gmail.com
From: Ming Lei <tom.leiming@gmail.com> Now urb buffers is not freed before suspend, so uvc_alloc_urb_buffers should return packet counts allocated originally during uvc resume, instead of zero. This version uses round down to return packet counts on Linus' suggestions, or else may lead to buffer destructed if packet size is changed before calling uvc_alloc_urb_buffers() in this kind of case. Priority: normal Signed-off-by: Ming Lei <tom.leiming@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be> --- linux/drivers/media/video/uvc/uvc_video.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
2009-04-20uvcvideo: fill reserved fields with zero of VIDIOC_QUERYMENULaurent Pinchart
From: Márton Németh <nm127@freemail.hu> When querying menu items with VIDIOC_QUERYMENU the reserved field is not set to zero as required by V4L2 API revision 0.24 [1]. Add this fill. The patch was tested with v4l-test 0.11 [2] with CNF7129 webcam found on EeePC 901. References: [1] V4L2 API specification, revision 0.24 http://v4l2spec.bytesex.org/spec/r13317.htm#V4L2-QUERYMENU [2] v4l-test: Test environment for Video For Linux Two API http://v4l-test.sourceforge.net/ [Modified by Laurent Pinchart] Use u32 instead of __u32 in non-exported kernel code. Priority: normal Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
2009-04-17cx18: Fix the handling of i2c bus registration errorMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> * Return actual error values as returned by the i2c subsystem, rather than 0 or 1. * If the registration of the second bus fails, unregister the first one before exiting, otherwise we are leaking resources. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-16v4l: remove driver-core BUS_ID_SIZEMauro Carvalho Chehab
From: Kay Sievers <kay.sievers@vrfy.org> The name size limit is gone from the driver core, the BUS_ID_SIZE value will be removed. Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-16Fix incorrect TSMODE usageManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-16Fix RolloffManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-16Fix read bug in STV6110xManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>