summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-03cx23885: add ATSC/QAM tuning support for Hauppauge WinTV-HVR1270Michael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-02cx23885: Add preliminary support for the HVR1270Steven Toth
From: Steven Toth <stoth@kernellabs.com> The patch means the board will be recognised, and the parts brought out of reset correctly. This patches depends on the centralized GPIO patch to be merged. What's missing before the HVR-1270 will function for DTV? The model# needs to be added to avoid 'unknown model' output and the LG3305/Tuner need to be attached in cx23885-dvb.c Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-11cx23885: mark functions encoder_on_port[bc] as static inlineMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-02cx23885: Add generic functions for driving GPIO'sSteven Toth
From: Steven Toth <stoth@kernellabs.com> The GPIO's on the product can be in one of three places. To date we've mainly used the GPIO's on the bridge itself, and once on the encoder. Rather than having the complexity of multiple GPIO writes/reads from isolated placed in the driver we'll route them through this function, so we can make intelligent decisions about 1) Where the GPIO lives and 2) Whether it conflicts (based on board) with some other function to avoid bugs. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-09merge: http://www.linuxtv.org/hg/~stoth/tda10048Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05pvrusb2: Ensure the PVRUSB2 disabled the i2c gate on the tda10048.Steven Toth
From: Steven Toth <stoth@linuxtv.org> ... else DVB-T tuning will not work. Priority: high Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2009-05-05tda10048: Added option to block i2c gate control from other drivers.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Currently, DVB-T is broken and this fixes it. The PVRUSB2 has an odd I2C bus configuration where opening the i2c gate on the digital and analog demod causes the tuner to fail. This needs to be protected against for the PVRUSB2. Priority: high Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2009-05-05merge: http://linuxtv.org/hg/~eandren/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05merge: http://jusst.de/hg/v4l-dvb/rev/da67609aae86Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05Add some new firmware files to .hgignoreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05cafe_ccic: use = instead of == for setting a value at a varMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_cam_init': /home/v4l/master/v4l/cafe_ccic.c:778: warning: statement with no effect Priority: high CC: Hans Verkuil <hverkuil@xs4all.nl> CC: saeed bishara <saeed.bishara@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-03gspca - stv06xx-vv6410: Set analog gain at initErik Andrén
From: Erik Andrén <erik.andren@gmail.com> Set the analog gain at sensor init. Also set a sensible default value. Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2009-05-03cafe_ccic: fix sensor detectionMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Due to an uninitialized chip.ident field the chip identification failed. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Thanks-to: saeed bishara <saeed.bishara@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-03STV0900/STV0903: 1. Support Silicon Cut >= 3.0Manu Abraham
2. Remove support for obsolete cuts: 1.0. 1.1. 1.2 3. Try to catch more error cases Driver doesn't now attach to obsolete silcon cuts, It just simply quits. Results in code simplification, with removal of the obsolete cuts. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-05-02v4l2-spec: fix V4L2_TUNER_MODE_STEREO doc.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Increased version number and fix V4L2_TUNER_MODE_STEREO documentation. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02radio-fm16: fix g_tuner.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> g_tuner handled capability, audmode and rxsubchans incorrectly. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02radio-fm16: cleanupsMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Remove bogus flags field Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02ivtv/radio: fix V4L2_TUNER_MODE/V4L2_TUNER_SUB confusionMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> V4L2_TUNER_MODE_ was used in a few places where V4L2_TUNER_SUB_ should have been used. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02ivtv: fix incorrect bit testsMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Found the coccinelle tool. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Thanks-to: Julia Lawall <julia@diku.dk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02pvrusb2: Ensure we specify the I/F at attach time.Steven Toth
From: Steven Toth <stoth@linuxtv.org> pvrusb2: Ensure we specify the I/F at attach time. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2009-05-02cx23885: For tda10048 boards ensure we specify the I/FSteven Toth
From: Steven Toth <stoth@linuxtv.org> cx23885: For tda10048 boards ensure we specify the I/F Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2009-05-02tda10048: Add ability to select I/F at attach time.Steven Toth
From: Steven Toth <stoth@linuxtv.org> tda10048: Add ability to select I/F at attach time. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2009-05-02v4l2-device: unregister i2c_clients when unregistering the v4l2_device.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Until now I relied on i2c_del_adapter to unregister the i2c_clients for me, however, if the i2c bus is a platform bus then it is never deleted. So instead I need to unregister i2c clients when unregistering the v4l2_device. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02ivtv: use v4l2_device_set_name.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-05-02v4l2: add v4l2_device_set_name()Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Add a utility function that can be used to setup the v4l2_device's name field in a standard manner. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02tuner: remove tuner_i2c_address_checkMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Support for tuners with i2c addresses >= 0x65 is dropped since no tuners with addresses in the range 0x65-0x6f have been found. This patch removes addresses 0x65-0x6f from the list of tuner probe addresses, it removes the kernel warning that warned if addresses in this range appeared, and it removed a hack for the cx88 that is no longer needed now that the tuner address range is reduced. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02uvc: fix compile warningMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> The 2.6.30 kernel generates this warning: uvc_driver.c:1729: warning: 'ret' may be used uninitialized in this function I guess some new warning flag must have been turned on since this warning didn't appear with older kernels (gcc version 4.3.1). It's also a bogus warning, but since this code didn't comply to the coding standard anyway I've modified it to 1) remove the warning and 2) conform to the coding standard. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02ivtv: fix compiler warning.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05merge: http://www.linuxtv.org/hg/~stoth/cleanupMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05Fix a warning introduced by git commit ec5f5bf80501abfe2da2897cfcde8452b545aacbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/v4l/master/v4l/radio-si470x.c: In function 'si470x_fops_release': /home/v4l/master/v4l/radio-si470x.c:1218: warning: label 'unlock' defined but not used Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-30v4l2-ioctl: Clear buffer type specific trailing fields/paddingTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Some ioctls have structs that are a different size depending on what type of buffer is being used. If the buffer type leaves a field unused or has padding space at the end, this space should be zeroed out. The problems with S_FMT and REQBUFS were original identified and patched by Márton Németh <nm127@freemail.hu>. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-04-30v4l2-ioctl: Check buffer types using g_fmt instead of try_fmtTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> For a number of different ioctls, the v4l2-ioctl code checks that the passed buffer type is supported by the driver. It did this by checking that the driver defined a method for the try_fmt handler for that buffer type. However, try_fmt is optional and a driver might not provide it even though it does support that type. So use g_fmt instead, since that isn't optional. This should fix a problem with VBI capture with saa7146. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-04-30zoran: fix bug when enumerating format -1Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> If someone requests a format at fmt->index == (unsigned)-1 and the first format in the array doesn't have the requested type then num will still be -1 when it's compared to fmt->index and there will appear to be a match. Restructure the loop so this can't happen. It's simpler this way too. The unnecessary check for (unsigned)fmt->index < 0 found by Roel Kluin <roel.kluin@gmail.com> is removed this way too. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-04-30compat: Add DMA_BIT_MASK() macroTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> This macro was added in 2.6.24 as a replacement for things like DMA_32BIT_MASK, DMA_24BIT_MASK, etc. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-04-29cx23885: Don't assume GPIO interrupts are cam related.Steven Toth
From: Steven Toth <stoth@linuxtv.org> cx23885: Don't assume GPIO interrupts are cam related. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2009-04-29backport commit 3444b26afa145148951112534f298bdc554ec789Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Author: David Vrabel <david.vrabel@csr.com> Date: Wed Apr 8 17:36:28 2009 +0000 USB: add reset endpoint operations Wireless USB endpoint state has a sequence number and a current window and not just a single toggle bit. So allow HCDs to provide a endpoint_reset method and call this or clear the software toggles as required (after a clear halt, set configuration etc.). usb_settoggle() and friends are then HCD internal and are moved into core/hcd.h and all device drivers call usb_reset_endpoint() instead. If the device endpoint state has been reset (with a clear halt) but the host endpoint state has not then subsequent data transfers will not complete. The device will only work again after it is reset or disconnected. CC: Mike Isely <isely@isely.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-29backport commit 6b35ca0d3d586b8ecb8396821af21186e20afaf0Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Author: Martin Fuzzey <mfuzzey@gmail.com> Date: Tue Apr 21 21:48:09 2009 +0200 USB: pwc : do not pass stack allocated buffers to USB core. This is causes problems on platforms that have alignment requirements for DMA transfers. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-29backport commit ec5f5bf80501abfe2da2897cfcde8452b545aacbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Author: Alan Cox <alan@lxorguk.ukuu.org.uk> Date: Wed Apr 22 15:03:15 2009 +0100 radio_si470x: Fix free memory corruption The release path for a disconnected device frees the object then unlocks the mutex in the freed object... Found by Dan Carpenter using Smatch Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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>