openwrt/staging/blogic.git
15 years agoV4L/DVB (10086): Add new set_std function on soc_camera
Kuninori Morimoto [Thu, 18 Dec 2008 15:46:45 +0000 (12:46 -0300)]
V4L/DVB (10086): Add new set_std function on soc_camera

This patch presents new method to be able to check v4l2_std_id

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10085): sh_mobile_ceu: add NV16 and NV61 support
Magnus Damm [Thu, 18 Dec 2008 15:45:33 +0000 (12:45 -0300)]
V4L/DVB (10085): sh_mobile_ceu: add NV16 and NV61 support

This patch adds NV16/NV61 support to the sh_mobile_ceu driver.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10084): sh_mobile_ceu: add NV12 and NV21 support
Magnus Damm [Thu, 18 Dec 2008 15:38:06 +0000 (12:38 -0300)]
V4L/DVB (10084): sh_mobile_ceu: add NV12 and NV21 support

This patch adds NV12/NV21 support to the sh_mobile_ceu driver.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10083): soc-camera: unify locking, play nicer with videobuf locking
Guennadi Liakhovetski [Thu, 18 Dec 2008 15:28:54 +0000 (12:28 -0300)]
V4L/DVB (10083): soc-camera: unify locking, play nicer with videobuf locking

Move mutex from host drivers to camera device object, take into account
videobuf locking.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10081): pxa-camera: call try_fmt() camera device method with correct pixel...
Guennadi Liakhovetski [Thu, 18 Dec 2008 14:53:51 +0000 (11:53 -0300)]
V4L/DVB (10081): pxa-camera: call try_fmt() camera device method with correct pixel format

With the introduction of the format conversion support in soc-camera, we now
also have to take care to pass the correct pixel format to the camera driver
when calling its try_fmt() method.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10080): soc-camera: readability improvements, more strict operations checks
Guennadi Liakhovetski [Thu, 18 Dec 2008 14:51:55 +0000 (11:51 -0300)]
V4L/DVB (10080): soc-camera: readability improvements, more strict operations checks

Simplify multiple drivers by replacing f->fmt.pix.* with a single pointer
dereference, merge some needlessly broken lines, verify host and camera
operations pointers on registration.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10079): sh_mobile_ceu: use new pixel format translation code
Magnus Damm [Thu, 18 Dec 2008 14:49:06 +0000 (11:49 -0300)]
V4L/DVB (10079): sh_mobile_ceu: use new pixel format translation code

This patch converts the sh_mobile_ceu driver to make use
of the new pixel format translation code. Only pass-though
mode at this point.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10078): video: add NV16 and NV61 pixel formats
Magnus Damm [Thu, 18 Dec 2008 14:45:00 +0000 (11:45 -0300)]
V4L/DVB (10078): video: add NV16 and NV61 pixel formats

This patch adds support for NV16 and NV61 pixel formats.

These pixel formats use two planes; one for 8-bit Y values and
one for interleaved 8-bit U and V values. NV16/NV61 formats are
very similar to NV12/NV21 with the exception that NV16/NV61 are
using the same number of lines for both planes. The difference
between NV16 and NV61 is the U and V byte order.

The fourcc values are extrapolated from the NV12/NV21 case.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10077): mt9m111: add support for mt9m112 since sensors seem identical
Mike Rapoport [Thu, 18 Dec 2008 14:44:15 +0000 (11:44 -0300)]
V4L/DVB (10077): mt9m111: add support for mt9m112 since sensors seem identical

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10076): v4l: add chip ID for MT9M112 camera sensor from Micron
Mike Rapoport [Thu, 18 Dec 2008 14:42:54 +0000 (11:42 -0300)]
V4L/DVB (10076): v4l: add chip ID for MT9M112 camera sensor from Micron

The chip is largely compatible with MT9M111 and is going to be supported by the
same driver.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10075): pxa-camera: setup the FIFO inactivity time-out register
Guennadi Liakhovetski [Thu, 18 Dec 2008 14:38:03 +0000 (11:38 -0300)]
V4L/DVB (10075): pxa-camera: setup the FIFO inactivity time-out register

Using PXA270's FIFO inactivity time-out register (CITOR) reduces FIFO overruns.
The time-out is calculated in CICLK / LCDCLK ticks and has to be longer than
one pixel time. For this we have to know the pixel clock frequency, which
usually is provided by the camera. We use the struct soc_camera_sense to
request PCLK frequency from the camera driver upon each data format change.

Tested-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 (10074): soc-camera: add camera sense data
Guennadi Liakhovetski [Thu, 18 Dec 2008 14:34:20 +0000 (11:34 -0300)]
V4L/DVB (10074): soc-camera: add camera sense data

Add a struct soc_camera_sense, that can be used by camera host drivers to
request additional information from a camera driver, for example, when
changing data format. This struct can be extended in the future, its first use
is to request the camera driver whether the pixel-clock frequency has changed.

Tested-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 (10073): mt9m111: Add automatic white balance control
Robert Jarzmik [Thu, 18 Dec 2008 14:29:05 +0000 (11:29 -0300)]
V4L/DVB (10073): mt9m111: Add automatic white balance control

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 (10072): soc-camera: Add signal inversion flags to be used by camera drivers
Guennadi Liakhovetski [Tue, 23 Dec 2008 08:54:45 +0000 (05:54 -0300)]
V4L/DVB (10072): soc-camera: Add signal inversion flags to be used by camera drivers

As reported by Antonio Ospite <ospite@studenti.unina.it> two platforms with a
mt9m111 camera require opposite pixel clock polarity, which means one of them
inverts it. This patch adds support for inversion flags and switches all
available camera drivers to using them.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB: pxa-camera: use memory mapped IO access for camera (QCI) registers
Eric Miao [Thu, 18 Dec 2008 14:15:50 +0000 (11:15 -0300)]
V4L/DVB: pxa-camera: use memory mapped IO access for camera (QCI) registers

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10107): More than one driver defines the same var name (dump_bridge). Add
Mauro Carvalho Chehab [Mon, 29 Dec 2008 21:35:51 +0000 (18:35 -0300)]
V4L/DVB (10107): More than one driver defines the same var name (dump_bridge). Add

"static" on stv06xx for all static functions and parameters to avoid
such troubles.

Cc: Erik Andren <erik.andren@gmail.com>
Cc: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10106): gscpa - stv06xx: Fix compilation with kernel tree
Mauro Carvalho Chehab [Mon, 29 Dec 2008 21:06:09 +0000 (18:06 -0300)]
V4L/DVB (10106): gscpa - stv06xx: Fix compilation with kernel tree

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10069): Add ov7725 support to ov772x driver
Kuninori Morimoto [Thu, 18 Dec 2008 14:07:11 +0000 (11:07 -0300)]
V4L/DVB (10069): Add ov7725 support to ov772x driver

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10068): Change device ID selection method on ov772x driver
Kuninori Morimoto [Thu, 18 Dec 2008 14:05:49 +0000 (11:05 -0300)]
V4L/DVB (10068): Change device ID selection method on ov772x driver

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10067): Remove ov772x_default_regs from ov772x driver
Kuninori Morimoto [Wed, 17 Dec 2008 17:05:45 +0000 (14:05 -0300)]
V4L/DVB (10067): Remove ov772x_default_regs from ov772x driver

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10066): mt9m001 mt9v022: fix bus-width switch GPIO availability test
Guennadi Liakhovetski [Wed, 17 Dec 2008 17:05:38 +0000 (14:05 -0300)]
V4L/DVB (10066): mt9m001 mt9v022: fix bus-width switch GPIO availability test

Testing for non-NULL platform-data is not enough, we have to check if the GPIO
in the platform data is valid or not. Also see my earlier patch:

[ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10065): mt9m111: add all yuv format combinations.
Robert Jarzmik [Wed, 17 Dec 2008 17:05:31 +0000 (14:05 -0300)]
V4L/DVB (10065): mt9m111: add all yuv format combinations.

The Micron mt9m111 offers 4 byte orders for YCbCr
output. This patchs adds all possible outputs capabilities
to the mt9m111 driver.

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 (10064): mt9m111: mt9m111_get_global_gain() - unsigned >= 0 is always true
roel kluin [Wed, 17 Dec 2008 17:01:07 +0000 (14:01 -0300)]
V4L/DVB (10064): mt9m111: mt9m111_get_global_gain() - unsigned >= 0 is always true

unsigned >= 0 is always true and fix formula

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-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 (10062): dsbr100: change return values in 3 functions
Alexey Klimov [Sun, 28 Dec 2008 01:40:57 +0000 (22:40 -0300)]
V4L/DVB (10062): dsbr100: change return values in 3 functions

Patch replace return -1; with return retval; in 3 functions.
And we also change if-checks for this returned values.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10061): dsbr100: increase driver version
Alexey Klimov [Sun, 28 Dec 2008 01:35:21 +0000 (22:35 -0300)]
V4L/DVB (10061): dsbr100: increase driver version

Due to a lot of patches for dsbr100 last time we should update version
of driver.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10060): dsbr100: fix and add right comments
Alexey Klimov [Sun, 28 Dec 2008 01:33:54 +0000 (22:33 -0300)]
V4L/DVB (10060): dsbr100: fix and add right comments

Fix and add right comments. Few empty lines removed.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10059): dsbr100: dev_err instead of dev_warn
Alexey Klimov [Sun, 28 Dec 2008 01:31:52 +0000 (22:31 -0300)]
V4L/DVB (10059): dsbr100: dev_err instead of dev_warn

We should use dev_err (not dev_warn) if video_register_device fails.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10058): dsbr100: fix codingstyle, add dev_err messages
Alexey Klimov [Sun, 28 Dec 2008 01:30:29 +0000 (22:30 -0300)]
V4L/DVB (10058): dsbr100: fix codingstyle, add dev_err messages

We should make if-constructions more clear. Introduce int retval
variables in some functions to make it this way. Also a lot of useful
dev_err messages added. And now we check every returned value after
usb_control_msg.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10057): dsbr100: place dev_warn instead of printk
Alexey Klimov [Sun, 28 Dec 2008 00:42:39 +0000 (21:42 -0300)]
V4L/DVB (10057): dsbr100: place dev_warn instead of printk

Remove printk in one line and place dev_warn there.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10056): em28xx: Add snapshot button on Pixelview Prolink PlayTV USB 2.0
Douglas Schilling Landgraf [Sun, 28 Dec 2008 00:39:35 +0000 (21:39 -0300)]
V4L/DVB (10056): em28xx: Add snapshot button on Pixelview Prolink PlayTV USB 2.0

Added snapshot feature for Pixelview Prolink PlayTV USB 2.0

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10055): em28xx: Add entry for PixelView PlayTV Box 4
Douglas Schilling Landgraf [Sun, 28 Dec 2008 00:38:14 +0000 (21:38 -0300)]
V4L/DVB (10055): em28xx: Add entry for PixelView PlayTV Box 4

Added board PixelView PlayTV Box 4
Thanks to Vildenei Negrao Pereira <neodarkaman@brturbo.com.br> for testing and data collection.

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10054): dsbr100: fix unplug oops
Alexey Klimov [Sun, 28 Dec 2008 00:32:49 +0000 (21:32 -0300)]
V4L/DVB (10054): dsbr100: fix unplug oops

This patch corrects unplug procedure. Patch adds
usb_dsbr100_video_device_release, new macros - videodev_to_radio, mutex
lock and a lot of safety checks.
Struct video_device videodev is embedded in dsbr100_device structure.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10053): radio-mr800: disable autosuspend support
Alexey Klimov [Sun, 28 Dec 2008 00:31:49 +0000 (21:31 -0300)]
V4L/DVB (10053): radio-mr800: disable autosuspend support

Because this device doesn't provide any powermanagment capabilities(may
be they exist but unknown to me yet, so they are not implemented), we
should turn them off. Patch sets support_autosuspend equal to 0.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10052): radio-mr800: correct unplug, fix to previous patch
Alexey Klimov [Sun, 28 Dec 2008 00:30:34 +0000 (21:30 -0300)]
V4L/DVB (10052): radio-mr800: correct unplug, fix to previous patch

This patch corrects unplug procedure, that was implemented wrong in
previous patch. New function usb_amradio_device_release added.
Disconnect lock removed.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10050): gspca - vc032x: Webcam 046d:0897 added.
Jean-Francois Moine [Mon, 29 Dec 2008 12:06:09 +0000 (09:06 -0300)]
V4L/DVB (10050): gspca - vc032x: Webcam 046d:0897 added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10049): gspca - many subdrivers: Set 'const' the pixel format table.
Jean-Francois Moine [Mon, 29 Dec 2008 10:49:41 +0000 (07:49 -0300)]
V4L/DVB (10049): gspca - many subdrivers: Set 'const' the pixel format table.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10048): gspca - stv06xx: New subdriver.
Erik Andren [Mon, 29 Dec 2008 10:35:23 +0000 (07:35 -0300)]
V4L/DVB (10048): gspca - stv06xx: New subdriver.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10046): gspca - ov534: Use the gspca usb buf for usb control messages.
Jean-Francois Moine [Mon, 29 Dec 2008 09:19:43 +0000 (06:19 -0300)]
V4L/DVB (10046): gspca - ov534: Use the gspca usb buf for usb control messages.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10045): gspca - ov534: Remove empty line in trace.
Jean-Francois Moine [Sun, 28 Dec 2008 09:51:37 +0000 (06:51 -0300)]
V4L/DVB (10045): gspca - ov534: Remove empty line in trace.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10044): gspca - pac7311: Webcam 093a:2620 added.
Hans de Goede [Sat, 27 Dec 2008 06:43:53 +0000 (03:43 -0300)]
V4L/DVB (10044): gspca - pac7311: Webcam 093a:2620 added.

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 (10041): m5602 - rework parts of the resolution initialization
Erik Andrén [Tue, 23 Dec 2008 21:06:37 +0000 (18:06 -0300)]
V4L/DVB (10041): m5602 - rework parts of the resolution initialization

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10040): m5602 - ov9650: Activate variopixel
Erik Andrén [Tue, 23 Dec 2008 20:15:19 +0000 (17:15 -0300)]
V4L/DVB (10040): m5602 - ov9650: Activate variopixel

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10039): m5602 - ov9650: Add CIF mode
Erik Andrén [Tue, 23 Dec 2008 20:07:58 +0000 (17:07 -0300)]
V4L/DVB (10039): m5602 - ov9650: Add CIF mode

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10038): m5602: tweak the hsync. Remove redundant init sequence
Erik Andrén [Tue, 23 Dec 2008 17:08:07 +0000 (14:08 -0300)]
V4L/DVB (10038): m5602: tweak the hsync. Remove redundant init sequence

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10037): m5602: add QVGA mode for the ov9650 sensor
Erik Andrén [Mon, 22 Dec 2008 19:06:29 +0000 (16:06 -0300)]
V4L/DVB (10037): m5602: add QVGA mode for the ov9650 sensor

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10036): m5602 - ov9650: Prepare the sensor to set multiple resolutions
Erik Andrén [Sun, 21 Dec 2008 21:07:59 +0000 (18:07 -0300)]
V4L/DVB (10036): m5602 - ov9650: Prepare the sensor to set multiple resolutions

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10035): m5602: add a start sending hook in the sensor struct
Erik Andrén [Sun, 21 Dec 2008 20:25:25 +0000 (17:25 -0300)]
V4L/DVB (10035): m5602: add a start sending hook in the sensor struct

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10034): m5602: fixup offset in order to align image
Erik Andrén [Fri, 19 Dec 2008 16:29:21 +0000 (13:29 -0300)]
V4L/DVB (10034): m5602: fixup offset in order to align image

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10033): m5602: add some comments
Erik Andrén [Fri, 19 Dec 2008 16:12:04 +0000 (13:12 -0300)]
V4L/DVB (10033): m5602: add some comments

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10032): m5602: add vflip quirk for Alienware m9700
Erik Andrén [Fri, 19 Dec 2008 06:29:31 +0000 (03:29 -0300)]
V4L/DVB (10032): m5602: add vflip quirk for Alienware m9700

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10031): m5602: correct the name of the Pascal Stangs library
Erik Andrén [Mon, 1 Dec 2008 06:32:59 +0000 (03:32 -0300)]
V4L/DVB (10031): m5602: correct the name of the Pascal Stangs library

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10030): m5602: Use read/modify/write when toggling vflip on the po1030
Erik Andrén [Thu, 27 Nov 2008 17:07:24 +0000 (14:07 -0300)]
V4L/DVB (10030): m5602: Use read/modify/write when toggling vflip on the po1030

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10029): m5602: remove uneeded test on po1030
Erik Andrén [Thu, 27 Nov 2008 16:58:20 +0000 (13:58 -0300)]
V4L/DVB (10029): m5602: remove uneeded test on po1030

The po1030 never sends long i2c messages, no need to test for that 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 (10028): mt5602: Remove the s5k83a specific read_sensor function
Erik Andrén [Thu, 27 Nov 2008 16:55:07 +0000 (13:55 -0300)]
V4L/DVB (10028): mt5602: Remove the s5k83a specific read_sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10027): m5602: convert the s5k83a sensor to use the common function
Erik Andrén [Thu, 27 Nov 2008 16:54:13 +0000 (13:54 -0300)]
V4L/DVB (10027): m5602: convert the s5k83a sensor to use the common function

Convert the s5k83a sensor to use the common read_sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10026): m5602: remove the s5k4aa implementation of the read_sensor
Erik Andrén [Thu, 27 Nov 2008 16:52:53 +0000 (13:52 -0300)]
V4L/DVB (10026): m5602: remove the s5k4aa implementation of the read_sensor

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10025): m5602: convert the s5k4aa sensor to use the common function
Erik Andrén [Thu, 27 Nov 2008 16:51:11 +0000 (13:51 -0300)]
V4L/DVB (10025): m5602: convert the s5k4aa sensor to use the common function

Convert the s5k4aa sensor to use the common read_sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10024): m5602: Remove the mt9m111 implementation of the read_sensor function.
Erik Andrén [Thu, 27 Nov 2008 16:50:17 +0000 (13:50 -0300)]
V4L/DVB (10024): m5602: Remove the mt9m111 implementation of the read_sensor function.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10023): m5602: Convert the mt9m111 to use the common read_sensor function
Erik Andrén [Thu, 27 Nov 2008 16:48:33 +0000 (13:48 -0300)]
V4L/DVB (10023): m5602: Convert the mt9m111 to use the common read_sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10022): m5602: Remove the po1030 read_sensor function
Erik Andrén [Thu, 27 Nov 2008 16:47:21 +0000 (13:47 -0300)]
V4L/DVB (10022): m5602: Remove the po1030 read_sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10021): m5602: Let the po1030 use the common read_sensor function
Erik Andrén [Thu, 27 Nov 2008 16:46:39 +0000 (13:46 -0300)]
V4L/DVB (10021): m5602: Let the po1030 use the common read_sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10020): m5602: Remove the ov9650 implementation of the read sensor function
Erik Andrén [Thu, 27 Nov 2008 16:44:19 +0000 (13:44 -0300)]
V4L/DVB (10020): m5602: Remove the ov9650 implementation of the read sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10019): m5602: Let the ov9650 use the common read sensor function
Erik Andrén [Thu, 27 Nov 2008 16:42:45 +0000 (13:42 -0300)]
V4L/DVB (10019): m5602: Let the ov9650 use the common read sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10018): gspca - m5602 - ov9650: Use generic read_sensor function
Erik Andrén [Thu, 27 Nov 2008 16:41:55 +0000 (13:41 -0300)]
V4L/DVB (10018): gspca - m5602 - ov9650: Use generic read_sensor function

Toggle read sensor sequence depending on type of sensor. Check that no
more than max width of a sensor is read.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10015): gspca - m5602: Add initial read sensor implementation
Erik Andrén [Wed, 26 Nov 2008 16:15:35 +0000 (13:15 -0300)]
V4L/DVB (10015): gspca - m5602: Add initial read sensor implementation

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10014): gspca - m5602: Remove all sensor specific write functions.
Erik Andrén [Wed, 26 Nov 2008 07:12:59 +0000 (04:12 -0300)]
V4L/DVB (10014): gspca - m5602: Remove all sensor specific write functions.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10013): Convert all sensors to use the unified write sensor function
Erik Andrén [Wed, 26 Nov 2008 07:08:10 +0000 (04:08 -0300)]
V4L/DVB (10013): Convert all sensors to use the unified write sensor function

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10012): m5602: Start to unify read/write sensor functions
Erik Andrén [Wed, 26 Nov 2008 07:01:40 +0000 (04:01 -0300)]
V4L/DVB (10012): m5602: Start to unify read/write sensor functions

First step into unifying the read and write sensor functions

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10011): m5602: Remove the write and read sensor from the main struct
Erik Andrén [Tue, 25 Nov 2008 06:50:05 +0000 (03:50 -0300)]
V4L/DVB (10011): m5602: Remove the write and read sensor from the main struct

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10010): gspca - m5602: Add vflip quirk for the ASUS A6Ja
Erik Andrén [Tue, 25 Nov 2008 06:15:15 +0000 (03:15 -0300)]
V4L/DVB (10010): gspca - m5602: Add vflip quirk for the ASUS A6Ja

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10009): gspca - m5602: Convert some functions to be static
Erik Andrén [Mon, 24 Nov 2008 17:21:29 +0000 (14:21 -0300)]
V4L/DVB (10009): gspca - m5602: Convert some functions to be static

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10008): gspca - m5602: Checkpatch.pl fixes on m5602_ov9650.c
Erik Andrén [Mon, 24 Nov 2008 17:12:46 +0000 (14:12 -0300)]
V4L/DVB (10008): gspca - m5602: Checkpatch.pl fixes on m5602_ov9650.c

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10007): gspca - m5602: Refactor the error handling in the s5k83a
Erik Andrén [Thu, 20 Nov 2008 17:11:58 +0000 (14:11 -0300)]
V4L/DVB (10007): gspca - m5602: Refactor the error handling in the s5k83a

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10006): gspca - m5602: Align some defines
Erik Andrén [Thu, 20 Nov 2008 17:03:22 +0000 (14:03 -0300)]
V4L/DVB (10006): gspca - m5602: Align some defines

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10005): m5602: Cleanup the s5k4aa error handling, cull some comments
Erik Andrén [Thu, 20 Nov 2008 07:02:44 +0000 (04:02 -0300)]
V4L/DVB (10005): m5602: Cleanup the s5k4aa error handling, cull some comments

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10004): m5602: Cleanup the po1030 sensor error handling
Erik Andrén [Thu, 20 Nov 2008 06:59:02 +0000 (03:59 -0300)]
V4L/DVB (10004): m5602: Cleanup the po1030 sensor error handling

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10003): m5602: Simplify the error handling in the ov9650 sensor
Erik Andrén [Thu, 20 Nov 2008 06:54:43 +0000 (03:54 -0300)]
V4L/DVB (10003): m5602: Simplify the error handling in the ov9650 sensor

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10002): m5602: Simplify error handling in the mt9m111 sensor code
Erik Andrén [Thu, 20 Nov 2008 06:46:55 +0000 (03:46 -0300)]
V4L/DVB (10002): m5602: Simplify error handling in the mt9m111 sensor code

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10001): gspca - m5602: Minor fixes
Erik Andrén [Thu, 20 Nov 2008 06:41:44 +0000 (03:41 -0300)]
V4L/DVB (10001): gspca - m5602: Minor fixes

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (10000): gspca - m5602: Add lost ampersand
Erik Andrén [Wed, 19 Nov 2008 20:58:55 +0000 (17:58 -0300)]
V4L/DVB (10000): gspca - m5602: Add lost ampersand

This restores the correct boolean expression

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9999): gspca - zc3xx: Webcam 046d:089d added.
Fabio Rossi [Fri, 26 Dec 2008 17:41:48 +0000 (14:41 -0300)]
V4L/DVB (9999): gspca - zc3xx: Webcam 046d:089d added.

Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9997): gspca - main: Don't lock the kernel on ioctl.
Jean-Francois Moine [Wed, 24 Dec 2008 08:50:04 +0000 (05:50 -0300)]
V4L/DVB (9997): gspca - main: Don't lock the kernel on ioctl.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9995): gspca - ov534 and m5602: Set static some functions/variables.
Jean-Francois Moine [Sun, 21 Dec 2008 18:02:54 +0000 (15:02 -0300)]
V4L/DVB (9995): gspca - ov534 and m5602: Set static some functions/variables.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9994): gspca: t613: Bad loop in om6802 reset.
Roel Kluin [Sun, 21 Dec 2008 14:58:05 +0000 (11:58 -0300)]
V4L/DVB (9994): gspca: t613: Bad loop in om6802 reset.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9992): gspca - pac207: Webcam 093a:2461 added.
Hans de Goede [Sat, 20 Dec 2008 17:30:58 +0000 (14:30 -0300)]
V4L/DVB (9992): gspca - pac207: Webcam 093a:2461 added.

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 (9991): gspca - main: Check if a buffer has been queued on streamon.
Jean-Francois Moine [Fri, 19 Dec 2008 18:17:25 +0000 (15:17 -0300)]
V4L/DVB (9991): gspca - main: Check if a buffer has been queued on streamon.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9990): gspca - main: Remove useless tests of the buffer type.
Jean-Francois Moine [Fri, 19 Dec 2008 18:08:51 +0000 (15:08 -0300)]
V4L/DVB (9990): gspca - main: Remove useless tests of the buffer type.

The buffer type is already checked in v4l2-ioctl.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9988): gspca - spca561: Separate the bridge and sensor tables of Rev72a
Jean-Francois Moine [Fri, 19 Dec 2008 10:21:26 +0000 (07:21 -0300)]
V4L/DVB (9988): gspca - spca561: Separate the bridge and sensor tables of Rev72a

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9987): gspca - spca561: Control changes for Rev72a.
Jean-Francois Moine [Thu, 18 Dec 2008 15:38:15 +0000 (12:38 -0300)]
V4L/DVB (9987): gspca - spca561: Control changes for Rev72a.

- move the rev12a sequence from setcontrast to end of start
- add the white balance control for rev72a
- adjust the contrast formula

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9986): gspca - spca561: Don't get the control values from the webcam.
Jean-Francois Moine [Wed, 17 Dec 2008 17:43:05 +0000 (14:43 -0300)]
V4L/DVB (9986): gspca - spca561: Don't get the control values from the webcam.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9985): gspca - spca561: Cleanup source.
Jean-Francois Moine [Wed, 17 Dec 2008 17:34:53 +0000 (14:34 -0300)]
V4L/DVB (9985): gspca - spca561: Cleanup source.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9984): gspca - pac7311: Webcam 093a:262c added.
Jean-Francois Moine [Mon, 15 Dec 2008 07:12:57 +0000 (04:12 -0300)]
V4L/DVB (9984): gspca - pac7311: Webcam 093a:262c added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9982): gspca - pac207: Update my email address.
Hans de Goede [Sun, 14 Dec 2008 12:37:02 +0000 (09:37 -0300)]
V4L/DVB (9982): gspca - pac207: Update my email address.

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 (9981): [PATCH] usb-urb.c: Fix initialization of URB list.
Thomas Reitmayr [Mon, 29 Dec 2008 13:59:29 +0000 (10:59 -0300)]
V4L/DVB (9981): [PATCH] usb-urb.c: Fix initialization of URB list.

Fix the initialization of the URB list for a DVB-USB device to prevent
problems on certain platforms (MIPS).

Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9980): em28xx: simplify analog logic
Mauro Carvalho Chehab [Mon, 29 Dec 2008 01:26:36 +0000 (22:26 -0300)]
V4L/DVB (9980): em28xx: simplify analog logic

Now, just two routines are enough for analog: the first one configs the analog
part and register V4L2 devices, and the second one release analog devices.

After this patch, it will be easier to transform em28xx-video into an em28xx
extension, loaded only on analog devices.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9979): em28xx: move usb probe code to a proper place
Mauro Carvalho Chehab [Mon, 29 Dec 2008 01:18:14 +0000 (22:18 -0300)]
V4L/DVB (9979): em28xx: move usb probe code to a proper place

em28xx-video were holding several code that are not specific to V4L2
interface.

This patch moves the core code for em28xx-core, and usb probing code
into em28xx-cards.

This opens the possibility of breaking em28xx into a core module and a
V4L2 module, loaded only on devices that have analog interfaces.

Some cleanup may be done at em28xx-cards to optimize the config code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9978): stkwebcam: Implement VIDIOC_ENUM_FRAMESIZES ioctl
Jaime Velasco Juan [Thu, 25 Dec 2008 10:04:52 +0000 (07:04 -0300)]
V4L/DVB (9978): stkwebcam: Implement VIDIOC_ENUM_FRAMESIZES ioctl

This patch implements VIDIOC_ENUM_FRAMESIZES, it is used at least
by gstreamer.

Signed-off-by: Jaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9977): Kbuild: fix compilation when dib7000p is not defined
Mauro Carvalho Chehab [Fri, 26 Dec 2008 10:07:39 +0000 (07:07 -0300)]
V4L/DVB (9977): Kbuild: fix compilation when dib7000p is not defined

dib7000p.h defines a few extern symbols when CONFIG_DVB_DIB7000P is not set. since the
header is used on more than one driver, this causes symbol duplication, as pointed by
Ingo Molnar <mingo@elte.hu>:

drivers/media/dvb/built-in.o: In function `dib7000p_set_gpio':
(.text+0x3f242): multiple definition of `dib7000p_set_gpio'
drivers/media/video/built-in.o:(.text+0xb8c1e): first defined here
drivers/media/dvb/built-in.o: In function `dib7000p_i2c_enumeration':
(.text+0x3f282): multiple definition of `dib7000p_i2c_enumeration'
drivers/media/video/built-in.o:(.text+0xb8c3e): first defined here
drivers/media/dvb/built-in.o: In function `dib7000p_set_wbd_ref':
(.text+0x3f1c1): multiple definition of `dib7000p_set_wbd_ref'
drivers/media/video/built-in.o:(.text+0xb8bfe): first defined here
  LD      drivers/net/built-in.o
make[2]: *** [drivers/media/built-in.o] Error 1

Cc: Patrick Boettcher <patrick.boettcher@desy.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9975): ivtv: set v4l2_dev instead of parent.
Hans Verkuil [Tue, 23 Dec 2008 10:35:45 +0000 (07:35 -0300)]
V4L/DVB (9975): ivtv: set v4l2_dev instead of parent.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9974): v4l2-dev: allow drivers to pass v4l2_device as parent
Hans Verkuil [Tue, 23 Dec 2008 10:35:17 +0000 (07:35 -0300)]
V4L/DVB (9974): v4l2-dev: allow drivers to pass v4l2_device as parent

Drivers that use v4l2_device can set that as parent pointer in the v4l2_dev
field instead of using the struct device parent field.

This allows v4l2-dev.c to check whether this driver is v4l2_device based,
and if so then it can offer additional services.

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