GitHub/LineageOS/android_kernel_samsung_universal7580.git
15 years agoV4L/DVB (12455): radio-typhoon: remove obsolete RADIO_TYPHOON_PROC_FS config option
Hans Verkuil [Wed, 12 Aug 2009 13:10:20 +0000 (10:10 -0300)]
V4L/DVB (12455): radio-typhoon: remove obsolete RADIO_TYPHOON_PROC_FS config option

Thanks to Robert P.J. Day for finding this.

Thanks-to: Robert P.J. Day <rpjday@crashcourse.ca>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12452): gspca/Kconfig: Fix bad identation for USB_GSPCA_SN9C20X_EVDEV
Mauro Carvalho Chehab [Fri, 14 Aug 2009 04:45:57 +0000 (01:45 -0300)]
V4L/DVB (12452): gspca/Kconfig: Fix bad identation for USB_GSPCA_SN9C20X_EVDEV

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12444): em28xx: add support for Terratec Cinergy Hybrid T USB XS remote...
Devin Heitmueller [Tue, 4 Aug 2009 02:56:51 +0000 (23:56 -0300)]
V4L/DVB (12444): em28xx: add support for Terratec Cinergy Hybrid T USB XS remote control

Add support for the remote control that comes with the Cinergy Hybrid T USB XS

Thanks to Jelle de Jong for providing sample hardware to test with.

Cc: Jelle de Jong <jelledejong@powercraft.nl>
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12439): cx88: add support for WinFast DTV2000H rev. J
Vlastimil Labsky [Tue, 11 Aug 2009 01:15:54 +0000 (22:15 -0300)]
V4L/DVB (12439): cx88: add support for WinFast DTV2000H rev. J

I updated and simplyfied patch from Zbynek Hrabovsky for recent kernel.
It enables autodetection of card, sound in analog TV , sound in FM radio
and switching between antenna and cable RF input.  Radio tuner still
doesn't work, I don't even know how it works.  Some guys wrote me that FM
radio works with TV tuner used instead of radio part (symlink video0 ->
radio0).

Cc: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Vlastimil Labsky <vlasta.labsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12435): strlcpy() will always null terminate the string.
Roel Kluin [Sat, 8 Aug 2009 15:58:52 +0000 (12:58 -0300)]
V4L/DVB (12435): strlcpy() will always null terminate the string.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12434): em28xx: fix empire auto-detect
Douglas Schilling Landgraf [Thu, 6 Aug 2009 15:52:11 +0000 (12:52 -0300)]
V4L/DVB (12434): em28xx: fix empire auto-detect

Fixed eeprom hash table

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12427): cx24113: fix mips compiler warning
Hans Verkuil [Fri, 7 Aug 2009 08:50:02 +0000 (05:50 -0300)]
V4L/DVB (12427): cx24113: fix mips compiler warning

do_div requires an u64 as the first argument, not a s64.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12426): pvrusb2: fix compile warning
Hans Verkuil [Fri, 7 Aug 2009 08:32:20 +0000 (05:32 -0300)]
V4L/DVB (12426): pvrusb2: fix compile warning

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12423): cxusb, d680 dmbth use unified lgs8gxx code instead of lgs8gl5
David T.L. Wong [Wed, 5 Aug 2009 16:07:10 +0000 (13:07 -0300)]
V4L/DVB (12423): cxusb, d680 dmbth use unified lgs8gxx code instead of lgs8gl5

Use unified lgs8gxx frontend instead of reverse engineered lgs8gl5 frontend.
After this patch, lgs8gl5 frontend could be mark as deprecated.
Future development should base on unified lgs8gxx frontend.

Signed-off-by: David T.L. Wong <davidtlwong@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12421): drivers/media/video/gspca: introduce missing kfree
Julia Lawall [Wed, 5 Aug 2009 01:00:24 +0000 (22:00 -0300)]
V4L/DVB (12421): drivers/media/video/gspca: introduce missing kfree

Error handling code following a kmalloc should free the allocated data.

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12420): saa7134: fix the radio on Avermedia GO 007 FM
hermann pitton [Tue, 4 Aug 2009 23:11:43 +0000 (20:11 -0300)]
V4L/DVB (12420): saa7134: fix the radio on Avermedia GO 007 FM

We have support for radio on saa7133/35/31e cards with tda8290/8275(a)
and 5.5MHz ceramic filter on the bridge chips since a while.

It was previously not tested, if this card supports it too, but the old
"ghost" radio with wrong filters doesn't work anymore.

Thanks go to Pham Thanh Nam and Laszlo Kustan for reporting it working
on that input.

Signed-off-by: hermann pitton <hermann-pitton@arcor.de>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12419): Fix incorrect type of tuner for the BeholdTV H6 card
Beholder Intl. Ltd. Dmitry Belimov [Tue, 4 Aug 2009 23:07:42 +0000 (20:07 -0300)]
V4L/DVB (12419): Fix incorrect type of tuner for the BeholdTV H6 card

Define correct tuner in config. Radio now works fine

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12417): I2C cleanups and version checks
Tobias Lorenz [Mon, 10 Aug 2009 21:44:14 +0000 (18:44 -0300)]
V4L/DVB (12417): I2C cleanups and version checks

The structure and comments of the I2C part have been adopted to fit to the
USB part.

Some additional cleanups and precisements have been made to the version
detection and checking functionality to clearly separate HW/SW/FW version.

Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12416): radio-si470x: add i2c driver for si470x
Joonyoung Shim [Sun, 9 Aug 2009 17:23:35 +0000 (14:23 -0300)]
V4L/DVB (12416): radio-si470x: add i2c driver for si470x

This patch supports i2c interface of si470x. The i2c specific part
exists in radio-si470x-i2c.c file and the common part uses
radio-si470x-common.c file. The '#if defined' is inserted inevitably
because of parts used only si470x usb in the common file.

The current driver version doesn't support the RDS.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12415): radio-si470x: add disconnect check function
Joonyoung Shim [Sun, 9 Aug 2009 17:23:02 +0000 (14:23 -0300)]
V4L/DVB (12415): radio-si470x: add disconnect check function

The si470x_disconnect_check is function to check disconnect state of
radio in common file. The function is implemented in each interface
file.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12414): radio-si470x: change to dev_* macro from printk
Joonyoung Shim [Sun, 9 Aug 2009 17:22:41 +0000 (14:22 -0300)]
V4L/DVB (12414): radio-si470x: change to dev_* macro from printk

This patch is for using dev_* macro instead of printk.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12413): radio-si470x: separate common and usb code
Joonyoung Shim [Sun, 9 Aug 2009 17:22:20 +0000 (14:22 -0300)]
V4L/DVB (12413): radio-si470x: separate common and usb code

This patch is a preceding work to add the i2c interface of si470x.
The si470x directory includes a common file and usb specific file and
header file.
The part unrelated with usb interface and i2c interface exists in
radio-si470x-common.c file, and The usb specific part exists in
radio-si470x-usb.c file.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
[tobias.lorenz@gmx.net: Small changes, due to new include "linux/smp_lock.h"]
Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12408): em28xx: Implement g/s_register via address match
Mauro Carvalho Chehab [Sun, 9 Aug 2009 22:39:23 +0000 (19:39 -0300)]
V4L/DVB (12408): em28xx: Implement g/s_register via address match

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12396): [patch] Added Support for STK7700D (DVB)
Pete Hildebrandt [Wed, 5 Aug 2009 14:46:38 +0000 (11:46 -0300)]
V4L/DVB (12396): [patch] Added Support for STK7700D (DVB)

This patch adds support for the STK7700D USB-DVB-Device.

lsusb identifies it as:
idVendor           0x1164 YUAN High-Tech Development Co., Ltd
idProduct          0x1efc
 iProduct                2 STK7700D

The device is build into a Samsung R55-T5500 notebook.

Signed-off-by: Pete Hildebrandt <send2ph@googlemail.com>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12388): dvb-usb: fix tuning with Cinergy T2
Eberhard Mattes [Sun, 2 Aug 2009 18:44:37 +0000 (15:44 -0300)]
V4L/DVB (12388): dvb-usb: fix tuning with Cinergy T2

cinergyInitialize param.flags.

Signed-off-by: Eberhard Mattes <eberhard.mattes@web.de>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12383): gspca - vc032x: Bad h/v flip controls when inverted by default.
Jean-Francois Moine [Sun, 2 Aug 2009 09:56:47 +0000 (06:56 -0300)]
V4L/DVB (12383): gspca - vc032x: Bad h/v flip controls when inverted by default.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12382): gspca - main: Remove vidioc_s_std().
Marton Nemeth [Wed, 29 Jul 2009 08:01:54 +0000 (05:01 -0300)]
V4L/DVB (12382): gspca - main: Remove vidioc_s_std().

The vidioc_s_std() is not necessary when vdev->tvnorms == 0.

Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12379): uvcvideo: Multiple streaming interfaces support
Laurent Pinchart [Wed, 1 Jul 2009 23:24:47 +0000 (20:24 -0300)]
V4L/DVB (12379): uvcvideo: Multiple streaming interfaces support

Restructure the UVC descriptors parsing code to handle multiple streaming
interfaces. The driver now creates a uvc_video_chain instance for each chain
detected in the UVC control interface descriptors, and tries to register one
video device per streaming endpoint.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12378): uvcvideo: Restructure the driver to support multiple simultaneous...
Laurent Pinchart [Sun, 28 Jun 2009 11:37:50 +0000 (08:37 -0300)]
V4L/DVB (12378): uvcvideo: Restructure the driver to support multiple simultaneous streams.

As a first step towards multiple streaming interfaces support, reorganize the
driver's data structures to cleanly separate video control and video streaming
data.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12376): em28xx: fix V4L2 API compliance: don't expose audio inputs for devic...
Mauro Carvalho Chehab [Tue, 4 Aug 2009 22:52:37 +0000 (19:52 -0300)]
V4L/DVB (12376): em28xx: fix V4L2 API compliance: don't expose audio inputs for devices without it

V4L2 API (chapter 1.5) states that:

Drivers must implement all input ioctls when the device has one
or more inputs, all output ioctls when the device has one or more outputs.
When the device has any audio inputs or outputs the driver must set the
V4L2_CAP_AUDIO flag in the struct v4l2_capability returned by the
VIDIOC_QUERYCAP ioctl.

So, devices without audio input should return -EINVAL.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12373): hdpvr: fix lock imbalances
Jiri Slaby [Thu, 30 Jul 2009 23:00:44 +0000 (20:00 -0300)]
V4L/DVB (12373): hdpvr: fix lock imbalances

There are many lock imbalances in this driver. Fix all found.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12372): saa7134: fix lock imbalance
Jiri Slaby [Tue, 28 Jul 2009 14:56:33 +0000 (11:56 -0300)]
V4L/DVB (12372): saa7134: fix lock imbalance

There seems to be one superfluos unlock in a poll function. Remove it.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12370): v4l doc: fix cqcam source code path
Mhayk Whandson [Tue, 28 Jul 2009 14:53:20 +0000 (11:53 -0300)]
V4L/DVB (12370): v4l doc: fix cqcam source code path

Fixed the c-qcam source code path in the linux kernel tree.

Signed-off-by: Mhayk Whandson <eu@mhayk.com.br>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12369): stv680: kfree called before usb_kill_urb
Oliver Neukum [Tue, 28 Jul 2009 14:52:10 +0000 (11:52 -0300)]
V4L/DVB (12369): stv680: kfree called before usb_kill_urb

The irq handler will touch memory. Even in the error case some URBs may
complete. Thus no memory must be kfreed before all URBs are killed.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12368): ir-kbd-i2c: Add support for Z8F0811/Hauppage IR transceivers
Andy Walls [Tue, 28 Jul 2009 14:50:14 +0000 (11:50 -0300)]
V4L/DVB (12368): ir-kbd-i2c: Add support for Z8F0811/Hauppage IR transceivers

This patch adds support for Zilog Z8F0811 IR transceiver chips on
CX2341[68] based boards to ir-kbd-i2c for both the old i2c binding model
and the new i2c binding model.

Signed-off-by: Andy Walls <awalls@radix.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12367): cx18: Add i2c initialization for Z8F0811/Hauppage IR transceivers
Andy Walls [Tue, 28 Jul 2009 14:48:18 +0000 (11:48 -0300)]
V4L/DVB (12367): cx18: Add i2c initialization for Z8F0811/Hauppage IR transceivers

This patch add support to the cx18 driver for setting up the
Z8F0811/Hauppauge IR Tx/Rx chip with the i2c binding model in newer
kernels.

Signed-off-by: Andy Walls <awalls@radix.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12366): ir-kbd-i2c: Allow use of ir-kdb-i2c internal get_key funcs and set...
Andy Walls [Tue, 28 Jul 2009 14:44:05 +0000 (11:44 -0300)]
V4L/DVB (12366): ir-kbd-i2c: Allow use of ir-kdb-i2c internal get_key funcs and set ir_type

This patch augments the init data passed by bridge drivers to
ir-kbd-i2c, so that the ir_type can be set explicitly, and so
ir-kbd-i2c internal get_key functions can be reused without
requiring symbols from ir-kbd-i2c in the bridge driver.

Signed-off-by: Andy Walls <awalls@radix.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12365): ir-kbd-i2c: Remove superfulous inlines
Jean Delvare [Tue, 28 Jul 2009 14:41:35 +0000 (11:41 -0300)]
V4L/DVB (12365): ir-kbd-i2c: Remove superfulous inlines

Functions which are referenced by their address can't be inlined by
definition.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12360): au0828: fix typo: dvb uses bulk xfer, dont say isoc in debug
Michael Krufky [Mon, 27 Jul 2009 20:35:59 +0000 (17:35 -0300)]
V4L/DVB (12360): au0828: fix typo: dvb uses bulk xfer, dont say isoc in debug

The au0828-dvb driver uses bulk usb transfers for digital transport,
but the debug reports, "iso xfer already running!\n".

Fix this to report bulk instead of isoc.

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12358): gspca - main: Memorize the current alt before setting it
Jean-Francois Moine [Tue, 28 Jul 2009 07:38:25 +0000 (04:38 -0300)]
V4L/DVB (12358): gspca - main: Memorize the current alt before setting it

This prevents a loop if a permanent error occurs in usb_set_interface().

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12357): gspca - tv8532: Bad ISOC packet scan
Hans de Goede [Tue, 28 Jul 2009 07:28:45 +0000 (04:28 -0300)]
V4L/DVB (12357): gspca - tv8532: Bad ISOC packet scan

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12356): gspca - sonixj: Webcam 0c45:6148 added
Denis Loginov [Tue, 28 Jul 2009 06:39:10 +0000 (03:39 -0300)]
V4L/DVB (12356): gspca - sonixj: Webcam 0c45:6148 added

Signed-off-by: Denis Loginov <dinvlad@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12355): gspca - vc032x: Cleanup source
Jean-Francois Moine [Mon, 27 Jul 2009 09:28:37 +0000 (06:28 -0300)]
V4L/DVB (12355): gspca - vc032x: Cleanup source

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12354): gspca - vc032x: H and V flip controls added for mi13x0_soc sensors
Jean-Francois Moine [Mon, 27 Jul 2009 09:00:03 +0000 (06:00 -0300)]
V4L/DVB (12354): gspca - vc032x: H and V flip controls added for mi13x0_soc sensors

Also, H/V flip default values adjusted according to the webcam IDs.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12353): gspca - vc032x: Add the 1280x960 resolution for sensor mi1310_soc
Jean-Francois Moine [Mon, 27 Jul 2009 08:52:27 +0000 (05:52 -0300)]
V4L/DVB (12353): gspca - vc032x: Add the 1280x960 resolution for sensor mi1310_soc

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12352): gspca - vc032x: Fix mi1310_soc preview and LED
AceLan Kao [Mon, 27 Jul 2009 08:43:55 +0000 (05:43 -0300)]
V4L/DVB (12352): gspca - vc032x: Fix mi1310_soc preview and LED

The patches
gspca - vc032x: Add resolution 1280x1024 for sensor mi1310_soc.
gspca - vc032x: Webcam 041e:405b added and mi1310_soc updated.
will make the preview function not work, so I disable the 1280x1024 resolution
and revert back to the origin mi1310_soc settings.
And, using USB snoop tool on Windows to get the correct i2c commands to
turn on/off the LED flash.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12351): gspca - sn9c20x: Misc fixes
Brian Johnson [Thu, 23 Jul 2009 08:55:43 +0000 (05:55 -0300)]
V4L/DVB (12351): gspca - sn9c20x: Misc fixes

* use i2c_w instead of reg_w
* return error on failure
* read the correct number of bytes

Signed-off-by: Brian Johnson <brijohn@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12347): cx25840: Bugfix for no DVB-T on the Hauppauge HVR-1700
Steven Toth [Thu, 23 Jul 2009 15:18:54 +0000 (12:18 -0300)]
V4L/DVB (12347): cx25840: Bugfix for no DVB-T on the Hauppauge HVR-1700

After the i2c subdev changes the ordering of initialization changed,
causing a total loss of previous GPIO settings and a loss of DTV.
The generic firmware loading routine has now changed to preserve
GPIO values if the device is cx23885 based (safety) and I've
moved the GPIO configuration from probe() into the cx23885 init
func which is a little clearer and fixes the bug.

Tested-by: Sohail Syyed <linuxtv@hubstar.net>
Reviewed-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12345): em28xx: fix audio VIDIOC_S_CTRL adjustments on devices without ac97
Mauro Carvalho Chehab [Wed, 29 Jul 2009 04:42:02 +0000 (01:42 -0300)]
V4L/DVB (12345): em28xx: fix audio VIDIOC_S_CTRL adjustments on devices without ac97

Even devices without ac97 needs to call analog audio setup function, to
properly set xclk and mute/unmute.

Thanks to Angelo Cano <acano@fastmail.fm> for reporting and testing it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12343): Stop defining I2C adapter IDs nobody uses
Jean Delvare [Fri, 19 Jun 2009 19:56:56 +0000 (16:56 -0300)]
V4L/DVB (12343): Stop defining I2C adapter IDs nobody uses

There is no point in defining I2C adapter IDs when no code is using
them. As this field might go away in the future, stop using it when
we don't need to.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12342): af9015: avoid magically sized temporary buffer in eeprom_dump
Jan Nikitenko [Mon, 27 Jul 2009 22:05:19 +0000 (19:05 -0300)]
V4L/DVB (12342): af9015: avoid magically sized temporary buffer in eeprom_dump

Replace printing to magically sized temporary buffer with use
of KERN_CONT for continual printing of eeprom registers dump.

Since deb_info is defined as dprintk, which is conditionally defined
to printk without additional parameters, meaning that deb_info is equivalent
to direct printk (without adding KERN_ facility), we can use KERN_DEBUG and
KERN_CONT in there, eliminating the need for sprintf into temporary buffer
with not easily readable/magical size.

Though it's strange, that deb_info definition uses printk without KERN_
facility and callers don't use it either.

Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12336): ivtv: Fix improper GPIO audio mux input switch on video standard...
Andy Walls [Thu, 23 Jul 2009 00:24:53 +0000 (21:24 -0300)]
V4L/DVB (12336): ivtv: Fix improper GPIO audio mux input switch on video standard change

Remove the subdev_s_std() method from the GPIO subdev.  It appears it was
used in the past to effect the switch back from radio mode to tuner mode,
but it had a side effect that is improper and against the V4L2 spec, when
you were not in radio mode.  Whenever the video stanadrd was changed, the
GPIO audio mux was set back to the tuner audio input, even if you were set
to a Line In input.

Thanks to Ravi A. for doing the troubleshooting to point me right to the
problem.

Reported-by: Ravi A <asvravi@gmail.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12335): ivtv: Fix errors in AVerTV M113 card definitions and add a new M113...
Andy Walls [Thu, 23 Jul 2009 00:15:58 +0000 (21:15 -0300)]
V4L/DVB (12335): ivtv: Fix errors in AVerTV M113 card definitions and add a new M113 card

Tested-by: Ravi A. <asvravi@gmail.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12334): tuner-simple: Add an entry for the Partsnic PTI-5NF05 NTSC tuner
Andy Walls [Thu, 23 Jul 2009 00:02:44 +0000 (21:02 -0300)]
V4L/DVB (12334): tuner-simple: Add an entry for the Partsnic PTI-5NF05 NTSC tuner

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12332): Create card parameters array in SDMC DM1105 driver
Igor M. Liplianin [Wed, 22 Jul 2009 20:30:25 +0000 (17:30 -0300)]
V4L/DVB (12332): Create card parameters array in SDMC DM1105 driver

Create card parameters array in SDMC DM1105 driver.
It is useful for cards with the same pci id, but different
tuners, lnb power control circuits, etc.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12327): uvcvideo: Add PROBE_DEF quirk and enable it for the MT6227 device
Laurent Pinchart [Sun, 19 Jul 2009 21:39:56 +0000 (18:39 -0300)]
V4L/DVB (12327): uvcvideo: Add PROBE_DEF quirk and enable it for the MT6227 device

At least one MT6227 model crashes when receiving a GET_DEF request on the
video probe control. As the various models can't be told apart based on the
descriptors, add a PROBE_DEF quirk to avoid sending the GET_DEF request and
enable the quirk for all models.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12326): zr364xx: error message when buffer is too small and code cleanup
Lamarque Vieira Souza [Wed, 22 Jul 2009 19:54:51 +0000 (16:54 -0300)]
V4L/DVB (12326): zr364xx: error message when buffer is too small and code cleanup

. added code to print an error message when buffer is too small to hold frame
data, that is better than just a hard crash. Tested using MAX_FRAME_SIZE =
50000, lots of error messages appeared in /var/log/messages but no crash.

. removed line "f->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;" in
zr364xx_vidioc_try_fmt_vid_cap, it should not be there.

. changes to improve performance (or at least not hurt it): removed some
unneeded debug messages; added macro FULL_DEBUG to enable debug messages in
performance critical places, this macro is disabled by default; removed "if
(frm->lpvbits == NULL)..." in zr364xx_read_video_callback because after
analisying the source code I concluded it will always results to false, so it
is not needed.

. some small code reorganization.

Signed-off-by: Lamarque V. Souza <lamarque@gmail.com>
Signed-off-by: Antoine Jacquet <royale@zerezo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12325): Implement changing resolution on the fly for zr364xx driver
Lamarque Vieira Souza [Mon, 20 Jul 2009 23:46:42 +0000 (20:46 -0300)]
V4L/DVB (12325): Implement changing resolution on the fly for zr364xx driver

This patch implements changing resolution in zr364xx_vidioc_s_fmt_vid_cap for
zr364xx driver. This version is synced with v4l-dvb as of 20/Jul/2009. Tested
with Creative PC-CAM 880.

OBS: I had to increase MAX_FRAME_SIZE to prevent a hard crash in my notebook
(caps lock blinking) when testing with mplayer, which automatically sets
resolution to the maximum (640x480). Maybe we should add code to auto-detect
frame size to prevent this kind of crash in the future.

Signed-off-by: Lamarque V. Souza <lamarque@gmail.com>
Signed-off-by: Antoine Jacquet <royale@zerezo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12316): v4l: add V4L2_CAP_RDS_OUTPUT and V4L2_CAP_MODULATOR caps
Hans Verkuil [Sat, 20 Jun 2009 12:50:39 +0000 (09:50 -0300)]
V4L/DVB (12316): v4l: add V4L2_CAP_RDS_OUTPUT and V4L2_CAP_MODULATOR caps

Add capabilities to describe an FM transmitter device.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12314): cx23885: add CAM presence checkout
Igor M. Liplianin [Mon, 20 Jul 2009 15:27:27 +0000 (12:27 -0300)]
V4L/DVB (12314): cx23885: add CAM presence checkout

Add CAM presence checkout during CiMax init for NetUP card.

CAM presence checkout is needed after power on PC.

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12313): stv6110: Read registers through one time i2c_transfer calling
Igor M. Liplianin [Sun, 19 Jul 2009 21:21:38 +0000 (18:21 -0300)]
V4L/DVB (12313): stv6110: Read registers through one time i2c_transfer calling

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12312): stv0900: fix i2c repeater configuration must be set to manual
Abylay Ospan [Sun, 19 Jul 2009 21:15:45 +0000 (18:15 -0300)]
V4L/DVB (12312): stv0900: fix i2c repeater configuration must be set to manual

In automatic mode every stop event on SDA line ends repetition.
However, in  NetUP Dual card on the same i2c bus we have several devices.
If someone using both adapters to lock simultaneously or working with CAM interface
during lock procedure, it lead to end repetition prematurely quite often.
Set stv0900 i2c repeater to manual mode prevents such situation.

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12311): Change clocking configuration and frequency for NetUP card.
Abylay Ospan [Sun, 19 Jul 2009 21:06:00 +0000 (18:06 -0300)]
V4L/DVB (12311): Change clocking configuration and frequency for NetUP card.

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12310): stv6110 tuner: remove unused iq_wiring configuration parameter.
Igor M. Liplianin [Sun, 19 Jul 2009 20:57:29 +0000 (17:57 -0300)]
V4L/DVB (12310): stv6110 tuner: remove unused iq_wiring configuration parameter.

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12309): Add output clock configuration for stv6110 tuner.
Igor M. Liplianin [Sun, 19 Jul 2009 20:37:09 +0000 (17:37 -0300)]
V4L/DVB (12309): Add output clock configuration for stv6110 tuner.

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12307): cx23885: Modify hardware revision detection for newer silicon
Steven Toth [Mon, 20 Jul 2009 18:40:31 +0000 (15:40 -0300)]
V4L/DVB (12307): cx23885: Modify hardware revision detection for newer silicon

cx23885: Modify hardware revision detection for newer silicon

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12306): cx23885: Add support for ATSC/QAM on Hauppauge HVR-1850
Steven Toth [Mon, 20 Jul 2009 18:37:25 +0000 (15:37 -0300)]
V4L/DVB (12306): cx23885: Add support for ATSC/QAM on Hauppauge HVR-1850

cx23885: Add support for ATSC/QAM on Hauppauge HVR-1850

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12305): cx23885: Convert existing HVR1800 GPIO calls into new format
Steven Toth [Fri, 26 Jun 2009 02:50:39 +0000 (23:50 -0300)]
V4L/DVB (12305): cx23885: Convert existing HVR1800 GPIO calls into new format

... improves readability and routes the calls through a specific single point.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12304): cx23885: Remove hardcoded gpio bits from the encoder driver
Steven Toth [Fri, 26 Jun 2009 02:43:31 +0000 (23:43 -0300)]
V4L/DVB (12304): cx23885: Remove hardcoded gpio bits from the encoder driver

The encoder driver has hardcoded GPIO bits set for the HVR1800, regardless
of whether it's being used by a HVR1800 or not. I've implemented some generic
GPIO manipulation routines and I'm calling them only when appropriate.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2
Trent Piepho [Thu, 11 Jun 2009 22:31:22 +0000 (19:31 -0300)]
V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2

The dvb-pll code should do the same thing that
alps_tdee4_stv0297_tuner_set_params() was doing.  Except the dvb-pll code
will check for tuner presence when attaching, while the old code didn't.

This tuner appears to not be behind the stv0297's I2C gate but is instead
on a different I2C adapter provided by the flexcop chip.  The old code
would turn the I2C gate off each time the tuner was used.  I've changed it
to turn the gate off when the tuner is attached and then disable the gate
control function.  This should result in the gate staying off, which should
be even better.

[hverkuil@xs4all.nl: fix compile error]

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12293): b2c2: Use dvb-pll for Skystar2 rev 2.3 and rev 2.6
Trent Piepho [Thu, 11 Jun 2009 22:31:22 +0000 (19:31 -0300)]
V4L/DVB (12293): b2c2: Use dvb-pll for Skystar2 rev 2.3 and rev 2.6

The code in skystar23_samsung_tbdu18132_tuner_set_params() and
samsung_tbmu24112_tuner_set_params() is equivalent to what the dvb-pll code
does.  There could be an issue because the dvb-pll code will probe to check
for the tuner, while the previous code didn't do any checks.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12292): b2c2: Use dvb-pll for AirStar DVB-T's tuner
Trent Piepho [Thu, 11 Jun 2009 22:31:22 +0000 (19:31 -0300)]
V4L/DVB (12292): b2c2: Use dvb-pll for AirStar DVB-T's tuner

The code in samsung_tdtc9251dh0_calc_regs() is equivalent to what dvb-pll's
code does.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12290): dvb-pll: Add support for Alps TDEE4 DVB-C NIM
Trent Piepho [Thu, 11 Jun 2009 22:24:00 +0000 (19:24 -0300)]
V4L/DVB (12290): dvb-pll: Add support for Alps TDEE4 DVB-C NIM

No datasheet, data take from code in flexcop driver.  That code rounded
down the divisor rather than rounding to nearest, which was probably not
intentional and the dvb-pll code will round to nearest.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12289): dvb-pll: Add support for Samsung TBMU24112 DVB-S NIM
Trent Piepho [Thu, 11 Jun 2009 22:21:34 +0000 (19:21 -0300)]
V4L/DVB (12289): dvb-pll: Add support for Samsung TBMU24112 DVB-S NIM

Tuner parameters determined from code in flexcop driver.  That code rounded
the divisor down instead of to the nearest value.  This was probably not
intentional and the dvb-pll version will round to nearest.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12288): dvb-pll: Add support for Samsung TBDU18132 DVB-S NIM
Trent Piepho [Thu, 11 Jun 2009 22:21:34 +0000 (19:21 -0300)]
V4L/DVB (12288): dvb-pll: Add support for Samsung TBDU18132 DVB-S NIM

Tuner parameters taken from flexcop driver.  This PLL has a 17 bit divisor
while the dvb-pll driver is designed for 15 bit divisors.  It's not a
problem as 15 bits is enough for the tuner's entire range.  But if a larger
range was wanted, it could be done by adding additional bands with the
extra divisor bits appearing as band switch bits.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12287): dvb-pll: Add Samsung TDTC9251DH0 DVB-T NIM
Trent Piepho [Thu, 11 Jun 2009 22:21:34 +0000 (19:21 -0300)]
V4L/DVB (12287): dvb-pll: Add Samsung TDTC9251DH0 DVB-T NIM

No datasheet, tuner data comes from code in flexcop driver.  This tuner is
also used on the AVerTV 771 supported by the bttv driver, but that code
uses a different tuner configuration, which is surprising.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12281): gspca - sunplus: Webcam 052b:1803 added.
Johannes Goerner [Thu, 9 Jul 2009 06:28:46 +0000 (03:28 -0300)]
V4L/DVB (12281): gspca - sunplus: Webcam 052b:1803 added.

Signed-off-by: Johannes Goerner <johannes-goerner@gmx.de>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12280): gspca - sonixj: Remove auto gain/wb/expo for the ov7660 sensor.
Jean-Francois Moine [Wed, 8 Jul 2009 09:33:44 +0000 (06:33 -0300)]
V4L/DVB (12280): gspca - sonixj: Remove auto gain/wb/expo for the ov7660 sensor.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12278): zr364xx: implement V4L2_CAP_STREAMING
Lamarque Vieira Souza [Wed, 15 Jul 2009 23:54:55 +0000 (20:54 -0300)]
V4L/DVB (12278): zr364xx: implement V4L2_CAP_STREAMING

This patch implements V4L2_CAP_STREAMING for the zr364xx driver, by
converting the driver to use videobuf. This version is synced with v4l-dvb as
of 15/Jul/2009.

Tested with Creative PC-CAM 880.

It basically:
. implements V4L2_CAP_STREAMING using videobuf;

. re-implements V4L2_CAP_READWRITE using videobuf;

. copies cam->udev->product to the card field of the v4l2_capability struct.
That gives more information to the users about the webcam;

. moves the brightness setting code from before requesting a frame (in
read_frame) to the vidioc_s_ctrl ioctl. This way the brightness code is
executed only when the application requests a change in brightness and
not before every frame read;

. comments part of zr364xx_vidioc_try_fmt_vid_cap that says that Skype +
libv4l do not work.

This patch fixes zr364xx for applications such as mplayer,
Kopete+libv4l and Skype+libv4l can make use of the webcam that comes
with zr364xx chip.

Signed-off-by: Lamarque V. Souza <lamarque@gmail.com>
Signed-off-by: Antoine Jacquet <royale@zerezo.com>
[mchehab@redhat.com: fix the lack of linux/version.h]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12276): Remove a useless check from dvb_dmx_swfilter_packet()
Andreas Oberritter [Tue, 14 Jul 2009 23:48:37 +0000 (20:48 -0300)]
V4L/DVB (12276): Remove a useless check from dvb_dmx_swfilter_packet()

Values for 'pid' range from 0 to 0x1fff. Therefore 'feed->pid' can never
be equal to both 'pid' and 0x2000. This makes the continue statement have
no effect.

Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12275): Add two new ioctls: DMX_ADD_PID and DMX_REMOVE_PID
Andreas Oberritter [Tue, 14 Jul 2009 23:28:50 +0000 (20:28 -0300)]
V4L/DVB (12275): Add two new ioctls: DMX_ADD_PID and DMX_REMOVE_PID

DMX_ADD_PID allows to add multiple PIDs to a transport stream filter
previously set up with DMX_SET_PES_FILTER and output=DMX_OUT_TSDEMUX_TAP.

DMX_REMOVE_PID is used to drop a PID from a filter.

These ioctls are to be used by readers of /dev/dvb/adapterX/demuxY. They
may be called at any time, i.e. before or after the first filter on the
shared file descriptor was started.

They make it possible to record multiple services without the need to de-
or re-multiplex TS packets.

To accomplish this, dmxdev_filter->feed.ts has been converted to a list
of struct dmxdev_feeds, each containing a PID value and a pointer to a
struct dmx_ts_feed.

Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12274): em28xx-video: better implement ac97 control ioctls
Mauro Carvalho Chehab [Sun, 19 Jul 2009 13:45:49 +0000 (10:45 -0300)]
V4L/DVB (12274): em28xx-video: better implement ac97 control ioctls

In the past, some devices with saa711x had their parameters controlled
directly inside em28xx driver, instead of using their proper module for
it.

Due to that, the ac97 controls were mixed with saa711x ones.

Older patches removed all saa711x controls, but we still need to control
ac97 devices on em28xx, since we don't have a separate v4l2 device for
it.

The proper way to address is to create a separate ac97 v4l2 device.
While we don't have it, we should clean up the code to allow having a
better view of what is part of em28xx core code and what's due to ac97
control inside it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12273): em28xx-video: rename ac97 audio controls to better document it
Mauro Carvalho Chehab [Sun, 19 Jul 2009 12:10:06 +0000 (09:10 -0300)]
V4L/DVB (12273): em28xx-video: rename ac97 audio controls to better document it

As em28xx chip has nothing to do with volume/mute controls, rename those
controls to properly indicate that they control the companion AC97 chip
that it is inside the boards with this chip.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12272): cx23885: add card Magic-Pro ProHDTV Extreme 2
David Wong [Wed, 17 Jun 2009 04:38:12 +0000 (01:38 -0300)]
V4L/DVB (12272): cx23885: add card Magic-Pro ProHDTV Extreme 2

cx23885: add card Magic-Pro  ProHDTV Extreme 2 PCI-E.

Signed-off-by: David T.L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12271): lgs8gxx: add lgs8g75 support
David Wong [Wed, 17 Jun 2009 04:38:10 +0000 (01:38 -0300)]
V4L/DVB (12271): lgs8gxx: add lgs8g75 support

lgs8gxx: add lgs8g75 demodulator support

Signed-off-by: David T.L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12231): gspca - main: Version change.
Jean-Francois Moine [Tue, 7 Jul 2009 07:13:23 +0000 (04:13 -0300)]
V4L/DVB (12231): 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 (12230): gspca - t613: Change tas5130a init sequences.
Jean-Francois Moine [Tue, 7 Jul 2009 07:03:24 +0000 (04:03 -0300)]
V4L/DVB (12230): gspca - t613: Change tas5130a init sequences.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12229): gspca - main: Change the ISOC initialization mechanism.
Jean-Francois Moine [Tue, 30 Jun 2009 10:07:01 +0000 (07:07 -0300)]
V4L/DVB (12229): gspca - main: Change the ISOC initialization mechanism.

- call a new subdriver function 'isoc_init' before chosing the first
  alternate setting.
- call a new subdriver function 'isoc_nego' when submitting the URBs failed.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12228): gspca - vc032x: Webcam 0ac8:c301 added.
Jean-Francois Moine [Sat, 27 Jun 2009 08:33:48 +0000 (05:33 -0300)]
V4L/DVB (12228): gspca - vc032x: Webcam 0ac8:c301 added.

Only the back sensor (mi1320_soc) is usable.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12227): gspca - pac7311: Webcam 093a:2629 added.
Jean-Francois Moine [Sat, 20 Jun 2009 07:58:57 +0000 (04:58 -0300)]
V4L/DVB (12227): gspca - pac7311: Webcam 093a:2629 added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12226): gspca - spca508: Extend the write_vector routine.
Jean-Francois Moine [Fri, 12 Jun 2009 06:49:39 +0000 (03:49 -0300)]
V4L/DVB (12226): gspca - spca508: Extend the write_vector routine.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12218): radio-si470x: conform to the RDS spec.
Hans Verkuil [Sat, 20 Jun 2009 09:25:14 +0000 (06:25 -0300)]
V4L/DVB (12218): radio-si470x: conform to the RDS spec.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12217): radio-cadet: conform to the RDS spec.
Hans Verkuil [Sat, 20 Jun 2009 09:19:09 +0000 (06:19 -0300)]
V4L/DVB (12217): radio-cadet: conform to the RDS spec.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12216): saa7134: set RDS capability if applicable.
Hans Verkuil [Sat, 20 Jun 2009 09:09:52 +0000 (06:09 -0300)]
V4L/DVB (12216): saa7134: set RDS capability if applicable.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12215): saa6588: conform to the final RDS spec.
Hans Verkuil [Sat, 20 Jun 2009 09:09:14 +0000 (06:09 -0300)]
V4L/DVB (12215): saa6588: conform to the final RDS spec.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12214): bttv: set RDS capability if applicable.
Hans Verkuil [Sat, 20 Jun 2009 09:09:33 +0000 (06:09 -0300)]
V4L/DVB (12214): bttv: set RDS capability if applicable.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12212): v4l2: add RDS API to videodev2.h
Hans Verkuil [Sat, 20 Jun 2009 08:37:27 +0000 (05:37 -0300)]
V4L/DVB (12212): v4l2: add RDS API to videodev2.h

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12210): ivtv: Fix automatic detection of AVerMedia UltraTV 1500MCE.
Andy Walls [Sun, 5 Jul 2009 18:13:56 +0000 (15:13 -0300)]
V4L/DVB (12210): ivtv: Fix automatic detection of AVerMedia UltraTV 1500MCE.

My initial change left the AVerMedia UtlraTV 1500MCE card entry out of the
list of cards to check during the probe.  This change adds it to the
ivtv_card_list[].

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12209): ivtv: Add card entry for AVerMedia UltraTV 1500 MCE (M113 variant)
Andy Walls [Fri, 3 Jul 2009 02:08:59 +0000 (23:08 -0300)]
V4L/DVB (12209): ivtv: Add card entry for AVerMedia UltraTV 1500 MCE (M113 variant)

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12207): cx18: Add an EEPROM dump routine for the Yuan MPC718 and future...
Andy Walls [Sun, 5 Jul 2009 20:09:28 +0000 (17:09 -0300)]
V4L/DVB (12207): cx18: Add an EEPROM dump routine for the Yuan MPC718 and future cards

Add a routine for dumping the EEPROM of the MPC718.  It is generic enough
to use for other cards in the future that may have an EEPROM.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12204): bttv and meye: Use PCI_VDEVICE
Joe Perches [Sun, 5 Jul 2009 18:59:21 +0000 (15:59 -0300)]
V4L/DVB (12204): bttv and meye: Use PCI_VDEVICE

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12200): mt312: Fix checkpatch warnings
Matthias Schwarzott [Thu, 2 Jul 2009 19:17:28 +0000 (16:17 -0300)]
V4L/DVB (12200): mt312: Fix checkpatch warnings

This patch fixes some checkpatch warnings in mt312-driver.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12199): remove redundant tests on unsigned
Roel Kluin [Thu, 2 Jul 2009 19:09:25 +0000 (16:09 -0300)]
V4L/DVB (12199): remove redundant tests on unsigned

input, inp and i are unsigned. When negative they are wrapped and caught by the
other test.

Cc: Andy Walls <awalls@radix.net>
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12198): ivtv-driver.c: Remove unnecessary semicolons
Joe Perches [Thu, 2 Jul 2009 19:02:20 +0000 (16:02 -0300)]
V4L/DVB (12198): ivtv-driver.c: Remove unnecessary semicolons

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (12197): Remove unnecessary semicolons
Joe Perches [Thu, 2 Jul 2009 18:57:09 +0000 (15:57 -0300)]
V4L/DVB (12197): Remove unnecessary semicolons

Cc: Patrick Boettcher <patrick.boettcher@desy.de>
Cc: Steven Toth <stoth@linuxtv.org>
Cc: Igor M. Liplianin <liplianin@netup.ru>
Cc: Srinivasa Deevi <srinivasa.deevi@conexant.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>