]> git.karo-electronics.de Git - linux-beck.git/log
linux-beck.git
15 years agoV4L/DVB (11710): gspca - main: Webcams cannot do both isoc and bulk image transfers.
Jean-Francois Moine [Tue, 21 Apr 2009 16:45:56 +0000 (13:45 -0300)]
V4L/DVB (11710): gspca - main: Webcams cannot do both isoc and bulk image transfers.

Let the subdrivers to set the 'image transfer by bulk' flag.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11709): gspca - zc3xx: Bad debug level in i2c_read
Jean-Francois Moine [Tue, 7 Apr 2009 08:30:31 +0000 (05:30 -0300)]
V4L/DVB (11709): gspca - zc3xx: Bad debug level in i2c_read

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11708): gspca - main: Version change.
Jean-Francois Moine [Tue, 21 Apr 2009 07:17:59 +0000 (04:17 -0300)]
V4L/DVB (11708): 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 (11705): soc-camera: prepare for the platform driver conversion
Guennadi Liakhovetski [Thu, 7 May 2009 16:25:32 +0000 (13:25 -0300)]
V4L/DVB (11705): soc-camera: prepare for the platform driver conversion

Add a platform driver to soc_camera.c. This way we preserve backwards
compatibility with existing platforms and can start converting them one by one
to the new platform-device soc-camera interface.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11703): cx18: Have audio decoder drive SIF gain control, and rework AFE...
Andy Walls [Sun, 3 May 2009 21:01:57 +0000 (18:01 -0300)]
V4L/DVB (11703): cx18: Have audio decoder drive SIF gain control, and rework AFE config

Ensure the variable gain amplifier gain for SIF is driven by the audio deocder
and not the video decoder.  This forced rework of the analog front end (AFE)
configuration to not rely on autoconfiguration, but instead set up the AFE mux,
AFE parameters, and ADC1 & ADC2 configurations explicitly.

Reported-by: Helen Buus <mythtv@hbuus.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11699): pvrusb2: Ensure we specify the I/F at attach time
Steven Toth [Sat, 2 May 2009 14:09:08 +0000 (11:09 -0300)]
V4L/DVB (11699): pvrusb2: Ensure we specify the I/F at attach time

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11698): cx23885: For tda10048 boards ensure we specify the I/F
Steven Toth [Sat, 2 May 2009 14:08:23 +0000 (11:08 -0300)]
V4L/DVB (11698): cx23885: For tda10048 boards ensure we specify the I/F

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11697): tda10048: Add ability to select I/F at attach time.
Steven Toth [Sat, 2 May 2009 14:07:29 +0000 (11:07 -0300)]
V4L/DVB (11697): tda10048: Add ability to select I/F at attach time.

tda10048: Add ability to select I/F at attach time.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11695): gspca - stv06xx-vv6410: Set analog gain at init
Erik Andrén [Sun, 3 May 2009 18:51:36 +0000 (15:51 -0300)]
V4L/DVB (11695): gspca - stv06xx-vv6410: Set analog gain at init

Set the analog gain at sensor init. Also set a sensible default value.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11694): gspca - stv06xx-vv6410: No need to double set gain and exposure
Erik Andrén [Fri, 3 Apr 2009 20:16:42 +0000 (17:16 -0300)]
V4L/DVB (11694): gspca - stv06xx-vv6410: No need to double set gain and exposure

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11693): gspca - stv06xx-vv6410: Add exposure ctrl
Erik Andrén [Sun, 3 May 2009 18:45:48 +0000 (15:45 -0300)]
V4L/DVB (11693): gspca - stv06xx-vv6410: Add exposure ctrl

Add the possibility to control the exposure on the vv6410 sensor

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11692): gspca - m5602: Checkpatch.pl fixes
Erik Andrén [Sun, 3 May 2009 18:31:55 +0000 (15:31 -0300)]
V4L/DVB (11692): gspca - m5602: Checkpatch.pl fixes

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11691): gspca - m5602-ov9650: Add ASUS A6K vflip quirk
Erik Andrén [Tue, 10 Mar 2009 19:45:57 +0000 (16:45 -0300)]
V4L/DVB (11691): gspca - m5602-ov9650: Add ASUS A6K vflip quirk

The ASUS A6K needs the vflip quirk. Thanks to Marco Baldo for reporting
the issue.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11690): gspca - m5602-s5k4aa: Add vflip quirk for the MSI L735
Erik Andrén [Thu, 12 Feb 2009 19:36:05 +0000 (16:36 -0300)]
V4L/DVB (11690): gspca - m5602-s5k4aa: Add vflip quirk for the MSI L735

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11689): gspca - m5602-s5k4aa: Fixup the vflip/hflip
Grégory Lardière [Thu, 12 Feb 2009 06:40:29 +0000 (03:40 -0300)]
V4L/DVB (11689): gspca - m5602-s5k4aa: Fixup the vflip/hflip

Ensure that the hflip and vflip is consistent when the sensor needs to
be vflip quirked or not.

Signed-off-by: Grégory Lardière <spmf2004-m560x@yahoo.fr>
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11688): gspca - m5602-s5k4aa: Fixup SXGA resolution.
Grégory Lardière [Thu, 12 Feb 2009 06:32:52 +0000 (03:32 -0300)]
V4L/DVB (11688): gspca - m5602-s5k4aa: Fixup SXGA resolution.

The SXGA resolution doesn't work unless you first force the VGA resolution.
More investigation is needed in order to fix this the "right" way.

Signed-off-by: Grégory Lardière <spmf2004-m560x@yahoo.fr>
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11687): gspca - m5602-ov9650: Add missing v4l2 ctrl ids
Erik Andrén [Mon, 2 Feb 2009 19:08:06 +0000 (16:08 -0300)]
V4L/DVB (11687): gspca - m5602-ov9650: Add missing v4l2 ctrl ids

Red and blue balance missed their id fields

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11686): gspca - m5602-s5k4aa: Disable SXGA resolution for now
Erik Andrén [Mon, 2 Feb 2009 18:56:39 +0000 (15:56 -0300)]
V4L/DVB (11686): gspca - m5602-s5k4aa: Disable SXGA resolution for now

SXGA resolution needs more testing. Disable it for now

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11685): gspca - gspca-m5602: Constify parameters of two functions
Erik Andrén [Mon, 2 Feb 2009 06:51:20 +0000 (03:51 -0300)]
V4L/DVB (11685): gspca - gspca-m5602: Constify parameters of two functions

A number of parameters to some functions in the m5602 are constant and should be flagged as such.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11684): gspca - m5602-s5k4aa: Add experimental SXGA support
Erik Andrén [Thu, 29 Jan 2009 16:34:41 +0000 (13:34 -0300)]
V4L/DVB (11684): gspca - m5602-s5k4aa: Add experimental SXGA support

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11682): STV0900/STV0903: Add support for Silicon cut >= 3
Manu Abraham [Sat, 2 May 2009 21:26:58 +0000 (18:26 -0300)]
V4L/DVB (11682): STV0900/STV0903: Add support for Silicon cut >= 3

1. Support Silicon Cut >= 3.0
2. Remove support for obsolete cuts: 1.0. 1.1. 1.2
3. Try to catch more error cases

Driver doesn't now attach to obsolete silcon cuts, It just simply quits.
Results in code simplification, with removal of the obsolete cuts.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11673): v4l2-device: unregister i2c_clients when unregistering the v4l2_device.
Hans Verkuil [Sat, 2 May 2009 13:58:51 +0000 (10:58 -0300)]
V4L/DVB (11673): v4l2-device: unregister i2c_clients when unregistering the v4l2_device.

Until now I relied on i2c_del_adapter to unregister the i2c_clients for
me, however, if the i2c bus is a platform bus then it is never deleted.

So instead I need to unregister i2c clients when unregistering the
v4l2_device.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11672): ivtv: use v4l2_device_set_name.
Hans Verkuil [Sat, 2 May 2009 13:15:17 +0000 (10:15 -0300)]
V4L/DVB (11672): ivtv: use v4l2_device_set_name.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11671): v4l2: add v4l2_device_set_name()
Hans Verkuil [Sat, 2 May 2009 13:12:50 +0000 (10:12 -0300)]
V4L/DVB (11671): v4l2: add v4l2_device_set_name()

Add a utility function that can be used to setup the v4l2_device's name
field in a standard manner.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11670): tuner: remove tuner_i2c_address_check
Hans Verkuil [Sat, 2 May 2009 12:42:57 +0000 (09:42 -0300)]
V4L/DVB (11670): tuner: remove tuner_i2c_address_check

Support for tuners with i2c addresses >= 0x65 is dropped since no tuners
with addresses in the range 0x65-0x6f have been found.

This patch removes addresses 0x65-0x6f from the list of tuner probe addresses,
it removes the kernel warning that warned if addresses in this range appeared,
and it removed a hack for the cx88 that is no longer needed now that the
tuner address range is reduced.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11666): cx23885: Don't assume GPIO interrupts are cam related.
Steven Toth [Wed, 29 Apr 2009 23:49:12 +0000 (20:49 -0300)]
V4L/DVB (11666): cx23885: Don't assume GPIO interrupts are cam related.

cx23885: Don't assume GPIO interrupts are cam related.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11665): cx88: Add support for the Hauppauge IROnly board.
Steven Toth [Sat, 28 Mar 2009 17:22:21 +0000 (14:22 -0300)]
V4L/DVB (11665): cx88: Add support for the Hauppauge IROnly board.

cx88: Add support for the Hauppauge IROnly board.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11663): Fix a warning introduced by git commit ec5f5bf80501abfe2da2897cfcde8...
Mauro Carvalho Chehab [Tue, 5 May 2009 09:39:21 +0000 (06:39 -0300)]
V4L/DVB (11663): Fix a warning introduced by git commit ec5f5bf80501abfe2da2897cfcde8452b545aacb

/home/v4l/master/v4l/radio-si470x.c: In function 'si470x_fops_release':
/home/v4l/master/v4l/radio-si470x.c:1218: warning: label 'unlock' defined but not used

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11654a): Add a missing end of line at the end of gspca/m5602/Makefile
Mauro Carvalho Chehab [Wed, 29 Apr 2009 21:03:27 +0000 (18:03 -0300)]
V4L/DVB (11654a): Add a missing end of line at the end of gspca/m5602/Makefile

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11654): gspca - m5602: Storage class should be before const qualifier
Tobias Klauser [Sun, 26 Apr 2009 12:30:18 +0000 (09:30 -0300)]
V4L/DVB (11654): gspca - m5602: Storage class should be before const qualifier

The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature.

[mchehab@redhat.com: Fix a trivial merge conflict]
Cc: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11650): gspca - m5602: Sort out macro conflict by adding a prefix
Erik Andrén [Wed, 28 Jan 2009 16:14:34 +0000 (13:14 -0300)]
V4L/DVB (11650): gspca - m5602: Sort out macro conflict by adding a prefix

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11649): gspca - m5602: Probe the ov7660 sensor
Erik Andrén [Mon, 27 Apr 2009 18:41:45 +0000 (15:41 -0300)]
V4L/DVB (11649): gspca - m5602: Probe the ov7660 sensor

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11648): gspca - m5602: Remove some needless error checking and add comments
Erik Andrén [Wed, 28 Jan 2009 07:02:49 +0000 (04:02 -0300)]
V4L/DVB (11648): gspca - m5602: Remove some needless error checking and add comments

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11647): gspca - m5602-po1030: Disable QVGA for now
Erik Andrén [Wed, 28 Jan 2009 06:34:02 +0000 (03:34 -0300)]
V4L/DVB (11647): gspca - m5602-po1030: Disable QVGA for now

Getting QVGA to be supported on the po1030 seems harder than I first thought. I need access to the proper hardware in order to fix it up.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11646): gspca - m5602-mt9m111: Disable QVGA until it has been verified to...
Erik Andrén [Wed, 28 Jan 2009 06:29:51 +0000 (03:29 -0300)]
V4L/DVB (11646): gspca - m5602-mt9m111: Disable QVGA until it has been verified to work

The QVGA resolution currently hasn't been verified to work. Disable it for now.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11645): gspca - m5602-ov9650: Add image flip quirk for the ASUS A6VA
Johannes Klug [Sun, 25 Jan 2009 18:25:44 +0000 (15:25 -0300)]
V4L/DVB (11645): gspca - m5602-ov9650: Add image flip quirk for the ASUS A6VA

Signed-off-by: Johannes Klug <jklug@joyware.de>
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11644): gspca - m5602-s5k4aa: Remove some unneeded init code.
Erik Andrén [Sun, 25 Jan 2009 14:45:35 +0000 (11:45 -0300)]
V4L/DVB (11644): gspca - m5602-s5k4aa: Remove some unneeded init code.

Remove some redundant init from the s5k4aa. All these registers are programmed again later in the init phase

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11643): gspca - m5602: Add the ov7660 to the module parameter description.
Erik Andrén [Sun, 25 Jan 2009 13:19:26 +0000 (10:19 -0300)]
V4L/DVB (11643): gspca - m5602: Add the ov7660 to the module parameter description.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11642): gspca - m5602-ov7660: Add a gain ctrl
Erik Andrén [Thu, 22 Jan 2009 07:04:59 +0000 (04:04 -0300)]
V4L/DVB (11642): gspca - m5602-ov7660: Add a gain ctrl

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11641): gspca - m5602-ov7660: Remove useless init data
Erik Andrén [Thu, 22 Jan 2009 06:57:30 +0000 (03:57 -0300)]
V4L/DVB (11641): gspca - m5602-ov7660: Remove useless init data

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11640): gspca - m5602-s5k4aa: Flip hflip and vflip together
Erik Andrén [Thu, 22 Jan 2009 06:51:40 +0000 (03:51 -0300)]
V4L/DVB (11640): gspca - m5602-s5k4aa: Flip hflip and vflip together

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11639): gspca - m5602-mt9m111: Correct the hflip/vflip semantics
Erik Andrén [Thu, 22 Jan 2009 06:32:32 +0000 (03:32 -0300)]
V4L/DVB (11639): gspca - m5602-mt9m111: Correct the hflip/vflip semantics

mt9m111: Hflip and vflip shall always be 0 at start and the image shall be correctly aligned.
The mt9m111 is hflipped and vflipped by default. Correct the semantics to make this happen.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11638): gspca - m5602-ov7660: Make an educated guess on the proper hsync...
Erik Andrén [Wed, 21 Jan 2009 16:46:58 +0000 (13:46 -0300)]
V4L/DVB (11638): gspca - m5602-ov7660: Make an educated guess on the proper hsync/vsync

Based on how the ov9650 is configured, make an educated guess on the hsync/vsync setup for the ov7660

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11637): gspca - m5602-ov7660: Design init function.
Erik Andrén [Wed, 21 Jan 2009 16:43:20 +0000 (13:43 -0300)]
V4L/DVB (11637): gspca - m5602-ov7660: Design init function.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11636): gspca - m5602-ov7660: Design probe function
Erik Andrén [Wed, 21 Jan 2009 16:39:17 +0000 (13:39 -0300)]
V4L/DVB (11636): gspca - m5602-ov7660: Design probe function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11635): gspca - m5602-ov7660: Initial checkin of sensor skeleton code
Erik Andrén [Wed, 21 Jan 2009 16:28:31 +0000 (13:28 -0300)]
V4L/DVB (11635): gspca - m5602-ov7660: Initial checkin of sensor skeleton code

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11634): gspca - m5602-s5k83a: Set the sensor_settings pointer correctly
Lukas Karas [Wed, 21 Jan 2009 16:14:07 +0000 (13:14 -0300)]
V4L/DVB (11634): gspca - m5602-s5k83a: Set the sensor_settings pointer correctly

Signed-off-by: Lukas Karas <lukas.karas@centrum.cz>
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11633): gspca - m5602-s5k83a: Move hsync/vsync setup to start function
Erik Andrén [Wed, 21 Jan 2009 06:33:14 +0000 (03:33 -0300)]
V4L/DVB (11633): gspca - m5602-s5k83a: Move hsync/vsync setup to start function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11632): gspca - m5602-s5k83a: Reset the v4l2 ctrl cache upon sensor init
Erik Andrén [Mon, 27 Apr 2009 18:38:05 +0000 (15:38 -0300)]
V4L/DVB (11632): gspca - m5602-s5k83a: Reset the v4l2 ctrl cache upon sensor init

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11631): gspca - m5602: Remove useless error check
Erik Andrén [Wed, 21 Jan 2009 06:43:49 +0000 (03:43 -0300)]
V4L/DVB (11631): gspca - m5602: Remove useless error check

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11630): gspca - s5k83a: Add resolution annotations
Erik Andrén [Tue, 20 Jan 2009 18:15:25 +0000 (15:15 -0300)]
V4L/DVB (11630): gspca - s5k83a: Add resolution annotations

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11629): gspca - m5602-s5k83a: Move some init code around
Erik Andrén [Tue, 20 Jan 2009 18:10:17 +0000 (15:10 -0300)]
V4L/DVB (11629): gspca - m5602-s5k83a: Move some init code around

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11628): gspca - m5602-s5k83a: Remove more init
Erik Andrén [Tue, 20 Jan 2009 18:07:54 +0000 (15:07 -0300)]
V4L/DVB (11628): gspca - m5602-s5k83a: Remove more init

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11624): cx18: Toggle the AI1 mux when changing the CX18_AUDIO_ENABLE register
Andy Walls [Sun, 26 Apr 2009 21:46:14 +0000 (18:46 -0300)]
V4L/DVB (11624): cx18: Toggle the AI1 mux when changing the CX18_AUDIO_ENABLE register

Toggle the AI1 mux when changing the CX18_AUDIO_ENABLE register.  It's hard to
reliably tell when we have written to this register successfully unless we
change some bits we know we can read back.  The AI mux bits always read back
what we wrote to them, so force them to toggle whenever we have to write to
the register, so we can tell we wrote to the register successfully.

This change was prompted by users experiencing broadcast audio decoding
problems after the cx18 module loads for the first time.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11623): cx18: Verify cx18-av-core digitizer firmware loads correctly
Andy Walls [Sun, 26 Apr 2009 20:02:25 +0000 (17:02 -0300)]
V4L/DVB (11623): cx18: Verify cx18-av-core digitizer firmware loads correctly

Add code to verify the cx18-av-core digitizer firmware loads correctly.  The
verification function reads back and compares the firmware bytes loaded
into the A/V core.  The result of the verification is only used to log a
message in the system log.

This change was prompted by users with multiple card setups that have problems
with broadcast audio decoding the first time the cx18 module is loaded.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11622): cx18: Allow IVTV format VBI insertion in MPEG-2 SVCD and DVD streams
Andy Walls [Sun, 26 Apr 2009 19:34:36 +0000 (16:34 -0300)]
V4L/DVB (11622): cx18: Allow IVTV format VBI insertion in MPEG-2 SVCD and DVD streams

Both the MPEG-2 SVCD stream format and the MPEG-2 DVD stream format should
use an MPEG-2 PS container.  This makes it safe to stuff IVTV Private Stream 1
VBI packets in these stream types using the existing cx18 driver routines.

Reported-by: Helen Buus <mythtv@hbuus.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11620): cx18: Increment version due to significant buffer handling changes
Andy Walls [Wed, 15 Apr 2009 23:49:19 +0000 (20:49 -0300)]
V4L/DVB (11620): cx18: Increment version due to significant buffer handling changes

Version bump from 1.1.0 to 1.2.0

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11619): cx18: Simplify the work handler for outgoing mailbox commands
Andy Walls [Wed, 15 Apr 2009 23:45:10 +0000 (20:45 -0300)]
V4L/DVB (11619): cx18: Simplify the work handler for outgoing mailbox commands

Simplify the way outgoing work handler gets scheduled to send empty buffers
back to the firmware for use.  Also reduced the memory required for scheduling
this outgoing work, by using a single, per stream work object.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11618): cx18: Convert per stream mutex locks to per queue spin locks
Andy Walls [Tue, 14 Apr 2009 02:08:00 +0000 (23:08 -0300)]
V4L/DVB (11618): cx18: Convert per stream mutex locks to per queue spin locks

To avoid sleeps in providing buffers to user space and in handling incoming
buffers from the capture unit, converted the per stream mutex for locking
queues to 3 spin locks.  There is now a spin lock per queue
to increase concurrency when moving buffers around.

Also simplified queue manipulations and buffer handling of incoming buffers
of data from the capture unit.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11617): cx18: Set up to wait for a one-shot response before sending a firmwa...
Andy Walls [Tue, 14 Apr 2009 01:53:09 +0000 (22:53 -0300)]
V4L/DVB (11617): cx18: Set up to wait for a one-shot response before sending a firmware cmd

When sending an outgoing firmware command, prepare to wait before we raise the
interrupt, so we don't miss the wake_up() on the acknowledgment.  When waiting
for the acknowledgement, there is no need to loop around schedule(), as there
will only be one interrupt, and hence one wake_up(), issued.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11616): cx18: Add a work queue for deferring empty buffer handoffs to the...
Andy Walls [Tue, 14 Apr 2009 01:42:43 +0000 (22:42 -0300)]
V4L/DVB (11616): cx18: Add a work queue for deferring empty buffer handoffs to the firmware

This change defers sending all CX18_CPU_DE_SET_MDL commands, for a stream with
an ongoing capture, by adding a work queue to handle sending such commands when
needed.  This prevents any sleeps, caused by notifying the firmware of new
usable buffers, when a V4L2 application read() is being satisfied or when
an incoming buffer is processed by the cx18-NN-in work queue thread.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11615): cx18: Rename the work queue to "in_work_queue"
Andy Walls [Tue, 14 Apr 2009 01:22:40 +0000 (22:22 -0300)]
V4L/DVB (11615): cx18: Rename the work queue to "in_work_queue"

Rename the work queue to "in_work_queue" to indicate it is handling
incoming mailbox commands.  This is preparation for adding a work queue
for handling deferrable outgoing mailbox commands.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11613): pxa_camera: Documentation of the FSM
Robert Jarzmik [Fri, 24 Apr 2009 15:58:35 +0000 (12:58 -0300)]
V4L/DVB (11613): pxa_camera: Documentation of the FSM

After DMA redesign, the pxa_camera dynamic behaviour should
be documented so that future contributors understand how it
works, and improve it.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11611): soc-camera: link host drivers after clients
Guennadi Liakhovetski [Fri, 24 Apr 2009 15:57:42 +0000 (12:57 -0300)]
V4L/DVB (11611): soc-camera: link host drivers after clients

With the transition of soc-camera to become a platform driver and to the
v4l2-subdev framework the initialisation order becomes important. In case
of a static build clients (i2c) drivers have to be available when host
drivers are probed. Moving host drivers down in the Makefile achieves the
desired order.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11610): soc-camera: simplify register access routines in multiple sensor...
Guennadi Liakhovetski [Fri, 24 Apr 2009 15:57:01 +0000 (12:57 -0300)]
V4L/DVB (11610): soc-camera: simplify register access routines in multiple sensor drivers

Register access routines only need the I2C client, not the soc-camera device
context.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11609): soc-camera: remove an extra device generation from struct soc_camera...
Guennadi Liakhovetski [Fri, 24 Apr 2009 15:55:48 +0000 (12:55 -0300)]
V4L/DVB (11609): soc-camera: remove an extra device generation from struct soc_camera_host

Make camera devices direct children of host platform devices, move the
inheritance management into the soc_camera.c core driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11608): soc-camera: host-driver cleanup
Guennadi Liakhovetski [Fri, 24 Apr 2009 15:55:18 +0000 (12:55 -0300)]
V4L/DVB (11608): soc-camera: host-driver cleanup

Embed struct soc_camera_host in platform-specific per host instance objects
instead of allocating them statically in drivers, use platform_[gs]et_drvdata
consistently, use resource_size().

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11607): soc-camera: add a free_bus method to struct soc_camera_link
Guennadi Liakhovetski [Fri, 24 Apr 2009 15:53:51 +0000 (12:53 -0300)]
V4L/DVB (11607): soc-camera: add a free_bus method to struct soc_camera_link

Currently pcm990 camera bus-width management functions request a GPIO and never
free it again. With this approach the GPIO extender driver cannot be unloaded
once camera drivers have been loaded, also unloading theb i2c-pxa bus driver
produces errors, because the GPIO extender driver cannot unregister properly.
Another problem is, that if camera drivers are once loaded before the GPIO
extender driver, the platform code marks the GPIO unavailable and only a reboot
helps to recover. Adding an explicit free_bus method and using it in mt9m001
and mt9v022 drivers fixes these problems.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11604): saa7134: split Behold`s card entries to properly identify the model
Dmitri Belimov [Thu, 23 Apr 2009 05:32:49 +0000 (02:32 -0300)]
V4L/DVB (11604): saa7134: split Behold`s card entries to properly identify the model

Split Beholdr`s cards to correct models.

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11567): saa7134: Added support for AVerMedia Cardbus Plus
Oldřich Jedlička [Tue, 14 Apr 2009 18:47:17 +0000 (15:47 -0300)]
V4L/DVB (11567): saa7134: Added support for AVerMedia Cardbus Plus

Here comes the full support for AVerMedia Cardbus Plus (E501R) - including
remote control. TV, Composite and FM radio tested, I don't have S-Video to
test. I've figured out that the radio works only with xtal frequency 13MHz.

[mchehab@redhat.com: CodingStyle fixes]
Signed-off-by: Oldřich Jedlička <oldium.pro@seznam.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11442): saa7134: BZ#7524: Add AVerTV Studio 507UA support
Andy Shevchenko [Wed, 8 Apr 2009 17:01:19 +0000 (14:01 -0300)]
V4L/DVB (11442): saa7134: BZ#7524: Add AVerTV Studio 507UA support

[mchehab@redhat.com: Fix merge conflicts and CodingStyle issues]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11605): patch: s2255drv: code cleanup
Dean Anderson [Thu, 23 Apr 2009 19:04:41 +0000 (16:04 -0300)]
V4L/DVB (11605): patch: s2255drv: code cleanup

This patch does:
- remove unused structure items.
- define Response values;
- change Driver revision printk.

Signed-off-by: Dean Anderson <dean@sensoray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11601): stv090x: update demodulator capabilities
Andreas Regel [Thu, 23 Apr 2009 18:00:40 +0000 (15:00 -0300)]
V4L/DVB (11601): stv090x: update demodulator capabilities

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11600): budget: Use Continuous clock
Andreas Regel [Thu, 23 Apr 2009 18:00:04 +0000 (15:00 -0300)]
V4L/DVB (11600): budget: Use Continuous clock

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11599): S2-1600: Use budget driver instead of budged-ci
Andreas Regel [Thu, 23 Apr 2009 17:59:36 +0000 (14:59 -0300)]
V4L/DVB (11599): S2-1600: Use budget driver instead of budged-ci

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11598): stv090x: fix missing wakeup in init
Andreas Regel [Thu, 23 Apr 2009 17:59:03 +0000 (14:59 -0300)]
V4L/DVB (11598): stv090x: fix missing wakeup in init

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11597): stv090x: fixes read_status to return 0 in case of no error
Andreas Regel [Thu, 23 Apr 2009 17:58:36 +0000 (14:58 -0300)]
V4L/DVB (11597): stv090x: fixes read_status to return 0 in case of no error

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11596): stv090x: fixes some register definitions
Andreas Regel [Thu, 23 Apr 2009 17:57:24 +0000 (14:57 -0300)]
V4L/DVB (11596): stv090x: fixes some register definitions

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11595): stv090x: fixes a few bugs
Andreas Regel [Thu, 23 Apr 2009 17:56:41 +0000 (14:56 -0300)]
V4L/DVB (11595): stv090x: fixes a few bugs

This patch fixes:
* Cut revision was read too late
* Missing increment
* wrong return value
* mismatched entries

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11594): stv090x: Fix incorrect TSMODE usage
Andreas Regel [Thu, 16 Apr 2009 11:43:41 +0000 (08:43 -0300)]
V4L/DVB (11594): stv090x: Fix incorrect TSMODE usage

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11593): stv090x: Fix Rolloff
Andreas Regel [Thu, 16 Apr 2009 11:40:36 +0000 (08:40 -0300)]
V4L/DVB (11593): stv090x: Fix Rolloff

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11592): stv6110x: Fix read bug
Andreas Regel [Thu, 16 Apr 2009 11:38:46 +0000 (08:38 -0300)]
V4L/DVB (11592): stv6110x: Fix read bug

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11591): stv090x: code simplification
Manu Abraham [Wed, 8 Apr 2009 23:30:29 +0000 (20:30 -0300)]
V4L/DVB (11591): stv090x: code simplification

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11590): stv090x: code simplification
Manu Abraham [Wed, 8 Apr 2009 23:24:53 +0000 (20:24 -0300)]
V4L/DVB (11590): stv090x: code simplification

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11589): stv090x: code simplification
Manu Abraham [Wed, 8 Apr 2009 23:18:50 +0000 (20:18 -0300)]
V4L/DVB (11589): stv090x: code simplification

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11588): stv090x: support > 60MSPS, simplify Srate calculation
Manu Abraham [Wed, 8 Apr 2009 23:14:00 +0000 (20:14 -0300)]
V4L/DVB (11588): stv090x: support > 60MSPS, simplify Srate calculation

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11587): stv090x: set DiSEqC frequency to 22kHz
Manu Abraham [Wed, 8 Apr 2009 22:45:43 +0000 (19:45 -0300)]
V4L/DVB (11587): stv090x: set DiSEqC frequency to 22kHz

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11586): stv090x: switch i/p ADC as well during Power management
Manu Abraham [Wed, 8 Apr 2009 21:27:10 +0000 (18:27 -0300)]
V4L/DVB (11586): stv090x: switch i/p ADC as well during Power management

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11585): stv090x: fix incorrectly used mode
Andreas Regel [Wed, 8 Apr 2009 20:28:41 +0000 (17:28 -0300)]
V4L/DVB (11585): stv090x: fix incorrectly used mode

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11584): stv090x: add tone burst control
Andreas Regel [Wed, 8 Apr 2009 20:27:51 +0000 (17:27 -0300)]
V4L/DVB (11584): stv090x: add tone burst control

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11583): isl6423: Various fixes to use external modulation
Andreas Regel [Tue, 7 Apr 2009 19:09:52 +0000 (16:09 -0300)]
V4L/DVB (11583): isl6423: Various fixes to use external modulation

Use external modulation

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11582): stv090x: fix Undocumented Registers
Manu Abraham [Tue, 7 Apr 2009 19:08:26 +0000 (16:08 -0300)]
V4L/DVB (11582): stv090x: fix Undocumented Registers

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock
Manu Abraham [Tue, 7 Apr 2009 08:19:54 +0000 (05:19 -0300)]
V4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock

* Reference clock was unused
* Fix missing repeater level setup

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11580): budget-ci: Fix incorrect default CLOCK setup
Andreas Regel [Mon, 6 Apr 2009 18:46:50 +0000 (15:46 -0300)]
V4L/DVB (11580): budget-ci: Fix incorrect default CLOCK setup

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: MAnu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11579): Initial go at TT S2-1600
Manu Abraham [Mon, 6 Apr 2009 18:45:20 +0000 (15:45 -0300)]
V4L/DVB (11579): Initial go at TT S2-1600

[mchehab@redhat.com: fix compilation when the new drivers aren't selected]

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11574): uvcvideo: fill reserved fields with zero of VIDIOC_QUERYMENU
Márton Németh [Mon, 20 Apr 2009 17:51:49 +0000 (14:51 -0300)]
V4L/DVB (11574): uvcvideo: fill reserved fields with zero of VIDIOC_QUERYMENU

When querying menu items with VIDIOC_QUERYMENU the reserved field
is not set to zero as required by V4L2 API revision 0.24 [1].
Add this fill.

The patch was tested with v4l-test 0.11 [2] with CNF7129 webcam found
on EeePC 901.

References:
[1] V4L2 API specification, revision 0.24
    http://v4l2spec.bytesex.org/spec/r13317.htm#V4L2-QUERYMENU

[2] v4l-test: Test environment for Video For Linux Two API
    http://v4l-test.sourceforge.net/

[Modified by Laurent Pinchart]

Use u32 instead of __u32 in non-exported kernel code.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11573): uvcvideo: Prevent invormation loss with removing implicit casting
Márton Németh [Wed, 15 Apr 2009 12:01:58 +0000 (09:01 -0300)]
V4L/DVB (11573): uvcvideo: Prevent invormation loss with removing implicit casting

The uvcvideo driver supports only one input, which is input 0. For all
other input index the return value shall be EINVAL. This patch fixes the
problem when the value 0x80000000 was incorrectly casted and treated as
a zero value.

The patch was tested with v4l-test 0.10 [2] with CNF7129 webcam found on
EeePC 901.

References:
[1] V4L2 API specification, revision 0.24
    http://v4l2spec.bytesex.org/spec/r11217.htm

[2] v4l-test: Test environment for Video For Linux Two API
    http://v4l-test.sourceforge.net/

[Modified by Laurent Pinchart]

Invalid input value (u32)-1 would be accepted due to integer overflow. Make
sure the driver rejects it and returns -EINVAL.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11571): Add Elgato EyeTV DTT deluxe to dibcom driver
Armin Schenker [Mon, 20 Apr 2009 14:57:49 +0000 (11:57 -0300)]
V4L/DVB (11571): Add Elgato EyeTV DTT deluxe to dibcom driver

This patch introduces support for DVB-T for the following dibcom based
card:
Elgato EyeTV DTT deluxe (USB-ID: 0fd9:0020)

Signed-off-by: Armin Schenker <sar@snafu.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11569): av7110_hw: fix compile warning
Alexey Klimov [Sun, 19 Apr 2009 20:21:03 +0000 (17:21 -0300)]
V4L/DVB (11569): av7110_hw: fix compile warning

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (11566): remove broken macro from dvb stv0900_priv.h
Mariusz Kozlowski [Sun, 12 Apr 2009 19:58:52 +0000 (16:58 -0300)]
V4L/DVB (11566): remove broken macro from dvb stv0900_priv.h

It both has unbalanced parentheses and == is not = and it's not used
anywhere anyway.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>