]> err.no Git - linux-2.6/log
linux-2.6
18 years agoV4L/DVB (4163): Initialize ATSC frontend
Manu Abraham [Wed, 21 Jun 2006 13:27:46 +0000 (10:27 -0300)]
V4L/DVB (4163): Initialize ATSC frontend

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4162): Explicit defining of type is not necessary with MULTI_FE
Manu Abraham [Wed, 21 Jun 2006 13:27:40 +0000 (10:27 -0300)]
V4L/DVB (4162): Explicit defining of type is not necessary with MULTI_FE

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4161): Utilize the device specific algorithm callbacks
Manu Abraham [Wed, 21 Jun 2006 13:27:36 +0000 (10:27 -0300)]
V4L/DVB (4161): Utilize the device specific algorithm callbacks

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4160): Use device specific algorithms
Manu Abraham [Wed, 21 Jun 2006 13:27:31 +0000 (10:27 -0300)]
V4L/DVB (4160): Use device specific algorithms

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4159): Implement tuning algorithm as a module parameter
Manu Abraham [Wed, 21 Jun 2006 13:27:26 +0000 (10:27 -0300)]
V4L/DVB (4159): Implement tuning algorithm as a module parameter

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4158): Make ASIC RESET Conditional
Manu Abraham [Wed, 21 Jun 2006 13:27:20 +0000 (10:27 -0300)]
V4L/DVB (4158): Make ASIC RESET Conditional

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4157): Add support for VP-3250 ATSC card
Manu Abraham [Wed, 21 Jun 2006 13:27:15 +0000 (10:27 -0300)]
V4L/DVB (4157): Add support for VP-3250 ATSC card

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4156): Add basic ATSC support to DST
Manu Abraham [Wed, 21 Jun 2006 13:27:05 +0000 (10:27 -0300)]
V4L/DVB (4156): Add basic ATSC support to DST

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4155): ATSC frontend support
Manu Abraham [Wed, 21 Jun 2006 13:27:00 +0000 (10:27 -0300)]
V4L/DVB (4155): ATSC frontend support

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4154): Fix use-after-free bug in cpia2 driver
Jesper Juhl [Fri, 23 Jun 2006 16:27:36 +0000 (13:27 -0300)]
V4L/DVB (4154): Fix use-after-free bug in cpia2 driver

The coverity checker detected a use-after-free error in
drivers/media/video/cpia2/cpia2_v4l.c::cpia2_close() (coverity
error #1281).
What happens is that we lock cam->busy_lock, then proceed to free
resources, and in the case of (--cam->open_count == 0) we finish off by
doing a kfree(cam) and then at the end of the function we do a
mutex_unlock(&cam->busy_lock) which will explode since it'll dereference
the free'd `cam' :
...
mutex_lock(&cam->busy_lock);
...
if (--cam->open_count == 0) {
    ...
    if (!cam->present) {
        video_unregister_device(dev);
        kfree(cam);
    }
}
mutex_unlock(&cam->busy_lock);   <--- PROBLEM, cam no longer around.
...
Since this only happens in the case of open_count going down to zero I
don't see a problem with just releasing the mutex after unregistering the
device and just before the kfree().  In this case there is nothing around
that we can race against; we are in the release method, open_count is zero,
(!cam->present) and the device has just been unregistered, so letting go of
the mutex at this point looks safe to me.
Patch below to implement that solution.
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4150): Cx88: clear EN_I2SIN_ENABLE bit for ASUS PVR-416 to enable audio
Michael Krufky [Fri, 23 Jun 2006 02:13:06 +0000 (23:13 -0300)]
V4L/DVB (4150): Cx88: clear EN_I2SIN_ENABLE bit for ASUS PVR-416 to enable audio

clear EN_I2SIN_ENABLE bit for ASUS PVR-416 to enable audio
streaming in both raw video and blackbird mpeg encoder modes.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4149): Fix up funky logic in dvb
Dave Jones [Fri, 23 Jun 2006 12:01:42 +0000 (09:01 -0300)]
V4L/DVB (4149): Fix up funky logic in dvb

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4148): Fix userbits debug prints
Mauro Carvalho Chehab [Fri, 23 Jun 2006 10:05:22 +0000 (07:05 -0300)]
V4L/DVB (4148): Fix userbits debug prints

Previously, it were showing the pointer value, instead of
the setted bits.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4147): Drivers/media/video/pwc/: make code static
Adrian Bunk [Fri, 23 Jun 2006 09:49:34 +0000 (06:49 -0300)]
V4L/DVB (4147): Drivers/media/video/pwc/: make code static

This patch makes the following needlessly global code static:
- pwc-ctrl.c: pwc_get_leds()
- pwc_preferred_compression

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4146): Drivers/media/video/vivi.c: make 2 functions static
Adrian Bunk [Fri, 23 Jun 2006 09:42:44 +0000 (06:42 -0300)]
V4L/DVB (4146): Drivers/media/video/vivi.c: make 2 functions static

Make two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4144): Cx88: add support for FusionHDTV 3 Gold (original revision)
Michael Krufky [Wed, 21 Jun 2006 19:04:33 +0000 (16:04 -0300)]
V4L/DVB (4144): Cx88: add support for FusionHDTV 3 Gold (original revision)

Add support for FusionHDTV 3 Gold (original revision), using the
card definition for FusionHDTV3 Gold-Q

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4135): Cx88-tvaudio.c must #include <linux/config.h>
Michael Krufky [Mon, 19 Jun 2006 12:54:00 +0000 (09:54 -0300)]
V4L/DVB (4135): Cx88-tvaudio.c must #include <linux/config.h>

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4132): Don't kill cx88 DMA sound on channel change
Ricardo Cerqueira [Sun, 18 Jun 2006 03:21:49 +0000 (00:21 -0300)]
V4L/DVB (4132): Don't kill cx88 DMA sound on channel change

There's a call at cx88-tvaudio to reset DMA sound on channel change; that
call was killing cx88-alsa whenever the channel was changed, resulting
in no sound. Remove those calls if cx88-alsa is selected to be compiled.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4131): Fix cx88-alsa vs IRQ remote conflict
Ricardo Cerqueira [Sun, 18 Jun 2006 03:19:22 +0000 (00:19 -0300)]
V4L/DVB (4131): Fix cx88-alsa vs IRQ remote conflict

cx88-alsa was resetting the card on load, causing the IRQ IR handler
to go away (maybe others, too). There's no actual need to reset the
card, though, so that line was removed

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4130): Fix card cx88 #50 remote
Ricardo Cerqueira [Sun, 18 Jun 2006 03:17:35 +0000 (00:17 -0300)]
V4L/DVB (4130): Fix card cx88 #50 remote

There was an unmasked bit in the keycodes that was causing random
behaviour (the code could be N or N+1). Masked that bit now.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4124): Kconfig: fix description for saa7115 module
Michael Krufky [Tue, 20 Jun 2006 18:56:02 +0000 (15:56 -0300)]
V4L/DVB (4124): Kconfig: fix description for saa7115 module

This Kconfig description is incorrect, due to a previous merge a while back.
CONFIG_SAA711X builds module saa7115, which is the newer module, and is
not obsoleted.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4122): Lgdt330x: fix missing line in VSB snr decoding logic
Mac Michaels [Tue, 20 Jun 2006 12:18:13 +0000 (09:18 -0300)]
V4L/DVB (4122): Lgdt330x: fix missing line in VSB snr decoding logic

- fix missing line in VSB snr decoding logic for lgdt3303

Signed-off-by: Mac Michaels <wmichaels@earthlink.net>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4121): Update cardlist documentation
Michael Krufky [Tue, 20 Jun 2006 12:17:48 +0000 (09:17 -0300)]
V4L/DVB (4121): Update cardlist documentation

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4120): Ovcamship position at Kconfig changed
Mauro Carvalho Chehab [Tue, 20 Jun 2006 18:03:19 +0000 (15:03 -0300)]
V4L/DVB (4120): Ovcamship position at Kconfig changed

Ovcamship is used only on some USB webcams (OV511 and W9968CF)
Bettet to leave this item just after those webcams.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4118): Whitespace cleanups
Trent Piepho [Tue, 20 Jun 2006 03:30:57 +0000 (00:30 -0300)]
V4L/DVB (4118): Whitespace cleanups

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4115): Saa7134 card (LifeView3000 NTSC)
Zac Bowling [Mon, 19 Jun 2006 22:49:20 +0000 (19:49 -0300)]
V4L/DVB (4115): Saa7134 card (LifeView3000 NTSC)

Add detection for the LifeView3000 NTSC model (right now the PAL version is
the only one in there, which is sort of annoying for me living in the US
and all..  sigh...)
This is one of those things that I like to classify "as a works for me so
take it or leave it" :-) .  Not that worried because its an $18 video
capture card that didn't look it was selling to well in the US, but then
again who knows.
The documentation needs updating too I bet but its behind anyways usually
to what is in the code.

Signed-off-by: Zac Bowling <zac@zacbowling.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4112): Fix: videodev.c were cleaning the pointer, not the values
Mauro Carvalho Chehab [Sat, 17 Jun 2006 11:52:30 +0000 (08:52 -0300)]
V4L/DVB (4112): Fix: videodev.c were cleaning the pointer, not the values

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4110): Small bug in saa7127.c
Jose Alberto Reguero [Sat, 17 Jun 2006 11:05:41 +0000 (08:05 -0300)]
V4L/DVB (4110): Small bug in saa7127.c

Fix wrong wss debug info.

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4108): Fixes some userspace dependencies at V4L2 public api header
Mauro Carvalho Chehab [Sat, 17 Jun 2006 10:57:03 +0000 (07:57 -0300)]
V4L/DVB (4108): Fixes some userspace dependencies at V4L2 public api header

Make life easier for distro guys, by removing the need of including
at the userspace header.
Also, linux/compiler.h is not needed at userspace.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4106): Fix problems with AV7110 firmware building
Trent Piepho [Sat, 17 Jun 2006 10:48:03 +0000 (07:48 -0300)]
V4L/DVB (4106): Fix problems with AV7110 firmware building

Fix missing $() on variable name in dvb/ttpci/Makefile
Fix AV7110 firmware dependencies so that parallel builds work correctly.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4105): Remove uneeded prototype
Trent Piepho [Tue, 20 Jun 2006 04:26:39 +0000 (01:26 -0300)]
V4L/DVB (4105): Remove uneeded prototype

Uneeded extern prototype is removed, as the function is
prototyped at media/v4l2-common.h.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4104): Default "yes", no. default y, yes.
Trent Piepho [Sat, 17 Jun 2006 10:46:31 +0000 (07:46 -0300)]
V4L/DVB (4104): Default "yes", no.  default y, yes.

The Kernel config programs expect 'default y' and don't understand
'default "yes"'.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4099): Cx88-dvb: clean up long linewraps
Michael Krufky [Mon, 12 Jun 2006 17:18:26 +0000 (14:18 -0300)]
V4L/DVB (4099): Cx88-dvb: clean up long linewraps

This patch splits up dvb_pll_attach and isl6421_attach function calls
such that the lines do not exceed 80 columns. This patch is purely cosmetic,
with no functional change at all.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4098): Cx88: #ifdef cleanups
Michael Krufky [Mon, 12 Jun 2006 17:06:22 +0000 (14:06 -0300)]
V4L/DVB (4098): Cx88: #ifdef cleanups

- moved CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL frontend_attach code up
  to share the #ifdef block with CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4097): Cx88: add support for DViCO FusionHDTV DVB-T Dual PCI based on zl10353
Michael Krufky [Mon, 12 Jun 2006 16:41:47 +0000 (13:41 -0300)]
V4L/DVB (4097): Cx88: add support for DViCO FusionHDTV DVB-T Dual PCI based on zl10353

This patch adds support for a newer version of this device
using the zl10353 frontend instead of the mt352 frontend.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4096): CinergyT2: whitespace cleanup
Michael Krufky [Mon, 12 Jun 2006 16:40:37 +0000 (13:40 -0300)]
V4L/DVB (4096): CinergyT2: whitespace cleanup

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4094): Cxusb: add support for DViCO FusionHDTV DVB-T Dual USB based on zl10353
Michael Krufky [Sun, 11 Jun 2006 07:24:31 +0000 (04:24 -0300)]
V4L/DVB (4094): Cxusb: add support for DViCO FusionHDTV DVB-T Dual USB based on zl10353

This patch adds support for a newer version of this device
using the zl10353 frontend instead of the mt352 frontend.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3426): PATCH cx88-mpeg: cx8802_restart_queue() for blackbird
Jelle Foks [Thu, 9 Mar 2006 20:44:07 +0000 (17:44 -0300)]
V4L/DVB (3426): PATCH cx88-mpeg: cx8802_restart_queue() for blackbird

Fixes "cx8802_restart_queue: queue is empty" storm in syslog

Signed-off-by: Jelle Foks <jelle@foks.8m.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4090): Fix cinergyt2_poll() to allow non-blocking IO on frontend
Dyks, Axel (XL) [Sun, 11 Jun 2006 20:14:35 +0000 (17:14 -0300)]
V4L/DVB (4090): Fix cinergyt2_poll() to allow non-blocking IO on frontend

cinergyt2_poll()" shouldn't return (POLLIN | POLLRDNORM | POLLPRI) when
there are no pending events. User space programs that do non-bocking IO
using "select()" and/or "poll()" would otherwise produce high system load.
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Axel Dyks <xl@xlsigned.net>
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4088): Fixes for card cx88 #50
Ricardo Cerqueira [Thu, 8 Jun 2006 20:36:17 +0000 (17:36 -0300)]
V4L/DVB (4088): Fixes for card cx88 #50

The description of the card has been updated to it's full name/model.
The tuner has also been switched to a more compatible one (radio
wasn't working, now it is)

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4086): There were a cross-reference on cpia and cpia_pp/cpia_usb
Mauro Carvalho Chehab [Thu, 8 Jun 2006 20:16:46 +0000 (17:16 -0300)]
V4L/DVB (4086): There were a cross-reference on cpia and cpia_pp/cpia_usb

Those cross-references were generating an error:
*** Warning: "cpia_pp_init" [/home/v4l/master/v4l/cpia.ko] undefined!
*** Warning: "cpia_usb/_init" [/home/v4l/master/v4l/cpia.ko] undefined!

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4073): Support for new version of Satelco EasyWatch DVB-S light
Lothar Englisch [Tue, 6 Jun 2006 19:13:46 +0000 (16:13 -0300)]
V4L/DVB (4073): Support for new version of Satelco EasyWatch DVB-S light

This patch adds support for Satelco EasyWatch DVB-S light card,
a clone of the KNC 1, with PCI subsystem ID 1894:001e

Signed-off-by: Lothar Englisch <Lothar.Englisch@lycos.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4072): Cx88: whitespace cleanup
Michael Krufky [Tue, 6 Jun 2006 18:51:38 +0000 (15:51 -0300)]
V4L/DVB (4072): Cx88: whitespace cleanup

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4070): Zoran strncpy() fix
Eric Sesterhenn [Tue, 6 Jun 2006 14:20:08 +0000 (11:20 -0300)]
V4L/DVB (4070): Zoran strncpy() fix

The zoran driver uses strncpy() in an unsafe way.  This patch uses the proper
sizeof()-1 size parameter.  Since all strncpy() targets are initialised with
memset() the trailing '\0' is already set.  Where std->name was the target for
the strncpy() we overwrote 8 Bytes of the std structure with zeros.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4068): Removed all references to kernel stuff from videodev.h and videodev2.h
Mauro Carvalho Chehab [Mon, 5 Jun 2006 13:26:32 +0000 (10:26 -0300)]
V4L/DVB (4068): Removed all references to kernel stuff from videodev.h and videodev2.h

The videodev.h and videodev2.h describe the public API for V4L and V4L2.
It shouldn't have there any kernel-specific stuff. Those were moved to
v4l2-dev.h.
This patch removes some uneeded headers and include v4l2-common.h on all
V4L driver. This header includes device implementation of V4L2 API provided
on v4l2-dev.h as well as V4L2 internal ioctls that provides connections
between master driver and its i2c devices.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4067): Fixed cx25840 to work with PAL/M
Mauro Carvalho Chehab [Sun, 4 Jun 2006 15:15:55 +0000 (12:15 -0300)]
V4L/DVB (4067): Fixed cx25840 to work with PAL/M

Sub-carrier frequency for PAL/M is slicely different than NTSC/M.
Without this patch, colors don't work on PAL/M.
Setting method also improved to allow other video standards to be included.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4066): Vivi.c were ported to the newer videodev2 format.
Mauro Carvalho Chehab [Sun, 4 Jun 2006 13:34:12 +0000 (10:34 -0300)]
V4L/DVB (4066): Vivi.c were ported to the newer videodev2 format.

Several common handling codes were removed. Maybe even more
stuff may be handled at common infrastructure.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4065): Several improvements at videodev.c
Mauro Carvalho Chehab [Sun, 4 Jun 2006 13:06:18 +0000 (10:06 -0300)]
V4L/DVB (4065): Several improvements at videodev.c

Videodev now is capable of better handling V4L2 api, by
processing V4L2 ioctls and using callbacks to the driver.
The drivers should be migrated to the newer way and the older
one will be obsoleted soon.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4064): No drivers should use VIDIOC_*_OLD
Mauro Carvalho Chehab [Sun, 4 Jun 2006 12:11:13 +0000 (09:11 -0300)]
V4L/DVB (4064): No drivers should use VIDIOC_*_OLD

V4L core functions handle VIDIOC_*_OLD older ioctls.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4060): Make dvb/b2c2/flexcop-fe-tuner.c:alps_tdee4_stv0297_tuner_set_params...
Adrian Bunk [Mon, 29 May 2006 15:31:44 +0000 (12:31 -0300)]
V4L/DVB (4060): Make dvb/b2c2/flexcop-fe-tuner.c:alps_tdee4_stv0297_tuner_set_params() static

This patch makes the needlessly global
alps_tdee4_stv0297_tuner_set_params() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4058): Bttv: add autodetection support for Osprey 230
Michael Krufky [Fri, 26 May 2006 05:13:15 +0000 (02:13 -0300)]
V4L/DVB (4058): Bttv: add autodetection support for Osprey 230

- use eeprom data to detect Osprey 230

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4057): Cx88: IR remote support for DTV2000H
Malcolm Valentine [Mon, 29 May 2006 16:56:24 +0000 (13:56 -0300)]
V4L/DVB (4057): Cx88: IR remote support for DTV2000H

Adds support for the Y0400052 remote supplied with this card.
In addition to adding a number of buttons to the current winfast definition,
it enables all the keys currently masked out with #ifdef 0.

It is supplied separately as it remaps two keys from the current definition,
The teletext button now sends KEY_TEXT instead of KEY_SUBTITLE, as that
keycode is used by the subtitle button.
KEY_BACK was changed to KEY_LAST to group it with KEY_NEXT.

Other then that the keys don't overlap, so this should support several
different versions of the Leadtek remotes.

Signed-off-by: Malcolm Valentine <farkit@iinet.net.au>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4056): Cx88: Add basic support for Leadtek Winfast DTV2000H card
Malcolm Valentine [Mon, 29 May 2006 16:51:59 +0000 (13:51 -0300)]
V4L/DVB (4056): Cx88: Add basic support for Leadtek Winfast DTV2000H card

Add DVB-T and PAL-G television support for Winfast DTV2000H

Signed-off-by: Malcolm Valentine <farkit@iinet.net.au>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4053): KWorld HardwareMpegTV XPert: enable s-video/composite video inputs
Michael Krufky [Sun, 28 May 2006 04:43:35 +0000 (01:43 -0300)]
V4L/DVB (4053): KWorld HardwareMpegTV XPert: enable s-video/composite video inputs

- Enabled s-video and composite video inputs.
- Updated comments to reflect the current support for this card.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4052): Wrong syntax: instead of bool, it was written boolean
Mauro Carvalho Chehab [Sun, 28 May 2006 18:45:54 +0000 (15:45 -0300)]
V4L/DVB (4052): Wrong syntax: instead of bool, it was written boolean

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4050): Add NTSC sliced VBI support to the cx25840 module.
Christopher Neufeld [Wed, 24 May 2006 13:16:45 +0000 (10:16 -0300)]
V4L/DVB (4050): Add NTSC sliced VBI support to the cx25840 module.

NTSC sliced VBI support by Christopher Neufeld <television@cneufeld.ca>
with additional fixes by Hans Verkuil <hverkuil@xs4all.nl>.

Signed-off-by: Christopher Neufeld <television@cneufeld.ca>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4048): Add support for the Texas Instruments TLV320AIC23B audio codec
Scott Alfter [Sat, 20 May 2006 19:04:31 +0000 (16:04 -0300)]
V4L/DVB (4048): Add support for the Texas Instruments TLV320AIC23B audio codec

Signed-off-by: Scott Alfter <salfter@ssai.us>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4047): Doc. sources: expose video4linux/
Randy Dunlap [Fri, 26 May 2006 13:32:13 +0000 (10:32 -0300)]
V4L/DVB (4047): Doc. sources: expose video4linux/

Documentation/video4linux/:
Expose example and tool source files in the Documentation/ directory in
their own files instead of being buried (almost hidden) in readme/txt files.
This will make them more visible/usable to users who may need
to use them, to developers who may need to test with them, and
to janitors who would update them if they were more visible.
Also, if any of these possibly should not be in the kernel tree at
all, it will be clearer that they are here and we can discuss if
they should be removed.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4046): Trivial videodev2.h patch
David Mosberger-Tang [Fri, 26 May 2006 13:28:13 +0000 (10:28 -0300)]
V4L/DVB (4046): Trivial videodev2.h patch

linux/videodev2.h uses types such as __u8 but it fails to include
<linux/types.h>.  Within the kernel, that's not a problem because
<linux/time.h> already includes <linux/types.h>.  However, there are
user apps that try to include videodev2.h (e.g., ekiga) and at least
on ia64, it causes compilation failures since <linux/types.h> doesn't
get included for any other reason, leaving __u8 etc. undefined.  The
attached patch fixes the problem for me.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field...
Patrick Boettcher [Sun, 14 May 2006 08:01:31 +0000 (05:01 -0300)]
V4L/DVB (4028): Change dvb_frontend_ops to be a real field instead of a pointer field inside dvb_frontend

The dvb_frontend_ops is a pointer inside dvb_frontend. That's why every demod-driver
is having a field of dvb_frontend_ops in its private-state-struct and
using the reference for filling the pointer-field in dvb_frontend.
- It saves at least two lines of code per demod-driver,
- reduces object size (one less dereference per frontend_ops-access),
- be coherent with dvb_tuner_ops,
- makes it a little bit easier for newbies to understand how it works and
- avoids stupid mistakes because you would have to copy the dvb_frontend_ops
  always, before you could assign the static pointer directly, which was
  dangerous.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4027): Fixes after dvb_tuner_ops-conversion
Patrick Boettcher [Sun, 14 May 2006 07:49:00 +0000 (04:49 -0300)]
V4L/DVB (4027): Fixes after dvb_tuner_ops-conversion

Some of the dvb_tuner_ops-pointer were set before having a dvb_frontend creating.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4043): Miropcm20: fix sub-optimal header inclusion for sound/oss/aci.h
Michael Krufky [Tue, 23 May 2006 21:39:29 +0000 (18:39 -0300)]
V4L/DVB (4043): Miropcm20: fix sub-optimal header inclusion for sound/oss/aci.h

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4042): Documentation: whitespace cleanup
Michael Krufky [Tue, 23 May 2006 20:41:31 +0000 (17:41 -0300)]
V4L/DVB (4042): Documentation: whitespace cleanup

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4038): New cx88 card #50: NPG Tech RealTV
Ricardo Cerqueira [Mon, 22 May 2006 10:44:02 +0000 (07:44 -0300)]
V4L/DVB (4038): New cx88 card #50: NPG Tech RealTV

Added support for a new cx88 card, including it's remote

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4036): Fix some compilation warnings
Mauro Carvalho Chehab [Fri, 19 May 2006 16:08:09 +0000 (13:08 -0300)]
V4L/DVB (4036): Fix some compilation warnings

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4032): Fix Pinnacle 300i
Andrew de Quincey [Tue, 16 May 2006 20:22:02 +0000 (17:22 -0300)]
V4L/DVB (4032): Fix Pinnacle 300i

I had broken the mt352 tuning when a non-directly connected PLL was used -
uncommon, but this is what is used on the pinnacle card.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4030): Minor code cleanup on the genpix-module
Patrick Boettcher [Sun, 14 May 2006 16:29:48 +0000 (13:29 -0300)]
V4L/DVB (4030): Minor code cleanup on the genpix-module

Minor code cleanup on the genpix-module.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4029): [PATCH] Genpix 8PSK->USB driver (Take 2)
Alan Nisota [Sun, 14 May 2006 16:23:56 +0000 (13:23 -0300)]
V4L/DVB (4029): [PATCH] Genpix 8PSK->USB driver (Take 2)

This is a patch which includes support for the GENPIX 8PSK->USB module.  The
board supports QPSK, BPSK and 8PSK decoding (though I don't think it will be
DVB-S2 compliant) With the following patch, the boad is equivalent to a budget
card (no CA Module)
The patch which adds 8psk suppot will follow, but is seperate, as it requires
DVB-S2 support
More info on the board can be found at www.genpix-electronics.com (and they
host the requisite firmwares there as well)
Signed off by: Alan Nisota <alannisota@gmail.com>

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4026): Bttv-gpio-irq is no longer used, remove it
Ricardo Cerqueira [Thu, 18 May 2006 15:19:57 +0000 (12:19 -0300)]
V4L/DVB (4026): Bttv-gpio-irq is no longer used, remove it

This functionality was used when remote control input for BTTV was handled
by a standalone module, to hook some functions of that module into the main
bttv core.
Since that module is now extinct, this can go away

Signed-off-by: Ricardo Cerqueira <rmcc@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4023): Subject: Pinnacle PCTV grey remote control support
Sylvain Pasche [Sun, 26 Mar 2006 02:14:42 +0000 (23:14 -0300)]
V4L/DVB (4023): Subject: Pinnacle PCTV grey remote control support

This adds support for the older (?) Pinnacle PCTV remotes (with all buttons
colored in grey). There's no autodetection for the type of remote, though;
saa7134 defaults to the colored one, to use the grey remote the
"pinnacle_remote=1" option must be passed to the saa7134 module

Signed-off-by: Sylvain Pasche <sylvain.pasche@gmail.com>
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4018): Usbvideo/quickcam_messenger driver v4l
jayakumar.video@gmail.com [Wed, 17 May 2006 18:01:07 +0000 (15:01 -0300)]
V4L/DVB (4018): Usbvideo/quickcam_messenger driver v4l

Adds a usbvideo driver for the Logitech Quickcam Messenger USB webcam.

Signed-off-by: Jaya Kumar <jayakumar.video@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4016): Cx88-blackbird: add support for ProLink Pixelview Playtv@P7000
Angelo Marconi [Tue, 9 May 2006 21:27:48 +0000 (18:27 -0300)]
V4L/DVB (4016): Cx88-blackbird: add support for ProLink Pixelview Playtv@P7000

- Add support for ProLink Pixelview Playtv@P7000
Raw video and MPEG encoded video confirmed to work properly.
SVideo, Composite and FM inputs are untested - disabled for now.

Signed-off-by: Angelo Marconi <am@massalombarda.net>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4014): Remove the spagetti code gotos that aren't useful
Trent Piepho [Fri, 12 May 2006 23:36:24 +0000 (20:36 -0300)]
V4L/DVB (4014): Remove the spagetti code gotos that aren't useful

Some code had pointless gotos that just didn't make any sense.  They didn't
make the code smaller, or faster, or easier to understand.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4013): Change the sweeprate for TT C1500 using QAM64
Per Dalén [Fri, 12 May 2006 23:31:51 +0000 (20:31 -0300)]
V4L/DVB (4013): Change the sweeprate for TT C1500 using QAM64

This patch changes the sweeprate for TT C1500 using QAM64.
It has been proven to work using QAM64 at a SRate of 6875 for the two

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4012): Fix cx24123 diseqc
Andrew de Quincey [Fri, 12 May 2006 23:31:51 +0000 (20:31 -0300)]
V4L/DVB (4012): Fix cx24123 diseqc

Rework diseqc support to be more in line with the other demod drivers.
Fix Nova-S-Plus/Nova-SE2 diseqc.
Cleanup API.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4011): Fix PLL refactoring breakage to WinTV NOVA T USB 2 driver
Andrew de Quincey [Fri, 12 May 2006 23:31:51 +0000 (20:31 -0300)]
V4L/DVB (4011): Fix PLL refactoring breakage to WinTV NOVA T USB 2 driver

The calls to set the pll ops were in the wrong place - moved them.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4008): Audio soft reset improvements
Hans Verkuil [Sat, 29 Apr 2006 15:26:46 +0000 (12:26 -0300)]
V4L/DVB (4008): Audio soft reset improvements

The soft reset (de)assert commands where not at the right place.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4006): Stop/start microcontroller when changing sampling frequency
Hans Verkuil [Sat, 29 Apr 2006 15:11:18 +0000 (12:11 -0300)]
V4L/DVB (4006): Stop/start microcontroller when changing sampling frequency

Stop/start microcontroller when changing sampling frequency to prevent
tinny audio.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4005): Add support for the cx25836/7 video decoder.
Hans Verkuil [Sat, 22 Apr 2006 13:22:46 +0000 (10:22 -0300)]
V4L/DVB (4005): Add support for the cx25836/7 video decoder.

Signed-off-by: Scott Alfter <salfter@ssai.us>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4002): Adjust VBI offset to match value reported in VBI format
Trent Piepho [Wed, 24 May 2006 02:54:44 +0000 (23:54 -0300)]
V4L/DVB (4002): Adjust VBI offset to match value reported in VBI format

The actual offset of the start of VBI data is incorrectly documented for both
the cx2388x and bt8x8.  For the cx2388x, it appears to be about 220 to 224 +
VBI_V_DEL*2.  The driver has been incorrectly reporting an offset of 244.
This patch adjusts VBI_V_DEL to 10, so that the offset of 244 is correct.
This is the same offset as the bttv driver, and expected by some software.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4001): Cx88 NTSC VBI fixes
Michael Schimek [Mon, 22 May 2006 13:32:11 +0000 (10:32 -0300)]
V4L/DVB (4001): Cx88 NTSC VBI fixes

VBI (Closed Caption, CC) capturing never worked in NTSC mode with the
cx88 driver.
They were tested with libzvbi and a patched version of tvtime.

Signed-off-by: Michael H. Schimek <mschimek@gmx.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3996): Make the table static
Christoph Pfister [Mon, 22 May 2006 13:32:09 +0000 (10:32 -0300)]
V4L/DVB (3996): Make the table static

Signed-off-by: Christoph Pfister <christophpfister@bluemail.ch>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3995): Add missing include
Manu Abraham [Mon, 22 May 2006 13:32:08 +0000 (10:32 -0300)]
V4L/DVB (3995): Add missing include

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3991): Cx88: add autodetection for another Twinhan VP-3054 board.
Michael Krufky [Mon, 22 May 2006 13:32:05 +0000 (10:32 -0300)]
V4L/DVB (3991): Cx88: add autodetection for another Twinhan VP-3054 board.

Added autodetection for PCI subsystem id 1822:0019 to use
the card definition for CX88_BOARD_DNTV_LIVE_DVB_T_PRO

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3988): Add math routines required by DVB demods
Christoph Pfister [Mon, 22 May 2006 13:32:04 +0000 (10:32 -0300)]
V4L/DVB (3988): Add math routines required by DVB demods

Signed-off-by: Christoph Pfister <christophpfister@bluemail.ch>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3984): Fix CI interface on KNC1 DVBT and DVBC cards
Andrew de Quincey [Mon, 22 May 2006 13:32:02 +0000 (10:32 -0300)]
V4L/DVB (3984): Fix CI interface on KNC1 DVBT and DVBC cards

These cards need special handling for CI - reinitialising the frontend
device when the CI module is reset. Additionally the tda10021 needs to be set
into a different transport stream mode when a CI module is present.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3982): Cx88-blackbird: use encoder firmware filename defined in cx2341x.h
Michael Krufky [Mon, 22 May 2006 13:32:00 +0000 (10:32 -0300)]
V4L/DVB (3982): Cx88-blackbird: use encoder firmware filename defined in cx2341x.h

Since the filename of the cx23416 encoder firmware image
is defined in cx2341x.h, we don't need to explicitly define
it in cx88-blackbird.c anymore.
This changeset removes BLACKBIRD_FIRM_ENC_FILENAME,
replacing all occurrances with CX2341X_FIRM_ENC_FILENAME.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3973): Cx88-blackbird: pause the encoder during frequency change
Valentin Zagura [Mon, 22 May 2006 13:31:59 +0000 (10:31 -0300)]
V4L/DVB (3973): Cx88-blackbird: pause the encoder during frequency change

Added code to cx88-blackbird.c to treat the VIDIOC_S_FREQUENCY ioctl
to stop mpeg stream before changing the frequency and restart it after.
It seems that the mpeg stream needs to be paused while changing the
channel frequency, otherwise the mpeg encoder enters into a bad state,
producing artifacts.

Signed-off-by: Valentin Zagura <puthre@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3973a): Return value is ssize_t
Mauro Carvalho Chehab [Mon, 22 May 2006 13:31:57 +0000 (10:31 -0300)]
V4L/DVB (3973a): Return value is ssize_t

This patch fix a difference between v4l/dvb tree and kernel tree.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3971): Cx88-blackbird: use standard filename for cx23416 firmware
Michael Krufky [Mon, 22 May 2006 13:31:55 +0000 (10:31 -0300)]
V4L/DVB (3971): Cx88-blackbird: use standard filename for cx23416 firmware

cx88-blackbird uses the same encoder firmware for the cx23416 chip that is
used by ivtv and pvrusb2.
This patch alters the driver to expect the cx23416 encoder firmware to be
located in the file, "v4l-cx2341x-enc.fw", instead of using
"blackbird-fw-enc.bin"

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3970): Cx88-blackbird: use firmware api commands defined in cx2341x.h
Michael Krufky [Mon, 22 May 2006 13:31:54 +0000 (10:31 -0300)]
V4L/DVB (3970): Cx88-blackbird: use firmware api commands defined in cx2341x.h

This patch removes all of the BLACKBIRD_API #define's, instead
using the equivalent CX2341X_ENC #define's in cx2341x.h

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3968): Fix checking logic for a broken xawtv version
Mauro Carvalho Chehab [Mon, 22 May 2006 13:31:52 +0000 (10:31 -0300)]
V4L/DVB (3968): Fix checking logic for a broken xawtv version

moved from if to ifndef.
Also added such tests at gentree script. Gentree updated to its latest
version.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3968a): Remove compatibility check for I2C_PEC
Mauro Carvalho Chehab [Mon, 22 May 2006 13:31:50 +0000 (10:31 -0300)]
V4L/DVB (3968a): Remove compatibility check for I2C_PEC

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3967): Pwc-dec23 oops fix
akpm@osdl.org [Mon, 22 May 2006 13:31:49 +0000 (10:31 -0300)]
V4L/DVB (3967): Pwc-dec23 oops fix

drivers/media/video/pwc/pwc-dec23.c: In function `pwc_dec23_decompress':
drivers/media/video/pwc/pwc-dec23.c:885: warning: null argument where non-null required (arg 2)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3966): Core: ULE fixes and RFC4326 additions
Christian Praehauser [Mon, 22 May 2006 13:31:47 +0000 (10:31 -0300)]
V4L/DVB (3966): Core: ULE fixes and RFC4326 additions

Fix some problems regarding support for Unidirectional Lightweight
Encapsulation (ULE) in dvbnet.c.
The original ULE code was based on a draft.  In the meantime, ULE has been
published in RFC 4326 (ftp://ftp.rfc-editor.org/in-notes/rfc4326.txt).
With these fixes, and some additions (which are included in the patch), the
decaps code should now be complient to RFC4326.

Signed-off-by: Christian Praehauser <cpraehaus@cosy.sbg.ac.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3963): Em28xx/: possible cleanups
Adrian Bunk [Mon, 22 May 2006 13:31:42 +0000 (10:31 -0300)]
V4L/DVB (3963): Em28xx/: possible cleanups

This patch contains the following possible cleanups:
- make the following needlessly global functions static:
  - em28xx-core.c: em28xx_accumulator_set()
  - em28xx-core.c: em28xx_capture_area_set()
  - em28xx-core.c: em28xx_scaler_set()
  - em28xx-core.c: em28xx_isocIrq()
- remove the following unused EXPORT_SYMBOL's:
  - em28xx-cards.c: em28xx_boards
  - em28xx-cards.c: em28xx_bcount
  - em28xx-cards.c: em28xx_id_table

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3935): Add missing pll gate control calls
Andrew de Quincey [Mon, 22 May 2006 13:31:40 +0000 (10:31 -0300)]
V4L/DVB (3935): Add missing pll gate control calls

I'd missed some of these out, breaking the av7110 tuning. I then checked for
more and added them in where necessary. They may not actually be necessary
in all these locations, but if not, they'll simply have no effect.
Add small delay to stv0299 pll gate control to fix tuning problems.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3809c): Added cx2341x header file
Mauro Carvalho Chehab [Mon, 22 May 2006 13:31:38 +0000 (10:31 -0300)]
V4L/DVB (3809c): Added cx2341x header file

Date:

There are several drivers now using those cx2341x registers. This patch
creates a separate header for those registers.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3809b): Added missing docs at kernel tree
Mauro Carvalho Chehab [Mon, 22 May 2006 13:31:37 +0000 (10:31 -0300)]
V4L/DVB (3809b): Added missing docs at kernel tree

Date:

From: Mauro Carvalho Chehab <mchehab@infradead.org>

There are some docs at V4L/DVB tree that were never included at kernel.
This patch includes those docs.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3934): Support new dvb-ttusb-budget boards with stv0297
Thomas Kaiser [Fri, 28 Apr 2006 00:45:20 +0000 (21:45 -0300)]
V4L/DVB (3934): Support new dvb-ttusb-budget boards with stv0297

Added config switch to stv0297 to control i2c STOP during write behaviour.
Update frontend init in dvb-ttusb-budget.
Enable i2c STOP on other users of stv0297.

Signed-off-by: Thomas Kaiser <linux-dvb AT kaiser-linux.li>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>