pandora-kernel.git
13 years agoV4L/DVB: saa7191: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:31:11 +0000 (15:31 -0300)]
V4L/DVB: saa7191: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: adv7175: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:29:53 +0000 (15:29 -0300)]
V4L/DVB: adv7175: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: wm8775: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:27:48 +0000 (15:27 -0300)]
V4L/DVB: wm8775: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: tvaudio: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:26:38 +0000 (15:26 -0300)]
V4L/DVB: tvaudio: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: tea6415c: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:25:23 +0000 (15:25 -0300)]
V4L/DVB: tea6415c: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: bt866: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:24:03 +0000 (15:24 -0300)]
V4L/DVB: bt866: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: msp3400: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:22:34 +0000 (15:22 -0300)]
V4L/DVB: msp3400: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: saa7185: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:19:42 +0000 (15:19 -0300)]
V4L/DVB: saa7185: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: m52790: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:18:29 +0000 (15:18 -0300)]
V4L/DVB: m52790: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: indycam: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:17:19 +0000 (15:17 -0300)]
V4L/DVB: indycam: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: bt819: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:15:55 +0000 (15:15 -0300)]
V4L/DVB: bt819: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: saa6752hs: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:14:36 +0000 (15:14 -0300)]
V4L/DVB: saa6752hs: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: saa6588: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:12:49 +0000 (15:12 -0300)]
V4L/DVB: saa6588: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: upd64031a: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:11:15 +0000 (15:11 -0300)]
V4L/DVB: upd64031a: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: mt9v011: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:09:38 +0000 (15:09 -0300)]
V4L/DVB: mt9v011: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: ov7670: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:08:09 +0000 (15:08 -0300)]
V4L/DVB: ov7670: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: tda9840: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:06:40 +0000 (15:06 -0300)]
V4L/DVB: tda9840: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: saa7115: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:04:55 +0000 (15:04 -0300)]
V4L/DVB: saa7115: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: saa717x: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:01:48 +0000 (15:01 -0300)]
V4L/DVB: saa717x: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: cs5345: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 18:00:07 +0000 (15:00 -0300)]
V4L/DVB: cs5345: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: wm8739: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 17:58:16 +0000 (14:58 -0300)]
V4L/DVB: wm8739: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: vp27smpx: remove obsolete v4l2-i2c-drv.h header
Hans Verkuil [Wed, 15 Sep 2010 17:56:12 +0000 (14:56 -0300)]
V4L/DVB: vp27smpx: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: pwc: remove BKL
Hans Verkuil [Wed, 15 Sep 2010 17:49:07 +0000 (14:49 -0300)]
V4L/DVB: pwc: remove BKL

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: pwc: fully convert driver to V4L2
Hans Verkuil [Sun, 12 Sep 2010 20:05:11 +0000 (17:05 -0300)]
V4L/DVB: pwc: fully convert driver to V4L2

Remove the V4L1 API from this driver, making it fully V4L2.

Also fix a bug where the /dev/videoX device was created too early, which led
to initialization problems of the camera, making it unable to capture video.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: V4L Doc: removed duplicate link
Hans Verkuil [Sat, 11 Sep 2010 10:05:47 +0000 (07:05 -0300)]
V4L/DVB: V4L Doc: removed duplicate link

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: V4L Doc: correct the documentation for VIDIOC_QUERYMENU
Hans Verkuil [Sat, 11 Sep 2010 14:38:51 +0000 (11:38 -0300)]
V4L/DVB: V4L Doc: correct the documentation for VIDIOC_QUERYMENU

The VIDIOC_QUERYMENU documentation was not correct. EINVAL can be returned
if the driver does not support some of the menu items. I.e. in a list of
MPEG bitrates a driver generally supports only a subset of these.

This behavior has been in place for years, but was never properly documented.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: V4L Doc: document V4L2_CAP_RDS_OUTPUT capability
Hans Verkuil [Sat, 11 Sep 2010 11:39:47 +0000 (08:39 -0300)]
V4L/DVB: V4L Doc: document V4L2_CAP_RDS_OUTPUT capability

We forgot to add this capability to the QUERYCAP documentation.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: V4L Doc: fix DocBook syntax errors
Hans Verkuil [Sat, 11 Sep 2010 11:36:55 +0000 (08:36 -0300)]
V4L/DVB: V4L Doc: fix DocBook syntax errors

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_cpia1: Disable illuminator controls if not an Intel Play QX3
Andy Walls [Sun, 12 Sep 2010 17:45:21 +0000 (14:45 -0300)]
V4L/DVB: gspca_cpia1: Disable illuminator controls if not an Intel Play QX3

The illuminator controls should only be available to the user for the Intel
Play QX3 microscope.  The implementation to inhibit the controls is intended to
be consistent with the other gspca driver implementations.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_cpia1: Restore QX3 illuminators' state on resume
Andy Walls [Sun, 12 Sep 2010 17:45:18 +0000 (14:45 -0300)]
V4L/DVB: gspca_cpia1: Restore QX3 illuminators' state on resume

Turn the lights of the QX3 on (or off) as needed when resuming and at module load.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_cpia1: Add basic v4l2 illuminator controls for the Intel Play QX3
Andy Walls [Sun, 12 Sep 2010 17:45:14 +0000 (14:45 -0300)]
V4L/DVB: gspca_cpia1: Add basic v4l2 illuminator controls for the Intel Play QX3

This patch adds basic V4L2 controls for the illuminators on the Intel
Play QX3 microscope.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: v4l2: Add illuminator controls
Jean-François Moine [Mon, 13 Sep 2010 10:04:49 +0000 (07:04 -0300)]
V4L/DVB: v4l2: Add illuminator controls

Some media devices (microscopes) may have one or many illuminators.
This patch makes them controlable by the applications.

Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca - sonixj: Add webcam 0c45:612b
Alexander Goncharov [Mon, 13 Sep 2010 09:58:16 +0000 (06:58 -0300)]
V4L/DVB: gspca - sonixj: Add webcam 0c45:612b

Signed-off-by: Alexander Goncharov <alexzandersss@gmail.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca - sonixj: Webcam 0c45:6102 added
Jean-François Moine [Mon, 13 Sep 2010 09:40:17 +0000 (06:40 -0300)]
V4L/DVB: gspca - sonixj: Webcam 0c45:6102 added

Tested-by: Simon Danner <simon@danner-urloffen.de>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca - sn9c20x: Better image sizes
Jean-François Moine [Mon, 13 Sep 2010 08:26:35 +0000 (05:26 -0300)]
V4L/DVB: gspca - sn9c20x: Better image sizes

When compressed, the images take less than one byte per pixel.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca - sn9c20x: Fix the number of bytes per line
Jean-François Moine [Mon, 13 Sep 2010 08:25:41 +0000 (05:25 -0300)]
V4L/DVB: gspca - sn9c20x: Fix the number of bytes per line

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca - all modules: Display error messages when gspca debug disabled
Jean-François Moine [Mon, 13 Sep 2010 08:19:58 +0000 (05:19 -0300)]
V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca - all modules: Remove useless module load/unload messages
Jean-François Moine [Mon, 13 Sep 2010 07:53:03 +0000 (04:53 -0300)]
V4L/DVB: gspca - all modules: Remove useless module load/unload messages

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: use value from config instead hardcoded one
Antti Palosaari [Mon, 13 Sep 2010 00:02:55 +0000 (21:02 -0300)]
V4L/DVB: af9015: use value from config instead hardcoded one

Replace 2nd demod default address 0x3a with value got from eeprom config.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9013: optimize code size
Antti Palosaari [Sun, 12 Sep 2010 23:48:58 +0000 (20:48 -0300)]
V4L/DVB: af9013: optimize code size

Optimize af9013_set_coeff(). Move configuration values to own table.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: reimplement remote controller
Antti Palosaari [Sun, 12 Sep 2010 16:31:56 +0000 (13:31 -0300)]
V4L/DVB: af9015: reimplement remote controller

Remove HID and polling via firmware API. Implement direct access to remote codes via memory read and write.

HID and polling via firmware api never worked 100% well and there was also some limitations which tied used remote and device together.

After that it is possible to use upcoming kernel remote controller core.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: map TerraTec Cinergy T Stick Dual RC remote to device ID
Antti Palosaari [Thu, 9 Sep 2010 20:38:28 +0000 (17:38 -0300)]
V4L/DVB: af9015: map TerraTec Cinergy T Stick Dual RC remote to device ID

Detect TerraTec Cinergy T Stick Dual RC remote config using device
USB ID instead of device EEPROM hash. It was found that there is
devices with slightly different EEPROM content...

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: add remote support for TerraTec Cinergy T Stick Dual RC
Antti Palosaari [Thu, 9 Sep 2010 20:05:10 +0000 (17:05 -0300)]
V4L/DVB: af9015: add remote support for TerraTec Cinergy T Stick Dual RC

Thanks to the TerraTec!

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: add support for TerraTec Cinergy T Stick Dual RC
Antti Palosaari [Thu, 9 Sep 2010 17:59:10 +0000 (14:59 -0300)]
V4L/DVB: af9015: add support for TerraTec Cinergy T Stick Dual RC

Add USB ID [0ccd:0099] for TerraTec Cinergy T Stick Dual RC.
Device is based for AF9015 + AF9013 + 2 x MxL5007T chips.

Thanks to the TerraTec!

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9013: add support for MaxLinear MxL5007T tuner
Antti Palosaari [Thu, 9 Sep 2010 17:53:59 +0000 (14:53 -0300)]
V4L/DVB: af9013: add support for MaxLinear MxL5007T tuner

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: fix bug introduced by commit 490ade7e3f4474f626a8f5d778ead4e599b94fbc
Antti Palosaari [Thu, 9 Sep 2010 15:10:50 +0000 (12:10 -0300)]
V4L/DVB: af9015: fix bug introduced by commit 490ade7e3f4474f626a8f5d778ead4e599b94fbc

Commit 490ade7e3f4474f626a8f5d778ead4e599b94fbc merge conflict fix
leads situation where last nine device definitions were overridden mistakenly.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: simple comment update
Antti Palosaari [Thu, 9 Sep 2010 15:05:31 +0000 (12:05 -0300)]
V4L/DVB: af9015: simple comment update

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: vpif_cap: don't ignore return code of videobuf_poll_stream()
Mats Randgaard [Tue, 7 Sep 2010 14:28:23 +0000 (11:28 -0300)]
V4L/DVB: vpif_cap: don't ignore return code of videobuf_poll_stream()

Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hans.verkuil@tandberg.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: vpif_cap/disp: Replaced kmalloc with kzalloc
Mats Randgaard [Mon, 30 Aug 2010 13:30:37 +0000 (10:30 -0300)]
V4L/DVB: vpif_cap/disp: Replaced kmalloc with kzalloc

Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hans.verkuil@tandberg.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: vpif_cap/disp: Removed section mismatch warning
Mats Randgaard [Mon, 30 Aug 2010 13:30:36 +0000 (10:30 -0300)]
V4L/DVB: vpif_cap/disp: Removed section mismatch warning

Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hans.verkuil@tandberg.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agodevices.txt: Remove the old obsolete vtx device nodes
Mauro Carvalho Chehab [Sat, 4 Sep 2010 03:53:30 +0000 (00:53 -0300)]
devices.txt: Remove the old obsolete vtx device nodes

Teletext interface is provided via VBI interface for a long time. There's no
need nor is there any known program using those old /dev/vtx nodes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: Documentation: update now that the vtx/videotext API has been removed
Hans Verkuil [Fri, 6 Aug 2010 15:52:43 +0000 (12:52 -0300)]
V4L/DVB: Documentation: update now that the vtx/videotext API has been removed

Remove all references to /dev/vtx in the documentation, except for
some historical comments in dev-teletext.xml.

Documentation/devices.txt is not updated, this will go through Alan Cox
who maintains this file.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: videotext: remove this obsolete API
Hans Verkuil [Fri, 6 Aug 2010 15:48:00 +0000 (12:48 -0300)]
V4L/DVB: videotext: remove this obsolete API

Remove the vtx (aka videotext aka teletext) API from the v4l2 core.
This API was scheduled for removal in kernel 2.6.35.

The vtx device nodes have been superseded by vbi device nodes
for many years. No applications exist that use the vtx support.
Of the two i2c drivers that actually support this API the saa5249
has been impossible to use for a year now and no known hardware
that supports this device exists. The saa5246a is theoretically
supported by the old mxb boards, but it never actually worked.

In summary: there is no hardware that can use this API and there
are no applications actually implementing this API.

The vtx support still reserves minors 192-223 and we would really
like to reuse those for upcoming new functionality. In the unlikely
event that new hardware appears that wants to use the functionality
provided by the vtx API, then that functionality should be build
around the sliced VBI API instead.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: saa5246a/saa5249: Remove obsolete teletext drivers
Hans Verkuil [Fri, 6 Aug 2010 14:08:54 +0000 (11:08 -0300)]
V4L/DVB: saa5246a/saa5249: Remove obsolete teletext drivers

These old i2c teletext drivers are not supported by any hardware and cannot be
tested anymore.

Note that while the mxb board seemingly used the saa5246a driver, in reality
this teletext driver never worked.

These drivers are removed as part of the vtx feature removal, originally
scheduled for 2.6.35.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: STV0288 Incorrect bit sample for Vitterbi status
Malcolm Priestley [Sat, 28 Aug 2010 21:18:45 +0000 (18:18 -0300)]
V4L/DVB: STV0288 Incorrect bit sample for Vitterbi status

bit 3(LK) indicates that the Vstatus is locked.
Currently using bit 7(CF) which is usually present, results in early
aborted search in FEC_AUTO and missing channels.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: Support or LME2510(C) DM04/QQBOX USB DVB-S BOXES
Malcolm Priestley [Thu, 2 Sep 2010 20:29:30 +0000 (17:29 -0300)]
V4L/DVB: Support or LME2510(C) DM04/QQBOX USB DVB-S BOXES

DM04/QQBOX DVB-S USB BOX with LME2510C+SHARP:BS2F7HZ7395 or LME2510+LGTDQT-P001F tuner.

[mchehab@redhat.com: Fix merge conflicts/compilation and CodingStyle issues]
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: ix2505v: make scripts/checkpatch.pl happy
Mauro Carvalho Chehab [Wed, 8 Sep 2010 15:51:56 +0000 (12:51 -0300)]
V4L/DVB: ix2505v: make scripts/checkpatch.pl happy

WARNING: please, no space before tabs
+ *  ^IPOR = Power on Reset (VCC H=<2.2v L=>2.2v)$

WARNING: unnecessary whitespace before a quoted newline
+ deb_info("Frq=%d x=%d N=%d A=%d \n", frequency, x, N, A);

WARNING: please, no space before tabs
+^Ielse ^I^I/*frequency up to 2150000*/$

WARNING: unnecessary whitespace before a quoted newline
+ deb_info("Data 0=[%x%x%x%x] \n", data[0], data[1], data[2], data[3]);

WARNING: unnecessary whitespace before a quoted newline
+ deb_info("Data 2=[%x%x] \n", data[2], data[3]);

Cc: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: Support for Sharp IX2505V (marked B0017) DVB-S silicon tuner
Malcolm Priestley [Sat, 28 Aug 2010 21:07:37 +0000 (18:07 -0300)]
V4L/DVB: Support for Sharp IX2505V (marked B0017) DVB-S silicon tuner

Tuner used in Sharp BS2F7VZ7395 dvbs module.
When ix2505v tuner is attached to stv0288 form this module.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: drivers/media/dvb/siano: Remove double test
Julia Lawall [Sat, 28 Aug 2010 15:41:05 +0000 (12:41 -0300)]
V4L/DVB: drivers/media/dvb/siano: Remove double test

The same expression is tested twice and the result is the same each time.

The sematic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@expression@
expression E;
@@

(
* E
  || ... || E
|
* E
  && ... && E
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: drivers/media/video/em28xx: Remove potential NULL dereference
Julia Lawall [Fri, 27 Aug 2010 05:57:18 +0000 (02:57 -0300)]
V4L/DVB: drivers/media/video/em28xx: Remove potential NULL dereference

If the NULL test is necessary, the initialization involving a dereference of
the tested value should be moved after the NULL test.

The sematic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
expression E;
identifier i,fld;
statement S;
@@

- T i = E->fld;
+ T i;
  ... when != E
      when != i
  if (E == NULL) S
+ i = E->fld;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: add USB ID for Terratec Cinergy T Stick RC MKII
Stefan Lippers-Hollmann [Wed, 25 Aug 2010 13:08:48 +0000 (10:08 -0300)]
V4L/DVB: af9015: add USB ID for Terratec Cinergy T Stick RC MKII

Adding the USB ID for my TerraTec Electronic GmbH Cinergy T RC MKII
[0ccd:0097] and hooking it up into af9015, on top of your new NXP TDA18218
patches, makes it work for me.

Just the shipped IR remote control doesn't seem to create keycode events
yet (tested with different remote=%d parameters), are there any hints to
add support for that?

[    2.250022] usb 1-10: new high speed USB device using ehci_hcd and address 5
[    2.369287] usb 1-10: New USB device found, idVendor=0ccd, idProduct=0097
[    2.369290] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.369293] usb 1-10: Product: USB2.0 DVB-T TV Stick
[    2.369294] usb 1-10: Manufacturer: NEWMI
[    2.369296] usb 1-10: SerialNumber: 010101010600001
[    2.534023] usbcore: registered new interface driver hiddev
[    2.537235] input: NEWMI USB2.0 DVB-T TV Stick as /devices/pci0000:00/0000:00:02.1/usb1/1-10/1-10:1.1/input/input0
[    2.537323] generic-usb 0003:0CCD:0097.0001: input,hidraw0: USB HID v1.01 Keyboard [NEWMI USB2.0 DVB-T TV Stick] on usb-0000:00:02.1-10/input1
[    2.537349] usbcore: registered new interface driver usbhid
[    2.537351] usbhid: USB HID core driver
[    3.263177] generic-usb 0003:04D9:1603.0002: input,hidraw1: USB HID v1.10 Keyboard [  USB Keyboard] on usb-0000:00:02.0-8.1/input0
[    3.286946] generic-usb 0003:04D9:1603.0003: input,hidraw2: USB HID v1.10 Device [  USB Keyboard] on usb-0000:00:02.0-8.1/input1
[    3.467136] generic-usb 0003:046D:C050.0004: input,hidraw3: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:02.0-8.2/input0
[    3.660890] generic-usb 0003:10D5:000D.0005: input,hidraw4: USB HID v1.10 Keyboard [No brand SP02-A1] on usb-0000:00:02.0-8.3/input0
[    5.567632] dvb-usb: found a 'TerraTec Cinergy T Stick RC' in cold state, will try to load a firmware
[    5.693497] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[    5.773109] dvb-usb: found a 'TerraTec Cinergy T Stick RC' in warm state.
[    5.773168] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    5.774290] DVB: registering new adapter (TerraTec Cinergy T Stick RC)
[    6.007696] af9013: firmware version:5.1.0
[    6.010843] DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
[    6.032697] tda18218: NXP TDA18218HN successfully identified.
[    6.034442] dvb-usb: TerraTec Cinergy T Stick RC successfully initialized and connected.
[    6.040612] usbcore: registered new interface driver dvb_usb_af9015

[mchehab@redhat.com: Fix merge conflict with another board addition]
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: drivers/media: Make static data tables and strings const
lawrence rust [Wed, 25 Aug 2010 12:50:20 +0000 (09:50 -0300)]
V4L/DVB: drivers/media: Make static data tables and strings const

Making static data const avoids allocation of additional r/w memory and
reduces initialisation time.  It also provides some additional opportunities
for compiler optimisations.

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: cx25821: fix gcc warning when compiled with allyesconfig
Mauro Carvalho Chehab [Wed, 8 Sep 2010 13:18:18 +0000 (10:18 -0300)]
V4L/DVB: cx25821: fix gcc warning when compiled with allyesconfig

drivers/staging/cx25821/cx25821-alsa.c:632: warning: ‘cx25821_audio_pci_tbl’ defined but not used

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: cx88: Fix some gcc warnings
Mauro Carvalho Chehab [Wed, 8 Sep 2010 13:14:51 +0000 (10:14 -0300)]
V4L/DVB: cx88: Fix some gcc warnings

drivers/media/video/cx88/cx88-dsp.c: In function ‘detect_a2_a2m_eiaj’:
drivers/media/video/cx88/cx88-dsp.c:158: warning: ‘carrier_freq’ may be used uninitialized in this function
drivers/media/video/cx88/cx88-dsp.c:158: warning: ‘stereo_freq’ may be used uninitialized in this function
drivers/media/video/cx88/cx88-dsp.c:158: warning: ‘dual_freq’ may be used uninitialized in this function

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: v4l: Add a v4l2_subdev host private data field
Laurent Pinchart [Fri, 30 Jul 2010 20:24:55 +0000 (17:24 -0300)]
V4L/DVB: v4l: Add a v4l2_subdev host private data field

The existing priv field stores subdev private data owned by the subdev
driver. Host (bridge) drivers might need to store per-subdev
host-specific data, such as a pointer to platform data.

Add a v4l2_subdev host_priv field to store host-specific data, and
rename the existing priv field to dev_priv.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: v4l: Use v4l2_get_subdevdata instead of accessing v4l2_subdev::priv
Laurent Pinchart [Fri, 30 Jul 2010 20:24:54 +0000 (17:24 -0300)]
V4L/DVB: v4l: Use v4l2_get_subdevdata instead of accessing v4l2_subdev::priv

Replace direct access to the v4l2_subdev priv field with the inline
v4l2_get_subdevdata method.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: tm6000: bugfix param string
Stefan Ringel [Tue, 24 Aug 2010 19:36:09 +0000 (16:36 -0300)]
V4L/DVB: tm6000: bugfix param string

Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: cx88: convert core->tvaudio into an enum
lawrence rust [Mon, 23 Aug 2010 10:49:58 +0000 (07:49 -0300)]
V4L/DVB: cx88: convert core->tvaudio into an enum

Using an enum and removing the default case from switch statements accessing
the value enables the compiler to emit a warning (enabled with -Wall) when an
audio mode is not handled.

This highlights an omission in the function cx88_dsp_detect_stereo_sap()
(in cx88-dsp.c) not handling WW_EIAJ and WW_M.

Signed-off-by: Lawrence Rust <lawrence@softsystem.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: drivers/media/video: Use available error codes
Julia Lawall [Mon, 16 Aug 2010 16:27:47 +0000 (13:27 -0300)]
V4L/DVB: drivers/media/video: Use available error codes

Error codes are stored in rc, but the return value is always 0.  Return rc
instead.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
local idexpression x;
constant C;
@@

if (...) { ...
  x = -C
  ... when != x
(
  return <+...x...+>;
|
  return NULL;
|
  return;
|
* return ...;
)
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: drivers/media: Use available error codes
Julia Lawall [Mon, 16 Aug 2010 16:26:13 +0000 (13:26 -0300)]
V4L/DVB: drivers/media: Use available error codes

In each case, error codes are stored in rc, but the return value is always
0.  Return rc instead.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
local idexpression x;
constant C;
@@

if (...) { ...
  x = -C
  ... when != x
(
  return <+...x...+>;
|
  return NULL;
|
  return;
|
* return ...;
)
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: drivers/media/video/zoran: Use available error codes
Julia Lawall [Mon, 16 Aug 2010 16:25:39 +0000 (13:25 -0300)]
V4L/DVB: drivers/media/video/zoran: Use available error codes

Error codes are stored in res, but the return value is always 0.  Return
res instead.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
local idexpression x;
constant C;
@@

if (...) { ...
  x = -C
  ... when != x
(
  return <+...x...+>;
|
  return NULL;
|
  return;
|
* return ...;
)
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: drivers/media/video: Adjust confusing if indentation
Julia Lawall [Thu, 5 Aug 2010 20:22:44 +0000 (17:22 -0300)]
V4L/DVB: drivers/media/video: Adjust confusing if indentation

In cx23885/cx23885-video.c, cx88/cx88-video.c, davinci/vpif_capture.c, and
davinci/vpif_display.c, group the aligned code into a single if branch.

In saa7134/saa7134-video.c, outdent the code following the if.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r disable braces4@
position p1,p2;
statement S1,S2;
@@

(
if (...) { ... }
|
if (...) S1@p1 S2@p2
)

@script:python@
p1 << r.p1;
p2 << r.p2;
@@

if (p1[0].column == p2[0].column):
  cocci.print_main("branch",p1)
  cocci.print_secs("after",p2)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: V4L2: avoid name conflicts in macros
Guennadi Liakhovetski [Thu, 12 Aug 2010 20:16:00 +0000 (17:16 -0300)]
V4L/DVB: V4L2: avoid name conflicts in macros

"sd" and "err" are too common names to be used in macros for local variables.
Prefix them with an underscore to avoid name clashing.

[mchehab@redhat.com: whitespace cleanups]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: IR/streamzap: functional in-kernel decoding
Jarod Wilson [Sat, 7 Aug 2010 16:31:40 +0000 (13:31 -0300)]
V4L/DVB: IR/streamzap: functional in-kernel decoding

This patch makes in-kernel decoding with the stock Streamzap PC Remote
work out of the box. There are quite a few things going on in this
patch, all related to getting this working:

1) I had to enable reporting of a long space at the end of each signal,
   or I had weird buffering and keybounce issues.

2) The keymap has been reworked slightly to match actual decoded values,
   the first edition was missing the pre-data bits present in the lirc
   config file for this remote.

3) There's a whole new decoder included, specifically for the
   not-quite-RC5 15-bit protocol variant used by the Streamzap PC
   Remote. The decoder, while usable with other recievers (tested with
   an mceusb receiver), will only be loaded by the streamzap driver, as
   its likely not of use in almost all other situations. This can be
   revisited if/when all keytable loading (and disabling of unneeded
   protocol decoder engines) is moved to userspace, but for now, I think
   this makes the most sense.

Note that I did try to enable handling the streamzap RC5-ish protocol in
the current RC5 decoder, but there's no particularly easy way to tell if
its 14-bit RC5 or 15-bit Streamzap until we see bit 14, and even then,
in testing an attempted decoder merge, only 2/3 of the keys were
properly recognized as being the 15-bit variant and decoded correctly,
the rest were close enough to compliant with 14-bit that they were
decoded as such (but they have overlap with one another, and thus we
can't just shrug and use the 14-bit decoded values).

Also of note in this patch is the removal of the streamzap driver's
internal delay buffer. Per discussion w/Christoph, it shouldn't be
needed by lirc any longer anyway, and it doesn't seem to make any
difference to the in-kernel decoder engine. That being the case, I'm
yanking it all out, as it greatly simplifies the driver code.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: Add documentation about the Ibmcam/Konica new gspca driver formats
Mauro Carvalho Chehab [Mon, 6 Sep 2010 17:05:43 +0000 (14:05 -0300)]
V4L/DVB: Add documentation about the Ibmcam/Konica new gspca driver formats

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agogspca/konica: Fix compilation merge conflict
Mauro Carvalho Chehab [Mon, 6 Sep 2010 16:57:22 +0000 (13:57 -0300)]
gspca/konica: Fix compilation merge conflict

drivers/media/video/gspca/konica.c: In function ‘sd_start’:
drivers/media/video/gspca/konica.c:322: error: implicit declaration of function ‘usb_buffer_alloc’
drivers/media/video/gspca/konica.c:325: warning: assignment makes pointer from integer without a cast
make[3]: ** [drivers/media/video/gspca/konica.o] Erro 1

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_xirlink_cit: adjust ibm netcam pro framerate for available bandwidth
Hans de Goede [Mon, 6 Sep 2010 08:24:21 +0000 (05:24 -0300)]
V4L/DVB: gspca_xirlink_cit: adjust ibm netcam pro framerate for available bandwidth

gspca_xirlink_cit: adjust ibm netcam pro framerate for available bandwidth

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_konica: New gspca subdriver for konica chipset using cams
Hans de Goede [Sun, 5 Sep 2010 19:30:30 +0000 (16:30 -0300)]
V4L/DVB: gspca_konica: New gspca subdriver for konica chipset using cams

This new driver replaces the (known to not work / crash) usbvideo konicawc
driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_*: correct typo in my email address in various subdrivers
Hans de Goede [Sun, 5 Sep 2010 10:06:04 +0000 (07:06 -0300)]
V4L/DVB: gspca_*: correct typo in my email address in various subdrivers

gspca_*: correct typo in my email address in various subdrivers

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: Mark usbvideo ibmcam driver as deprecated
Hans de Goede [Sun, 4 Jul 2010 11:03:19 +0000 (08:03 -0300)]
V4L/DVB: Mark usbvideo ibmcam driver as deprecated

Mark usbvideo ibmcam driver as deprecated, it is replaced by the new
gscpa xirlink_cit driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_xirlink_cit: support bandwidth changing for devices with 1 alt setting
Hans de Goede [Sun, 5 Sep 2010 10:03:48 +0000 (07:03 -0300)]
V4L/DVB: gspca_xirlink_cit: support bandwidth changing for devices with 1 alt setting

Some xirlink_cit models have only 1 alt setting, but the actual used
bandwidth can be programmed through a register use this to allow streaming
while other isoc streams (for example sound) are active at the same time.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_xirlink_cit: Use alt setting -> fps formula for model 1 cams too
Hans de Goede [Mon, 30 Aug 2010 17:47:45 +0000 (14:47 -0300)]
V4L/DVB: gspca_xirlink_cit: Use alt setting -> fps formula for model 1 cams too

gspca_xirlink_cit: Use alt setting -> fps formula for model 1 cams too

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_xirlink_cit: Add support for camera with a bcd version of 0.01
Hans de Goede [Sun, 5 Sep 2010 19:19:19 +0000 (16:19 -0300)]
V4L/DVB: gspca_xirlink_cit: Add support for camera with a bcd version of 0.01

Add support for camera with a bcd version of 0.01, I've dupped these
Model0 cams.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_xirlink_cit: Add support for Model 1, 2 & 4 cameras
Hans de Goede [Wed, 9 Jun 2010 14:39:50 +0000 (11:39 -0300)]
V4L/DVB: gspca_xirlink_cit: Add support for Model 1, 2 & 4 cameras

Note this is untested as I don't have hardware to test, but all
initsequences were taken over 1 on 1 from the old ibmcam driver so things
should work.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: gspca_xirlink_cit: New gspca subdriver replacing v4l1 usbvideo/ibmcam.c
Hans de Goede [Sun, 5 Sep 2010 19:05:22 +0000 (16:05 -0300)]
V4L/DVB: gspca_xirlink_cit: New gspca subdriver replacing v4l1 usbvideo/ibmcam.c

The old usbvideo ibmcam driver needs to be replaced with a v4l2 driver
preferably using the gspca webcam framework rather then the old usbvideo
framework.

This new gspca sub driver sets a first step in that direction. The ibmcam
driver supports 4 different model webcams. This new driver (for now) only
supports Model 3 cameras, as my test cam is a Model 3 cam, or so I thought.

Upon reading:
http://www.linux-usb.org/ibmcam/
I learned that the IBM Netcamera Pro I have even though having the same
usb id and the same bcd version is different from the Model 3 cameras
supported by the ibmcam driver. So this new gscpa subdriver supports Model 3
cameras (untested), and the IBM Netcamera Pro. Currently use with the
IBM Netcamera Pro requires a module parameter. I hope to be able to
autodetect which is which in the future.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: add missing TDA18218 Kconfig option
Antti Palosaari [Fri, 13 Aug 2010 16:45:02 +0000 (13:45 -0300)]
V4L/DVB: af9015: add missing TDA18218 Kconfig option

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9015: add support for tda18218 silicon tuner
Antti Palosaari [Fri, 13 Aug 2010 06:51:26 +0000 (03:51 -0300)]
V4L/DVB: af9015: add support for tda18218 silicon tuner

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: af9013: add support for tda18218 silicon tuner
Antti Palosaari [Fri, 13 Aug 2010 06:49:24 +0000 (03:49 -0300)]
V4L/DVB: af9013: add support for tda18218 silicon tuner

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: NXP TDA18218 silicon tuner driver
Antti Palosaari [Fri, 13 Aug 2010 06:41:02 +0000 (03:41 -0300)]
V4L/DVB: NXP TDA18218 silicon tuner driver

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: v4l2-subdev: remove obsolete enum/try/s/g_fmt
Hans Verkuil [Sun, 9 May 2010 10:42:03 +0000 (07:42 -0300)]
V4L/DVB: v4l2-subdev: remove obsolete enum/try/s/g_fmt

These have now all been replaced by enum/try/s/g_mbus_fmt.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: ov7670: remove obsolete enum/try/s_fmt ops
Hans Verkuil [Sat, 8 May 2010 21:55:44 +0000 (18:55 -0300)]
V4L/DVB: ov7670: remove obsolete enum/try/s_fmt ops

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: cafe_ccic: convert to the mediabus API
Hans Verkuil [Sat, 8 May 2010 21:53:44 +0000 (18:53 -0300)]
V4L/DVB: cafe_ccic: convert to the mediabus API

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: ov7670: add enum/try/s_mbus_fmt support
Hans Verkuil [Sat, 8 May 2010 21:28:41 +0000 (18:28 -0300)]
V4L/DVB: ov7670: add enum/try/s_mbus_fmt support

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: v4l: add RGB444 mediabus formats
Hans Verkuil [Fri, 6 Aug 2010 19:25:04 +0000 (16:25 -0300)]
V4L/DVB: v4l: add RGB444 mediabus formats

These are needed for the ov7670 driver.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: cx25821: convert to the mediabus API
Hans Verkuil [Fri, 6 Aug 2010 19:18:23 +0000 (16:18 -0300)]
V4L/DVB: cx25821: convert to the mediabus API

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: go7007: convert to use the mediabus API
Hans Verkuil [Fri, 6 Aug 2010 19:42:55 +0000 (16:42 -0300)]
V4L/DVB: go7007: convert to use the mediabus API

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: tvp7002: remove obsolete enum/try/s/g_fmt
Hans Verkuil [Sun, 9 May 2010 10:22:37 +0000 (07:22 -0300)]
V4L/DVB: tvp7002: remove obsolete enum/try/s/g_fmt

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: tvp514x: remove obsolete enum/try/s/g_fmt
Hans Verkuil [Sun, 9 May 2010 10:20:40 +0000 (07:20 -0300)]
V4L/DVB: tvp514x: remove obsolete enum/try/s/g_fmt

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: vpfe_capture: convert to new mediabus API
Hans Verkuil [Sat, 7 Aug 2010 09:49:33 +0000 (06:49 -0300)]
V4L/DVB: vpfe_capture: convert to new mediabus API

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoV4L/DVB: tvp7002: add support for enum/try/g/s_mbus_fmt
Hans Verkuil [Sun, 9 May 2010 10:07:35 +0000 (07:07 -0300)]
V4L/DVB: tvp7002: add support for enum/try/g/s_mbus_fmt

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