GitHub/MotorolaMobilityLLC/kernel-slsi.git
15 years agoV4L/DVB (10404): saa7134-core: remove oss option, since saa7134-oss doesn't exist...
Mauro Carvalho Chehab [Sat, 31 Jan 2009 11:10:49 +0000 (08:10 -0300)]
V4L/DVB (10404): saa7134-core: remove oss option, since saa7134-oss doesn't exist anymore

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10394): KWorld ATSC 115 all static
Mauro Carvalho Chehab [Mon, 19 Jan 2009 11:01:24 +0000 (08:01 -0300)]
V4L/DVB (10394): KWorld ATSC 115 all static

saa7134: Fix tuner access on Kworld ATSC110

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10392): lnbp21: documentation about the system register
Hans Werner [Wed, 14 Jan 2009 16:17:59 +0000 (13:17 -0300)]
V4L/DVB (10392): lnbp21: documentation about the system register

Here is a patch which adds some documentation about meanings of the
the lnbp21 system register bits.

Signed-off-by: Hans Werner <hwerner4@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10391): dvb: constify VFTs
Jan Engelhardt [Sun, 11 Jan 2009 09:12:43 +0000 (06:12 -0300)]
V4L/DVB (10391): dvb: constify VFTs

dvb: constify VFTs

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10389): gspca - zc3xx: Do work the sensor adcm2700.
Jean-Francois Moine [Mon, 26 Jan 2009 08:29:06 +0000 (05:29 -0300)]
V4L/DVB (10389): gspca - zc3xx: Do work the sensor adcm2700.

The lack of the green color is fixed by sensor sequences closer to the
ms-win traces.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10388): gspca - pac207: Webcam 093a:2474 added.
Lierdakil [Sun, 25 Jan 2009 17:37:26 +0000 (14:37 -0300)]
V4L/DVB (10388): gspca - pac207: Webcam 093a:2474 added.

Signed-off-by: Lierdakil <root@livid.pp.ru>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10387): gspca - spca505: Move some sequences from probe to streamon.
Jean-Francois Moine [Sat, 24 Jan 2009 18:42:50 +0000 (15:42 -0300)]
V4L/DVB (10387): gspca - spca505: Move some sequences from probe to streamon.

The webcams worked only one time after connection.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10384): gspca - spca505: Simplify and add the brightness in start.
Jean-Francois Moine [Fri, 23 Jan 2009 17:42:03 +0000 (14:42 -0300)]
V4L/DVB (10384): gspca - spca505: Simplify and add the brightness in start.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10383): gspca - spca505: Cleanup and optimize code.
Jean-Francois Moine [Thu, 22 Jan 2009 17:56:42 +0000 (14:56 -0300)]
V4L/DVB (10383): gspca - spca505: Cleanup and optimize code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10382): gspca - t613: Bad returned value when no known sensor found.
Jean-Francois Moine [Thu, 22 Jan 2009 15:53:56 +0000 (12:53 -0300)]
V4L/DVB (10382): gspca - t613: Bad returned value when no known sensor found.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10381): gspca - t613: New unknown sensor added.
Jean-Francois Moine [Thu, 22 Jan 2009 11:25:16 +0000 (08:25 -0300)]
V4L/DVB (10381): gspca - t613: New unknown sensor added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10380): gspca - t613: Cleanup and optimize code.
Jean-Francois Moine [Thu, 22 Jan 2009 10:18:48 +0000 (07:18 -0300)]
V4L/DVB (10380): gspca - t613: Cleanup and optimize code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10379): gspca - main: Use usb_make_path() for VIDIOC_QUERYCAP.
Thierry MERLE [Wed, 21 Jan 2009 18:32:26 +0000 (15:32 -0300)]
V4L/DVB (10379): gspca - main: Use usb_make_path() for VIDIOC_QUERYCAP.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10378): gspca - main: Avoid error on set interface on disconnection.
Jean-Francois Moine [Tue, 20 Jan 2009 19:21:44 +0000 (16:21 -0300)]
V4L/DVB (10378): gspca - main: Avoid error on set interface on disconnection.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10376): gspca - zc3xx: Remove some useless tables of sensor adcm2700.
Jean-Francois Moine [Tue, 20 Jan 2009 13:02:35 +0000 (10:02 -0300)]
V4L/DVB (10376): gspca - zc3xx: Remove some useless tables of sensor adcm2700.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10375): gspca - zc3xx: Remove duplicated sequence of sensor cs2102k.
Jean-Francois Moine [Tue, 20 Jan 2009 11:14:17 +0000 (08:14 -0300)]
V4L/DVB (10375): gspca - zc3xx: Remove duplicated sequence of sensor cs2102k.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10374): gspca - zc3xx: Bad probe of the sensor adcm2700.
Jean-Francois Moine [Tue, 20 Jan 2009 08:12:34 +0000 (05:12 -0300)]
V4L/DVB (10374): gspca - zc3xx: Bad probe of the sensor adcm2700.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10373): gspca - zc3xx: Sensor adcm2700 added.
Jean-Francois Moine [Mon, 19 Jan 2009 18:18:44 +0000 (15:18 -0300)]
V4L/DVB (10373): gspca - zc3xx: Sensor adcm2700 added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10372): gspca - sonixj: Cleanup code.
Jean-Francois Moine [Mon, 19 Jan 2009 10:37:33 +0000 (07:37 -0300)]
V4L/DVB (10372): gspca - sonixj: Cleanup code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10371): gspca - spca561: Fix image problem in the 352x288 mode of rev72a.
Jean-Francois Moine [Sun, 18 Jan 2009 17:24:52 +0000 (14:24 -0300)]
V4L/DVB (10371): gspca - spca561: Fix image problem in the 352x288 mode of rev72a.

With the wrong clock value, the image had two moving colored lines.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10370): gspca - main: Have 3 URBs instead of 2 for ISOC transfers.
Jean-Francois Moine [Sat, 17 Jan 2009 07:46:38 +0000 (04:46 -0300)]
V4L/DVB (10370): gspca - main: Have 3 URBs instead of 2 for ISOC transfers.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10369): gspca - mr97310a: Fix camera initialization copy/paste bugs.
Kyle Guinn [Sat, 17 Jan 2009 07:32:32 +0000 (04:32 -0300)]
V4L/DVB (10369): gspca - mr97310a: Fix camera initialization copy/paste bugs.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10368): gspca - spca561: Fix bugs and rewrite the init/start of the rev72a.
Jean-Francois Moine [Fri, 16 Jan 2009 19:24:28 +0000 (16:24 -0300)]
V4L/DVB (10368): gspca - spca561: Fix bugs and rewrite the init/start of the rev72a.

The bugs were in the first init sequence of the sensor.
The rewrite is adapted from a ms-win trace.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10367): gspca - spca561: Optimize the isoc scanning function.
Jean-Francois Moine [Fri, 16 Jan 2009 11:57:28 +0000 (08:57 -0300)]
V4L/DVB (10367): gspca - spca561: Optimize the isoc scanning function.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10366): gspca - mr97310a: New subdriver.
Kyle Guinn [Fri, 16 Jan 2009 08:36:14 +0000 (05:36 -0300)]
V4L/DVB (10366): gspca - mr97310a: New subdriver.

This patch adds support for USB webcams based on the MR97310A chip. It was
tested with an Aiptek PenCam VGA+ webcam.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10365): Add Mars-Semi MR97310A format
Kyle Guinn [Fri, 16 Jan 2009 08:28:38 +0000 (05:28 -0300)]
V4L/DVB (10365): Add Mars-Semi MR97310A format

The MR97310A is a dual-mode webcam controller that provides compressed BGGR
Bayer frames.  The decompression algorithm for still images is the same as for
video, and is currently implemented in libgphoto2.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10363): gspca - spca500: Abnormal error message when starting ClickSmart310.
Jean-Francois Moine [Thu, 15 Jan 2009 12:34:55 +0000 (09:34 -0300)]
V4L/DVB (10363): gspca - spca500: Abnormal error message when starting ClickSmart310.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10361): gspca - sonixj: Gamma control added.
Jean-Francois Moine [Thu, 15 Jan 2009 11:01:32 +0000 (08:01 -0300)]
V4L/DVB (10361): gspca - sonixj: Gamma control added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10360): gspca - mars: Bad interface/altsetting since 0a10a0e906be.
Jean-Francois Moine [Thu, 15 Jan 2009 09:11:49 +0000 (06:11 -0300)]
V4L/DVB (10360): gspca - mars: Bad interface/altsetting since 0a10a0e906be.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10357): gspca - main: Cleanup code.
Jean-Francois Moine [Tue, 13 Jan 2009 09:07:59 +0000 (06:07 -0300)]
V4L/DVB (10357): gspca - main: Cleanup code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10356): gspca - sonixj: Cleanup code.
Jean-Francois Moine [Tue, 13 Jan 2009 08:55:40 +0000 (05:55 -0300)]
V4L/DVB (10356): gspca - sonixj: Cleanup code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10354): gspca - tv8532: Change the max brightness.
Jean-Francois Moine [Sat, 10 Jan 2009 19:14:12 +0000 (16:14 -0300)]
V4L/DVB (10354): gspca - tv8532: Change the max brightness.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10353): gspca - some subdrivers: Don't get the control values from the webcam.
Jean-Francois Moine [Sat, 10 Jan 2009 19:11:25 +0000 (16:11 -0300)]
V4L/DVB (10353): gspca - some subdrivers: Don't get the control values from the webcam.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10352): gspca - spca508: Cleanup code.
Jean-Francois Moine [Sat, 10 Jan 2009 18:54:44 +0000 (15:54 -0300)]
V4L/DVB (10352): gspca - spca508: Cleanup code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10350): gspca - tv8532: Cleanup code.
Jean-Francois Moine [Fri, 9 Jan 2009 12:13:26 +0000 (09:13 -0300)]
V4L/DVB (10350): gspca - tv8532: Cleanup code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10348): gspca - mars: Bad isoc packet scanning.
Jean-Francois Moine [Thu, 8 Jan 2009 19:30:58 +0000 (16:30 -0300)]
V4L/DVB (10348): gspca - mars: Bad isoc packet scanning.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10347): gspca - mars: Optimize, rewrite initialization and add controls.
Jean-Francois Moine [Thu, 8 Jan 2009 19:29:38 +0000 (16:29 -0300)]
V4L/DVB (10347): gspca - mars: Optimize, rewrite initialization and add controls.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10346): gspca - zc3xx: Fix bad variable type with i2c read.
Jean-Francois Moine [Thu, 8 Jan 2009 12:38:45 +0000 (09:38 -0300)]
V4L/DVB (10346): gspca - zc3xx: Fix bad variable type with i2c read.

The returned value of i2c read is a 16 bits word. It was stored in
a 8 bits variable, preventing a sensor to be detected.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10345): gspca - jpeg subdrivers: One quantization table per subdriver.
Jean-Francois Moine [Wed, 7 Jan 2009 19:49:57 +0000 (16:49 -0300)]
V4L/DVB (10345): gspca - jpeg subdrivers: One quantization table per subdriver.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10344): gspca - ov534: Disable the Hercules webcams.
Antonio Ospite [Wed, 7 Jan 2009 12:09:36 +0000 (09:09 -0300)]
V4L/DVB (10344): gspca - ov534: Disable the Hercules webcams.

The Hercules webcam based on ov534 use different sensor than Playstation Eye,
disable them until full support is provided.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10343): gspca - zc3xx / zc0301: Handle the 0ac8:303b instead of zc0301.
Jean-Francois Moine [Wed, 7 Jan 2009 11:00:18 +0000 (08:00 -0300)]
V4L/DVB (10343): gspca - zc3xx / zc0301: Handle the 0ac8:303b instead of zc0301.

This webcam is generic and some sensors are not treated by
the driver zc0301.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10342): gspca - stv06xx: Add ctrl caching to the vv6410.
Erik Andren [Wed, 7 Jan 2009 09:11:50 +0000 (06:11 -0300)]
V4L/DVB (10342): gspca - stv06xx: Add ctrl caching to the vv6410.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10341): gspca - stv06xx: Plug a memory leak in the pb0100 sensor driver.
Erik Andren [Wed, 7 Jan 2009 09:09:27 +0000 (06:09 -0300)]
V4L/DVB (10341): gspca - stv06xx: Plug a memory leak in the pb0100 sensor driver.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10337): gspca - common: Simplify the debug macros.
Jean-Francois Moine [Thu, 1 Jan 2009 16:20:42 +0000 (13:20 -0300)]
V4L/DVB (10337): gspca - common: Simplify the debug macros.

The err, warning and info redefinitions don't need the use of
do {} while.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init.
Alexey Klimov [Thu, 1 Jan 2009 16:04:58 +0000 (13:04 -0300)]
V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10335): gspca - all subdrivers: Fix CodingStyle in sd_mod_init function.
Alexey Klimov [Thu, 1 Jan 2009 16:02:07 +0000 (13:02 -0300)]
V4L/DVB (10335): gspca - all subdrivers: Fix CodingStyle in sd_mod_init function.

Introduce int ret and check it value after call to usb_register().

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10334): gspca - stv06xx: Rework control description.
Erik Andren [Wed, 31 Dec 2008 17:33:53 +0000 (14:33 -0300)]
V4L/DVB (10334): gspca - stv06xx: Rework control description.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10333): gspca - main and many subdrivers: Remove the epaddr variable.
Jean-Francois Moine [Wed, 31 Dec 2008 11:13:46 +0000 (08:13 -0300)]
V4L/DVB (10333): gspca - main and many subdrivers: Remove the epaddr variable.

The transfer endpoint address is now automatically chosen.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10332): gspca - main: Version change.
Jean-Francois Moine [Wed, 31 Dec 2008 10:27:42 +0000 (07:27 -0300)]
V4L/DVB (10332): gspca - main: Version change.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10330): af9015: New remote RM-KS for Avermedia Volar-X
Jose Alberto Reguero [Fri, 23 Jan 2009 22:23:23 +0000 (19:23 -0300)]
V4L/DVB (10330): af9015: New remote RM-KS for Avermedia Volar-X

The new Avermedia Volar-X is shipped with a new remote(RM-KS). The attached
patch add a new option to the remote parameter of dvb_usb_af9015 for this
remote.

Signed-off-by: Felipe Morales Moreno <felipe.morales.moreno@gmail.com>
Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10329): af9015: remove dual_mode module param
Antti Palosaari [Fri, 23 Jan 2009 15:11:14 +0000 (12:11 -0300)]
V4L/DVB (10329): af9015: remove dual_mode module param

Remove dual_mode module param. Possible 2nd FE seems not to be buggy
any more and therefore can be enabled as default.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10327): em28xx: Add check before call em28xx_isoc_audio_deinit()
Douglas Schilling Landgraf [Sun, 25 Jan 2009 22:19:23 +0000 (19:19 -0300)]
V4L/DVB (10327): em28xx: Add check before call em28xx_isoc_audio_deinit()

Just call em28xx_isoc_audio_deinit() if em28xx sent a usb_submit().

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10326): em28xx: Cleanup: fix bad whitespacing
Douglas Schilling Landgraf [Sun, 25 Jan 2009 18:12:29 +0000 (15:12 -0300)]
V4L/DVB (10326): em28xx: Cleanup: fix bad whitespacing

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10324): em28xx: Correct mailing list
Alexey Klimov [Sun, 25 Jan 2009 15:53:09 +0000 (12:53 -0300)]
V4L/DVB (10324): em28xx: Correct mailing list

Move development mail-list to linux-media on vger.kernel.org.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10323): em28xx: Add entry for GADMEI TVR200
Douglas Schilling Landgraf [Mon, 19 Jan 2009 12:31:55 +0000 (09:31 -0300)]
V4L/DVB (10323): em28xx: Add entry for GADMEI TVR200

Added entry for GADMEI TVR200.
Thanks to Yohanes Nugroho <yohanes@gmail.com> for testing and data collection.

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10321): dib0700: Report dib0700_i2c_enumeration failures
Devin Heitmueller [Wed, 21 Jan 2009 04:55:45 +0000 (01:55 -0300)]
V4L/DVB (10321): dib0700: Report dib0700_i2c_enumeration failures

Make it clear that a failure in dib0700_i2c_enumeration is a fatal condition
and we cannot continue.  If the failure occurs, do not attempt to attach to
the tuner.

Problem Noticed the issue when debugging an i2c issue a YUAN High-Tech
STK7700PH for user Roshan Karki <roshan@olenepal.org>.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10320): dib0700: fix i2c error message to make data type clear
Devin Heitmueller [Wed, 21 Jan 2009 04:40:04 +0000 (01:40 -0300)]
V4L/DVB (10320): dib0700: fix i2c error message to make data type clear

Make it clear that the address is in hex format.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10319): dib0700: enable IR receiver in Nova TD usb stick (52009)
Arne Luehrs [Wed, 21 Jan 2009 04:37:20 +0000 (01:37 -0300)]
V4L/DVB (10319): dib0700: enable IR receiver in Nova TD usb stick (52009)

Adds the IR data structure to the configuration datastructure of the
Hauppauge WinTV Nova-TD USB stick (52009)

Provided remote control is the same as theone provided with the Nova-T500
Card.

Signed-off-by: Arne Luehrs <arne.luehrs@googlemail.com>
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10316): v4l/dvb: use usb_make_path in usb-radio drivers
Alexey Klimov [Sun, 25 Jan 2009 23:05:58 +0000 (20:05 -0300)]
V4L/DVB (10316): v4l/dvb: use usb_make_path in usb-radio drivers

Place usb_make_path in dsbr100.c, radio-mr800.c, radio-si470x.c that
used when reporting bus_info information in vidioc_querycap.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10313): saa7146: fix VIDIOC_ENUMSTD.
Hans Verkuil [Mon, 26 Jan 2009 22:13:05 +0000 (19:13 -0300)]
V4L/DVB (10313): saa7146: fix VIDIOC_ENUMSTD.

The previous conversion to video_ioctl2 broke VIDIOC_ENUMSTD. This
is now fixed.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10309): s2255drv: use usb_make_path to report bus info
Thierry MERLE [Tue, 20 Jan 2009 21:19:25 +0000 (18:19 -0300)]
V4L/DVB (10309): s2255drv: use usb_make_path to report bus info

usb_make_path reports canonical bus info. Use it when reporting bus info
in VIDIOC_QUERYCAP.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10308): uvcvideo: use usb_make_path to report bus info
Thierry MERLE [Tue, 27 Jan 2009 19:53:23 +0000 (16:53 -0300)]
V4L/DVB (10308): uvcvideo: use usb_make_path to report bus info

usb_make_path reports canonical bus info. Use it when reporting bus info
in VIDIOC_QUERYCAP.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10307): em28xx: use usb_make_path to report bus info
Thierry MERLE [Tue, 20 Jan 2009 21:01:33 +0000 (18:01 -0300)]
V4L/DVB (10307): em28xx: use usb_make_path to report bus info

usb_make_path reports canonical bus info. Use it when reporting bus info
in VIDIOC_QUERYCAP.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10306): usbvision: use usb_make_path to report bus info
Thierry MERLE [Tue, 20 Jan 2009 20:40:44 +0000 (17:40 -0300)]
V4L/DVB (10306): usbvision: use usb_make_path to report bus info

usb_make_path reports canonical bus info. Use it when reporting bus info
in VIDIOC_QUERYCAP.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10305): videobuf-vmalloc: Fix: videobuf memory were never freed
Mauro Carvalho Chehab [Sat, 24 Jan 2009 00:35:12 +0000 (21:35 -0300)]
V4L/DVB (10305): videobuf-vmalloc: Fix: videobuf memory were never freed

videobuf_vmalloc_free() is never freeing the video buffer memory. Due to
that, after multiple open/closes, user can suffer a panic:

Kernel BUG at mm/slab.c:2650
invalid opcode: 0000 [1] SMP
last sysfs file: /class/video4linux/video0/dev
CPU 4
Modules linked in: vivi(U) videodev(U) v4l1_compat(U) v4l2_compat_ioctl32(U) videobuf_vmalloc(U) videobuf_core(U) ipv6 xfrm_nalgo autofs4 vmnet(U) vmblock(U) vmci(U) vmmon(U) ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_ondemand dm_mirror dm_log dm_multipath scsi_dh dm_mod video backlight sbs i2c_ec button battery asus_acpi acpi_memhotplug ac lp testmgr_cipher testmgr aead crypto_blkcipher crypto_algapi crypto_api arc4 snd_hda_intel nvidia(PFU) snd_seq_dummy snd_seq_oss snd_seq_midi_event rt73usb crc_itu_t snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss tg3 sr_mod snd_pcm snd_timer snd_page_alloc snd_hwdep pcspkr rt2500usb cdrom rt2x00usb rt2x00lib libphy snd parport_pc soundcore shpchp serio_raw i2c_i801 i5400_edac parport ata_piix sg mac80211 edac_mc i2c_core cfg80211 ahci libata sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Pid: 6215, comm: v4l-stress-buff Tainted: PF     2.6.18-118.el5 #1
RIP: 0010:[<ffffffff80017506>]  [<ffffffff80017506>] cache_grow+0x1e/0x395
RSP: 0018:ffff810128a35d28  EFLAGS: 00010006
RAX: 0000000000000000 RBX: 00000000000080d0 RCX: 00000000ffffffff
RDX: 0000000000000000 RSI: 00000000000080d0 RDI: ffff8101042d8340
RBP: ffff8101042ce5e0 R08: ffff81012fc1e8c0 R09: ffff8101042eac00
R10: 0000000000000000 R11: ffffffff882a5139 R12: ffff8101042d8340
R13: ffff8101042ce5c0 R14: 0000000000000000 R15: ffff8101042d8340
FS:  0000000000000000(0000) GS:ffff81012fc24d40(0063) knlGS:00000000f7f706c0
CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
CR2: 00000000f7f9a000 CR3: 0000000117ad0000 CR4: 00000000000006e0
Process v4l-stress-buff (pid: 6215, threadinfo ffff810128a34000, task ffff810128fcb820)
Stack:  ffffc20012a39000 0000004415173ff8 ffff810000011c10 000280d200000000
 0000000000000002 00000000ffffffff ffff8101042ce5e0 ffff81012fc1e8c0
 ffff8101042ce5c0 000000000000000c ffff8101042d8340 ffffffff8005bdde
Call Trace:
 [<ffffffff8005bdde>] cache_alloc_refill+0x136/0x186
 [<ffffffff800d7822>] kmem_cache_alloc_node+0x98/0xb2
 [<ffffffff800cda1f>] __vmalloc_area_node+0x62/0x153
 [<ffffffff800cdd65>] vmalloc_user+0x15/0x50
 [<ffffffff882a521f>] :videobuf_vmalloc:__videobuf_iolock+0xe6/0x155
 [<ffffffff8838f958>] :vivi:buffer_prepare+0xb9/0xe6
 [<ffffffff882981f3>] :videobuf_core:__videobuf_read_start+0xa2/0x10f
 [<ffffffff882983e6>] :videobuf_core:videobuf_read_stream+0x9c/0x1f3
 [<ffffffff8000b3f3>] vfs_read+0xcb/0x171
 [<ffffffff80011967>] sys_read+0x45/0x6e
 [<ffffffff8006149b>] sysenter_do_call+0x1b/0x67

Code: 0f 0b 68 af 1e 2a 80 c2 5a 0a f6 c7 20 0f 85 53 03 00 00 89
RIP  [<ffffffff80017506>] cache_grow+0x1e/0x395
 RSP <ffff810128a35d28>
 <0>Kernel panic - not syncing: Fatal exception

Thanks to Douglas Schilling Landgraf <dougsland@gmail.com> for writing a
stress tool for testing and to Robert Krakora <rob.krakora@messagenetsystems.com>
to trace the code and discover the point where the bug were happening.
Thanks also to Magnus Damm <damm@igel.co.jp> that provided us a fix for
a similar bug on videobuf-dma-contig.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10304): buf-dma-contig: fix USERPTR free handling
Magnus Damm [Wed, 10 Dec 2008 04:54:32 +0000 (01:54 -0300)]
V4L/DVB (10304): buf-dma-contig: fix USERPTR free handling

This patch fixes a free-without-alloc bug for V4L2_MEMORY_USERPTR
video buffers.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10303): pvrusb2: Use usb_make_path() to determine device bus location
Mike Isely [Fri, 23 Jan 2009 04:20:24 +0000 (01:20 -0300)]
V4L/DVB (10303): pvrusb2: Use usb_make_path() to determine device bus location

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10299): bttv: Add support for IVCE-8784 support for V4L2 bttv driver
Douglas Kosovic [Fri, 23 Jan 2009 02:07:26 +0000 (23:07 -0300)]
V4L/DVB (10299): bttv: Add support for IVCE-8784 support for V4L2 bttv driver

It's a quad Bt878 PCI-e x1 capture board that's basically the same as the
IVC-200 (quad Bt878 PCI) capture board that's currently supported in
the V4L2 bttv driver.

Manufacturer's web page for IVCE-8784 with photo and info:
  http://www.iei.com.tw/en/product_IPC.asp?model=IVCE-8784

Signed-off-by: Douglas Kosovic <douglask@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10298): remove err macro from few usb devices
Mauro Carvalho Chehab [Thu, 8 Jan 2009 12:13:42 +0000 (09:13 -0300)]
V4L/DVB (10298): remove err macro from few usb devices

Patch removes err() macros from few usb devices.
It places pr_err in pvrusb2-v4l2.c, dev_err in dabusb and in usbvision
drivers. Beside placing dev_err, patch defines new s2255_dev_err macro
with S2255_DRIVER_NAME in s2255 module.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: Thierry Merle <thierry.merle@free.fr>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10296): uvcvideo: Fix memory leak in input device handling
Laurent Pinchart [Thu, 22 Jan 2009 15:45:10 +0000 (12:45 -0300)]
V4L/DVB (10296): uvcvideo: Fix memory leak in input device handling

The dynamically allocated input_dev->phys buffer isn't freed when
unregistering the device. As the input layer doesn't provide any release
callback, use a fixed-size buffer inside the uvc_device structure.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10295): uvcvideo: Retry URB buffers allocation when the system is low on...
Laurent Pinchart [Sun, 18 Jan 2009 20:46:30 +0000 (17:46 -0300)]
V4L/DVB (10295): uvcvideo: Retry URB buffers allocation when the system is low on memory.

URB buffers for video transfers are sized to UVC_MAX_PACKETS bulk/isochronous
packets by default. If the system is too low on memory try successively
smaller numbers of packets until allocation succeeds.

Tested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10294): uvcvideo: Add support for the Alcor Micro AU3820 chipset.
Laurent Pinchart [Wed, 14 Jan 2009 15:49:11 +0000 (12:49 -0300)]
V4L/DVB (10294): uvcvideo: Add support for the Alcor Micro AU3820 chipset.

The Alcor Micro AU3820 chipset (found in the Future Boy PC USB webcam)
requires the MINMAX quirk. Add a corresponding entry in the device IDs list.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10293): uvcvideo: replace strn{cpy,cat} with strl{cpy,cat}.
Laurent Pinchart [Thu, 8 Jan 2009 17:05:11 +0000 (14:05 -0300)]
V4L/DVB (10293): uvcvideo: replace strn{cpy,cat} with strl{cpy,cat}.

strncpy is unsafe as it doesn't append a terminating NUL character when the
source string doesn't fit in the destination buffer. Replace it with strlcpy.
strncat is misused as its size argument refers to the source string, not the
destination buffer. Replace it with strlcat.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10291): em28xx: fix VIDIOC_G_CTRL when there is no msp34xx device.
Hans Verkuil [Wed, 21 Jan 2009 20:06:42 +0000 (17:06 -0300)]
V4L/DVB (10291): em28xx: fix VIDIOC_G_CTRL when there is no msp34xx device.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10286): af9015: add new USB ID for KWorld DVB-T 395U
Antti Palosaari [Tue, 13 Jan 2009 15:47:28 +0000 (12:47 -0300)]
V4L/DVB (10286): af9015: add new USB ID for KWorld DVB-T 395U

Add new USB ID 1b80:e39b for KWorld DVB-T 395U. This device revision does
have Quantek QT1010 silicon tuner.

Thanks-to: Ray Chen <swyear@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10284): cx18: Add initial entry for a Leadtek DVR3100 H hybrid card
Andy Walls [Mon, 19 Jan 2009 21:31:22 +0000 (18:31 -0300)]
V4L/DVB (10284): cx18: Add initial entry for a Leadtek DVR3100 H hybrid card

Card report provided by Patryk on the ivtv-devel list:
http://ivtvdriver.org/pipermail/ivtv-devel/2009-January/005922.html

Reported-by: Pat <tatyrza@mm.pl>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10283): cx18: Call request_module() with proper argument types.
Andy Walls [Sat, 17 Jan 2009 16:37:36 +0000 (13:37 -0300)]
V4L/DVB (10283): cx18: Call request_module() with proper argument types.

request_module() needs to be called with a string literal for a
format string or with 1 or more variable arguments to avoid
compiler warnings and possible exploits, if someone could cause
us to get a format string with a '%' code in the format string
when we make the call.

Reported-by: Brandon Jenkins <bcjenkins@tvwhere.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10281): cx18: Conversion to new V4L2 framework: use v4l2_device object
Andy Walls [Sun, 11 Jan 2009 18:08:53 +0000 (15:08 -0300)]
V4L/DVB (10281): cx18: Conversion to new V4L2 framework: use v4l2_device object

First step in conversion to the new V4L2 framework.  Added per cx18 device
instance of the v4l2_device and its registration.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10280): cx18: Rename structure members: dev to pci_dev and v4l2dev to video_dev
Andy Walls [Sun, 11 Jan 2009 00:54:39 +0000 (21:54 -0300)]
V4L/DVB (10280): cx18: Rename structure members: dev to pci_dev and v4l2dev to video_dev

Renamed structure member name to be more specific to type in anticipation
of updating to the v4l2_device/v4l2_subdev framework.  Too many objects named
"dev" and /v4l2_\{0,1\}dev/ would be to confusing.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10279): cx18: Print driver version number when logging status
Andy Walls [Sat, 10 Jan 2009 17:13:46 +0000 (14:13 -0300)]
V4L/DVB (10279): cx18: Print driver version number when logging status

Make sure v4l2-ctl --log-status outputs the driver version.

Reported-by: David Dombroski <davedom@optonline.net>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10278): cx18: Fix bad audio in first analog capture.
Andy Walls [Mon, 5 Jan 2009 00:51:17 +0000 (21:51 -0300)]
V4L/DVB (10278): cx18: Fix bad audio in first analog capture.

Normalize the APU state before the second firmware load so that audio
for the first analog capture is correct.

Many thanks to Conexant for supporting me in finding a solution for this
problem.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10277): cx18, cx2341x: Fix bugs in cx18 AC3 control and comply with V4L2...
Andy Walls [Sat, 3 Jan 2009 17:21:30 +0000 (14:21 -0300)]
V4L/DVB (10277): cx18, cx2341x: Fix bugs in cx18 AC3 control and comply with V4L2 spec

Fix bugs in the cx18 AC3 control implementation that would have affected
ivtv and other drivers via the cx2341x module.  Bring AC3 controls
behavior into comliance with V4L2 specification.  Thanks to Hans Verkuil
for reviewing the previous patch and pointing out the problems.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10276): cx18, cx2341x, ivtv: Add AC-3 audio encoding control to cx18
Andy Walls [Thu, 1 Jan 2009 22:02:31 +0000 (19:02 -0300)]
V4L/DVB (10276): cx18, cx2341x, ivtv: Add AC-3 audio encoding control to cx18

Initial addition of controls to set AC-3 audio encoding for the CX23418 - it
does not work yet due to firmware or cx18 driver issues.  This change affects
the common cx2341x and ivtv modules due to shared structures and
common functions.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10275): cx18: Additional debug to display outgoing mailbox parameters
Andy Walls [Thu, 1 Jan 2009 15:35:06 +0000 (12:35 -0300)]
V4L/DVB (10275): cx18: Additional debug to display outgoing mailbox parameters

Added debug display of outgoing mailbox arguments.  Fixed a minor problem
with display of stale incoming mailbox contents, when user was not looking for
debug warnings.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10274): cx18: Fix a PLL divisor update for the I2S master clock
Andy Walls [Thu, 1 Jan 2009 14:09:24 +0000 (11:09 -0300)]
V4L/DVB (10274): cx18: Fix a PLL divisor update for the I2S master clock

A redundant PLL divisior update for the I2S master clock after AV core
firmware load was missed in earlier PLL parameter changes.  This one really
doesn't matter because it's redundant and gets overwritten, but the driver
should be self consistent in the values used.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10272): av7110: test type field in VIDIOC_G_SLICED_VBI_CAP
Hans Verkuil [Mon, 19 Jan 2009 07:14:17 +0000 (04:14 -0300)]
V4L/DVB (10272): av7110: test type field in VIDIOC_G_SLICED_VBI_CAP

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10271): saa7146: convert to video_ioctl2.
Hans Verkuil [Sun, 18 Jan 2009 22:59:11 +0000 (19:59 -0300)]
V4L/DVB (10271): saa7146: convert to video_ioctl2.

The conversion to video_ioctl2 is the first phase to converting this driver
to the latest v4l2 framework.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10269): Add support for DVBWorld DVBS2 PCI-e 2005.
Igor M. Liplianin [Sat, 17 Jan 2009 15:23:31 +0000 (12:23 -0300)]
V4L/DVB (10269): Add support for DVBWorld DVBS2 PCI-e 2005.

DVBWorld DVBS2 PCI-e 2005 card contains cx23885 PCI-e bridge
and cx24116 demodulator.
http://www.linuxtv.org/wiki/index.php/DVBWorld_DVB-S2_2005_PCI-Express_Card
The card tested by me (Igor).

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10268): Proper implement set_voltage in cx24116.
Igor M. Liplianin [Sat, 17 Jan 2009 13:16:36 +0000 (10:16 -0300)]
V4L/DVB (10268): Proper implement set_voltage in cx24116.

Now there is a card, which uses cx24116 to control LNB DC voltage.
It is DVBWorld DVBS2 PCI-e 2005.
The patch is nedded to add support for that card.
1. Rename CMD_SET_TONEPRE to CMD_LNBDCLEVEL.
2. Fill set_voltage with actually control voltage code.
3. Correct set_tone to not affect voltage.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10267): Add support for TeVii S470 DVB-S2 PCI-e card.
Igor M. Liplianin [Sat, 17 Jan 2009 15:18:26 +0000 (12:18 -0300)]
V4L/DVB (10267): Add support for TeVii S470 DVB-S2 PCI-e card.

TeVii S470 DVB-S2 PCI-e card contains cx23885 PCI-e bridge
and cx24116 demodulator.
http://www.linuxtv.org/wiki/index.php/TeVii_S470
The card tested by me (Igor).

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10266): Add support for TurboSight TBS6920 DVB-S2 PCI-e card.
Igor M. Liplianin [Sat, 17 Jan 2009 15:11:20 +0000 (12:11 -0300)]
V4L/DVB (10266): Add support for TurboSight TBS6920 DVB-S2 PCI-e card.

TurboSight TBS6920 DVB-S2 PCI-e card contains cx23885 PCI-e bridge
and cx24116 demodulator.
http://www.linuxtv.org/wiki/index.php/TBS_6920
The card tested by me (Igor).

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10263): zr364xx: add support for Aiptek DV T300
Antoine Jacquet [Sun, 18 Jan 2009 01:49:08 +0000 (22:49 -0300)]
V4L/DVB (10263): zr364xx: add support for Aiptek DV T300

Tested-by: Hámorszky Balázs <balihb@freepop.hu>
Signed-off-by: Antoine Jacquet <royale@zerezo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10259): pvrusb2: Code module name directly in printk
Mike Isely [Fri, 16 Jan 2009 06:09:34 +0000 (03:09 -0300)]
V4L/DVB (10259): pvrusb2: Code module name directly in printk

The name of the pvrusb2 module is not likely to ever change, and there
are plenty of other places where the name is directly coded, so there
is little utility in using a macro to infer the module name here.  In
addition, using that macro complicates other uses of the driver
involving older kernels where this macro works differently.  Yes I
know for many places we don't have to worry about that.  But my
alternative is that I have to build special logic in the pvrusb2
standalone driver to special-case what is otherwise costmetic and that
is just plain nuts for something as trivial as this, especially since
this change does not at all have any compile time or run time impact
on the driver.  I'm just removing a nicety that didn't have a lot of
value here to begin with.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10258): pvrusb2: Issue VIDIOC_INT_INIT to v4l2 modules when they first attach
Mike Isely [Fri, 16 Jan 2009 06:06:02 +0000 (03:06 -0300)]
V4L/DVB (10258): pvrusb2: Issue VIDIOC_INT_INIT to v4l2 modules when they first attach

It appears that various v4l-dvb drivers are changing to require
explicit initialization before use.  This change to the pvrusb2 driver
implements an automatic issuance of VIDIOC_INT_INIT when a module is
bound to the driver, thus conforming to the new behavior.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10255): em28xx: Clock (XCLK) Cleanup
Robert Krakora [Mon, 19 Jan 2009 00:44:46 +0000 (21:44 -0300)]
V4L/DVB (10255): em28xx: Clock (XCLK) Cleanup

Clock (XCLK) Cleanup

Signed-off-by: Robert Krakora <rob.krakora@messagenetsystems.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10252): v4l2 doc: explain why v4l2_device_unregister_subdev() has to be...
Hans Verkuil [Thu, 15 Jan 2009 09:09:05 +0000 (06:09 -0300)]
V4L/DVB (10252): v4l2 doc: explain why v4l2_device_unregister_subdev() has to be called.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10251): cx25840: add comments explaining what the init() does.
Hans Verkuil [Thu, 15 Jan 2009 08:53:18 +0000 (05:53 -0300)]
V4L/DVB (10251): cx25840: add comments explaining what the init() does.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10249): v4l2-common: added v4l2_i2c_tuner_addrs()
Hans Verkuil [Sun, 18 Jan 2009 22:37:59 +0000 (19:37 -0300)]
V4L/DVB (10249): v4l2-common: added v4l2_i2c_tuner_addrs()

Add v4l2_i2c_tuner_addrs() to obtain the various I2C tuner addresses.
This will be used in several drivers, so make this a common function
as we do not want to have these I2C addresses all over the place.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10247): saa7134: convert to the new v4l2 framework.
Hans Verkuil [Sat, 17 Jan 2009 15:17:14 +0000 (12:17 -0300)]
V4L/DVB (10247): saa7134: convert to the new v4l2 framework.

Register v4l2_device and switch to v4l2_subdev to access the i2c modules.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10246): saa6752hs: convert to v4l2_subdev.
Hans Verkuil [Wed, 14 Jan 2009 09:54:38 +0000 (06:54 -0300)]
V4L/DVB (10246): saa6752hs: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>