linux-2.6
16 years agoV4L/DVB (7538): Adds selectable adapter numbers as per module option
Janne Grunau [Wed, 9 Apr 2008 22:13:13 +0000 (19:13 -0300)] 
V4L/DVB (7538): Adds selectable adapter numbers as per module option

The adapter_nr module options can be used to allocate static adapter
numbers on a driver level. It avoids problems with changing DVB apapter
numbers after warm/cold boot or device unplugging and repluging.

Each driver holds DVB_MAX_ADAPTER long array of the preferred order of
adapter numbers.

options dvb-usb-dib0700 adapter_nr=7,6,5,4,3,2,1,0 would result in a
reversed allocation of adapter numbers.

With adapter_nr=2,5 it tries first to get adapter number 2 and 5. If
both are already in use it will allocate the lowest free adapter number.

Signed-off-by: Janne Grunau <janne-dvb@grunau.be>
Acked-by: Hermann Pitton <hermann.pitton@arcor.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7537): cx88/saa7134: Fix: avoid OOPS on module unload
Mauro Carvalho Chehab [Fri, 11 Apr 2008 14:29:44 +0000 (11:29 -0300)] 
V4L/DVB (7537): cx88/saa7134: Fix: avoid OOPS on module unload

If frontend is not attached, both cx88-dvb and saa7134-dvb don't
register DVB. However, dvb unregister were inconditionally called.

Due to that, an OOPS is generated.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7535): saa717x: add new audio/video decoder i2c driver
Hans Verkuil [Wed, 9 Apr 2008 09:26:17 +0000 (06:26 -0300)] 
V4L/DVB (7535): saa717x: add new audio/video decoder i2c driver

Added the last remaining out-of-tree kernel driver from the ivtv project.
The saa717x is used in several Japanese cards and a Russian card. The
driver is not complete in that only NTSC is supported and no PAL/SECAM.

Hopefully this will be added in the future.

Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com>
Signed-off-by: Kyuma Ohta <whatisthis@jcom.home.ne.jp>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7534): ivtv: the upd* modules have to be probed to properly autodetect some...
Hans Verkuil [Mon, 7 Apr 2008 11:32:14 +0000 (08:32 -0300)] 
V4L/DVB (7534): ivtv: the upd* modules have to be probed to properly autodetect some cards

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7532): budget: Add support for Fujitsu Siemens DVB-T Activy Budget
Oliver Endriss [Wed, 9 Apr 2008 20:49:55 +0000 (17:49 -0300)] 
V4L/DVB (7532): budget: Add support for Fujitsu Siemens DVB-T Activy Budget

Implement support for Fujitsu Siemens DVB-T Activy Budget, sub-system id 0x1131:0x5f61.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7531): budget-av: Fix CI interface on (some) KNC1 DVBS cards
Christoph Pfister [Wed, 9 Apr 2008 20:37:36 +0000 (17:37 -0300)] 
V4L/DVB (7531): budget-av: Fix CI interface on (some) KNC1 DVBS cards

Quoting the commit introducing reinitialise_demod (3984 / by adq):
"These cards [KNC1 DVBT and DVBC] need special handling for CI - reinitialising the frontend
device when the CI module is reset."
Apparently my 1894:0010 also needs that fix, because once you initialise CI/CAM you lose lock.

Signed-off-by: Christoph Pfister <pfister@linuxtv.org>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7530): budget-av: Fix support for certain cams
Christoph Pfister [Wed, 9 Apr 2008 20:34:09 +0000 (17:34 -0300)] 
V4L/DVB (7530): budget-av: Fix support for certain cams

The current ci implementation doesn't accept 0xff when reading data bytes (address == 0),
thus breaks cams which report a buffer size of 0x--ff like my orion one.
Remove the 0xff check altogether, because validation is really the job of a higher layer.

Signed-off-by: Christoph Pfister <pfister@linuxtv.org>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7529): media/video/zc0301 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7529): media/video/zc0301 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7528): media/video/usbvideo replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7528): media/video/usbvideo replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7527): media/video/sn9c102 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7527): media/video/sn9c102 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7526): media/video/saa7134 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7526): media/video/saa7134 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7525): media/video/pwc replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7525): media/video/pwc replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7524): media/video/ovcamchip replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7524): media/video/ovcamchip replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7523): media/video/et61x251 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7523): media/video/et61x251 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7522): media/video/em28xx replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7522): media/video/em28xx replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7521): media/video/cx88 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7521): media/video/cx88 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7520): media/video/cx23885 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7520): media/video/cx23885 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7519): media/video/cpia2 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7519): media/video/cpia2 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7518): media/video/ replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7518): media/video/ replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7517): media/dvb/ttusb-dec replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7517): media/dvb/ttusb-dec replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7516): media/dvb/ttusb-budget replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7516): media/dvb/ttusb-budget replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7513): media/dvb/dvb-usb replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7513): media/dvb/dvb-usb replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7512): media/dvb/dvb-core replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7512): media/dvb/dvb-core replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7511): media/dvb/cinergyT2 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7511): media/dvb/cinergyT2 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7510): media/dvb/bt8xx replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7510): media/dvb/bt8xx replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7509): media/dvb/b2c2 replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7509): media/dvb/b2c2 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7508): media/common/ replace remaining __FUNCTION__ occurrences
Harvey Harrison [Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)] 
V4L/DVB (7508): media/common/ replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7507): saa7134: add analog support for Avermedia A700 cards
Matthias Schwarzott [Wed, 9 Apr 2008 00:45:08 +0000 (21:45 -0300)] 
V4L/DVB (7507): saa7134: add analog support for Avermedia A700 cards

Add support for composite and s-video inputs on
Avermedia DVB-S Pro and DVB-S Hybrid+FM cards
(both labled A700) to the saa7134 driver.

XC2028 support for Hybrid+FM is still missing.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Reviewed-by: Hermann Pitton <hermann.pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7506): Powercolor Real Angel 330 (remote control support)
Dâniel Fraga [Tue, 8 Apr 2008 22:56:44 +0000 (19:56 -0300)] 
V4L/DVB (7506): Powercolor Real Angel 330 (remote control support)

The attached patch adds complete remote control support for Powercolor Real
Angel 330.

Signed-off-by: Daniel Fraga <fragabr@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7505): Powercolor Real Angel 330 (fixes gpio references)
Dâniel Fraga [Tue, 8 Apr 2008 22:54:49 +0000 (19:54 -0300)] 
V4L/DVB (7505): Powercolor Real Angel 330 (fixes gpio references)

The attached patch fixes gpio references for Powercolor Real Angel 330.

Signed-off-by: Daniel Fraga <fragabr@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7503): usbvision: rename __PRETTY_FUNCTION__ occurrences
Thierry MERLE [Sat, 5 Apr 2008 00:00:57 +0000 (21:00 -0300)] 
V4L/DVB (7503): usbvision: rename __PRETTY_FUNCTION__ occurrences

__PRETTY_FUNCTION__ has no sense in C lang context. Rename it as __func__

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7502): v4l: video/usbvision replace remaining __FUNCTION__ occurrences
Harvey Harrison [Fri, 4 Apr 2008 23:50:07 +0000 (20:50 -0300)] 
V4L/DVB (7502): v4l: video/usbvision replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7501): soc-camera: use a spinlock for videobuffer queue
Guennadi Liakhovetski [Fri, 4 Apr 2008 16:46:34 +0000 (13:46 -0300)] 
V4L/DVB (7501): soc-camera: use a spinlock for videobuffer queue

All drivers should provide a spinlock to be used in videobuf operations.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Reviewed-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7500): soc-camera: extract function pointers from host object into operations
Guennadi Liakhovetski [Fri, 4 Apr 2008 16:41:25 +0000 (13:41 -0300)] 
V4L/DVB (7500): soc-camera: extract function pointers from host object into operations

Function pointers and the driver owner are not expected to change
throughout soc-camera host's life. Extract them into an operations struct.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7494): videobuf-dma-sg.c: Avoid NULL dereference and add comment about backw...
Brandon Philips [Wed, 2 Apr 2008 21:10:59 +0000 (18:10 -0300)] 
V4L/DVB (7494): videobuf-dma-sg.c: Avoid NULL dereference and add comment about backwards compatibility

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7493): videobuf: Avoid deadlock with QBUF and bring up to spec for empty...
Brandon Philips [Wed, 2 Apr 2008 21:10:59 +0000 (18:10 -0300)] 
V4L/DVB (7493): videobuf: Avoid deadlock with QBUF and bring up to spec for empty queue

Add a waitqueue to wait on when there are no buffers in the buffer queue.
DQBUF waits on this queue without holding vb_lock to allow a QBUF to happen.
Once a buffer has been queued we recheck that the queue is still streaming and
wait on the new buffer's waitqueue while holding the vb_lock.  The driver
should come along in a timely manner and put the buffer into its next state
finishing the DQBUF.

By implementing this waitqueue it also brings the videobuf DQBUF up to spec and
it now blocks on O_NONBLOCK even when no buffers have been queued via QBUF:

"By default VIDIOC_DQBUF blocks when no buffer is in the outgoing queue."
 - V4L2 spec

Signed-off-by: Brandon Philips <bphilips@suse.de>
CC: Trent Piepho <xyzzy@speakeasy.org>
CC: Carl Karsten <carl@personnelware.com>
CC: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7492): vivi: Simplify the vivi driver and avoid deadlocks
Brandon Philips [Wed, 2 Apr 2008 21:10:59 +0000 (18:10 -0300)] 
V4L/DVB (7492): vivi: Simplify the vivi driver and avoid deadlocks

vivi previously had a very complex queuing system and held spinlocks while
doing copy_to_user, kmalloc, etc.  This caused the driver to easily deadlock
when a multi-threaded application used it and revealed bugs in videobuf too.

This replaces the copy_to_user with memcpy since we were never copying to user
space addresses.  And makes the kmalloc atomic.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7491): vivi: make vivi openable only once
Brandon Philips [Wed, 2 Apr 2008 21:10:59 +0000 (18:10 -0300)] 
V4L/DVB (7491): vivi: make vivi openable only once

vivi currently doesn't have the infrastructure to handle being opened more than
one time and will crash if it is.  So, make it openable only once.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7489): videobuf-vmalloc.c: Remove buf_release from videobuf_vm_close
Brandon Philips [Wed, 2 Apr 2008 21:10:59 +0000 (18:10 -0300)] 
V4L/DVB (7489): videobuf-vmalloc.c: Remove buf_release from videobuf_vm_close

Remove the buf_release on vm_close because it will lead to a buffer being
released multiple times since all buffers are already freed under the two
possible cases: device close or STREAMOFF.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7488): videobuf: Simplify videobuf_waiton logic and possibly avoid missed...
Brandon Philips [Wed, 2 Apr 2008 21:10:59 +0000 (18:10 -0300)] 
V4L/DVB (7488): videobuf: Simplify videobuf_waiton logic and possibly avoid missed wakeup

Possible missed wakeup- use kernel helpers for wait queues
  http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg27983.html

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7487): videobuf: Wakeup queues after changing the state to ERROR
Brandon Philips [Wed, 2 Apr 2008 21:10:57 +0000 (18:10 -0300)] 
V4L/DVB (7487): videobuf: Wakeup queues after changing the state to ERROR

The waitqueues must be woken up every time state changes.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7483): tuner-simple: fix broken build dependency
Michael Krufky [Sun, 30 Mar 2008 20:00:45 +0000 (17:00 -0300)] 
V4L/DVB (7483): tuner-simple: fix broken build dependency

tuner-simple is the only module that uses tuner-types - these will be
merged to a single module in the future.  For now, build both of them
if TUNER_SIMPLE is selected.

This fixes the following build warning, if tuner-simple is selected
without tuner-types:

WARNING: "tuner_count" [tuner-simple.ko] undefined!
WARNING: "tuners" [tuner-simple.ko] undefined!

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7481): tda18271: fix standard map debug
Michael Krufky [Sun, 30 Mar 2008 22:40:20 +0000 (19:40 -0300)] 
V4L/DVB (7481): tda18271: fix standard map debug

Show IF level and rf agc top settings in standard map dumps.

Dump standard map during attach if DBG_MAP or DBG_ADV is set.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7480): make sn9c102_i2c_try_write() static
Adrian Bunk [Mon, 31 Mar 2008 02:29:02 +0000 (23:29 -0300)] 
V4L/DVB (7480): make sn9c102_i2c_try_write() static

This patch makes the needlessly global sn9c102_i2c_try_write() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
CC: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7479): proper prototype for zoran_device.c:zr36016_write()
Adrian Bunk [Mon, 31 Mar 2008 02:28:59 +0000 (23:28 -0300)] 
V4L/DVB (7479): proper prototype for zoran_device.c:zr36016_write()

This patch adds a proper prototype for zr36016_write() in
drivers/media/video/zoran_card.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7476): New USB ID for Leadtek DVB-T USB
Darryl Green [Sun, 30 Mar 2008 00:47:43 +0000 (21:47 -0300)] 
V4L/DVB (7476): New USB ID for Leadtek DVB-T USB

Detect Leadtek Winfast USB DTV Dongle with ID of 0x6f01

Signed-off-by: Darryl Green <darryl.green@aanet.com.au>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7475): Added support for Terratec Cinergy T USB XXS
Alexander Simon [Sun, 30 Mar 2008 00:37:54 +0000 (21:37 -0300)] 
V4L/DVB (7475): Added support for Terratec Cinergy T USB XXS

Alexander Simon found out that the Terratec Cinergy T USB XXS is just a clone of another DiB7070P-based device.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7474): support key repeat with dib0700 ir receiver
Patrick Boettcher [Sun, 30 Mar 2008 00:37:01 +0000 (21:37 -0300)] 
V4L/DVB (7474):  support key repeat with dib0700 ir receiver

This patch enables support for repeating last event when a key is holded
down with dib0700 devices. It works with rc5 and nec remotes.
It also fixes an annoying bug that floods kernel log with "Unknown key"
messages after each keypress. This happened because the driver was not
resetting infrared register after each poll so it kept polling last key
even if nothing was being pressed. Fixing this, (calling rc_setup after
each poll), permits to implement key repeat.

Signed-off-by: Filippo Argiolas <filippo.argiolas at gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7473): PATCH for various Dibcom based devices
Albert Comerma [Sun, 30 Mar 2008 00:35:57 +0000 (21:35 -0300)] 
V4L/DVB (7473): PATCH for various Dibcom based devices

This patch introduces support for dvb-t for the following DiBcom based cards:

- Terratec Cinergy HT USB XE (USB-ID: 0ccd:0058)
- Terratec Cinergy HT Express (USB-ID: 0ccd:0060)
- Pinnacle 320CX (USB-ID: 2304:022e)
- Pinnacle PCTV72e (USB-ID: 2304:0236)
- Pinnacle PCTV73e (USB-ID: 2304:0237)
- Yuan EC372S (USB-ID: 1164:1edc)

Signed-off-by: Hans-Frieder Vogt <hfvogt@gmx.net>
Signed-off-by: Felix Apitzsch <F.Apitzsch@soz.uni-frankfurt.de>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Albert Comerma <albert.comerma@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7472): reworked patch to support TT connect S-2400
Andre Weidemann [Sun, 30 Mar 2008 00:30:49 +0000 (21:30 -0300)] 
V4L/DVB (7472):  reworked patch to support TT connect S-2400

Added support for Technotrend connect S-2400.

Signed-off-by: Andre Weidemann <Andre.Weidemann@web.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7470): CX24123: preparing support for CX24113 tuner
Patrick Boettcher [Sun, 30 Mar 2008 00:01:12 +0000 (21:01 -0300)] 
V4L/DVB (7470): CX24123: preparing support for CX24113 tuner

To support a new device based on CX24123 (using the CX24113-tuner) the following was done:

- added two parameters to de-select the internal PLL-driver (for CX24108) and a AGC-function callback.
- added a virtual i2c-adapter which allow simple access behind the i2c-gate
- cleanup up some code

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7469): Preparation for supporting new devices, cleanup and saneness
Patrick Boettcher [Sat, 29 Mar 2008 23:49:57 +0000 (20:49 -0300)] 
V4L/DVB (7469): Preparation for supporting new devices, cleanup and saneness

To prepare the support for new device to the flexcop-family some preparation and cleanups was done + some saneness:

- created an i2c-adapter for each i2c-port available. Easier usage for devices with several device on different i2c-busses
- initialize i2c before doing the eeprom read
- changed the way to attach the different frontends, easier to read now
- enabled support for i2c-devices having no register address (1-byte access)

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7463): cx88: Enable color killer by default
Frej Drejhammar [Mon, 24 Mar 2008 01:43:25 +0000 (22:43 -0300)] 
V4L/DVB (7463): cx88: Enable color killer by default

An enabled color killer will not degrade picture quality for color
input signals, only suppress bogus color information on
black-and-white input. Therefore enable it by default.

Signed-off-by: Frej Drejhammar <frej.drejhammar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7462): bttv: Fix some API non-compliances for some audio/input V4L2 calls
Mauro Carvalho Chehab [Tue, 1 Apr 2008 23:30:24 +0000 (20:30 -0300)] 
V4L/DVB (7462): bttv: Fix some API non-compliances for some audio/input V4L2 calls

Thanks to Cyrill Gorcunov <gorcunov@gmail.com> for pointing this
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7459): Test cmd, not definition in decoder_command(), drivers/media/video...
Roel Kluin [Fri, 28 Mar 2008 02:51:05 +0000 (23:51 -0300)] 
V4L/DVB (7459): Test cmd, not definition in decoder_command(), drivers/media/video/zoran_device.c

include/linux/video_decoder.h:
34:#define DECODER_SET_NORM _IOW('d', 3, int)
35:#define DECODER_SET_INPUT _IOW('d', 4, int)

untested, please confirm it's right.

Test cmd value, not definition of DECODER_SET_INPUT

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7458): saa7134: Adds analog support for Avermedia A16D
Mauro Carvalho Chehab [Fri, 28 Mar 2008 20:52:44 +0000 (17:52 -0300)] 
V4L/DVB (7458): saa7134: Adds analog support for Avermedia A16D

Thanks to timf <timf@iinet.net.au>, "Richard (MQ)" <osl2008@googlemail.com> and
gian luca rasponi <lucarasp@inwind.it> for their tests.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7456): vivi: Add 32bit compatibility to the module
Mauro Carvalho Chehab [Fri, 28 Mar 2008 20:45:51 +0000 (17:45 -0300)] 
V4L/DVB (7456): vivi: Add 32bit compatibility to the module

Thanks to Jiri Slaby <jirislaby@gmail.com> for pointing this issue.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7455): cx88_dvb: qam doesn't apply on Kword ATSC 120
Mauro Carvalho Chehab [Fri, 28 Mar 2008 17:21:04 +0000 (14:21 -0300)] 
V4L/DVB (7455): cx88_dvb: qam doesn't apply on Kword ATSC 120

Thanks to Michael Krufky for pointing this.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7454): cx88: Add user control for color killer
Frej Drejhammar [Mon, 24 Mar 2008 01:43:24 +0000 (22:43 -0300)] 
V4L/DVB (7454): cx88: Add user control for color killer

The cx2388x family has a color killer. This patch implements the
V4L2_CID_COLOR_KILLER control for the cx2388x family. By default the
color killer is disabled, as in previous versions of the driver.

Signed-off-by: "Frej Drejhammar <frej.drejhammar@gmail.com>"
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7453): v4l2-api: Define a standard control for color killer functionality
Frej Drejhammar [Mon, 24 Mar 2008 01:43:23 +0000 (22:43 -0300)] 
V4L/DVB (7453): v4l2-api: Define a standard control for color killer functionality

Define a pre-defined control ID for color killer functionality.

Signed-off-by: "Frej Drejhammar <frej.drejhammar@gmail.com>"
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7452): cx88: Enable chroma AGC by default for all non-SECAM modes
Frej Drejhammar [Mon, 24 Mar 2008 01:43:22 +0000 (22:43 -0300)] 
V4L/DVB (7452): cx88: Enable chroma AGC by default for all non-SECAM modes

An enabled chroma AGC will not degrade picture quality if enabled on a
color PAL or NTSC signal with nominal signal levels. It will give a
significant color reproduction improvement if the chroma signals
diverge from nominal levels. Therefore enable chroma AGC by default
for PAL and NTSC standards.

Signed-off-by: "Frej Drejhammar <frej.drejhammar@gmail.com>"
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7451): cx88: Add user control for chroma AGC
Frej Drejhammar [Mon, 24 Mar 2008 01:43:21 +0000 (22:43 -0300)] 
V4L/DVB (7451): cx88: Add user control for chroma AGC

The cx2388x family has support for chroma AGC. This patch implements a
the V4L2_CID_CHROMA_AGC control for the cx2388x family. By default
chroma AGC is disabled, as in previous versions of the driver.

Signed-off-by: "Frej Drejhammar <frej.drejhammar@gmail.com>"
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7450): v4l2-api: Define a standard control for chroma AGC
Frej Drejhammar [Mon, 24 Mar 2008 01:43:20 +0000 (22:43 -0300)] 
V4L/DVB (7450): v4l2-api: Define a standard control for chroma AGC

Define a pre-defined control ID for chroma automatic gain control.

Signed-off-by: "Frej Drejhammar <frej.drejhammar@gmail.com>"
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7449): cx88: fix oops on module removal caused by IR worker
Marton Balint [Wed, 26 Mar 2008 05:07:35 +0000 (02:07 -0300)] 
V4L/DVB (7449): cx88: fix oops on module removal caused by IR worker

If the IR worker is not stopped before the removal of the cx88xx module,
an OOPS may occur, because the worker function cx88_ir_work gets called.
So stop the ir worker.

Signed-off-by: Marton Balint <cus@fazekas.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7448): Add support for Kworld ATSC 120
Mauro Carvalho Chehab [Fri, 28 Mar 2008 02:18:30 +0000 (23:18 -0300)] 
V4L/DVB (7448): Add support for Kworld ATSC 120

This board has a s5h1409 demod, plus a xc30x8 tuner (probably, xc3018).

This patch adds proper support for radio, video, s-video, composite and ATSC.
However, support for radio and video depends on having s5h1409 i2c gate open,
otherwise, xc30x8 chip won't be visible.

For a better support, some rework is needed on cx88 driver, to allow adding
xc30x8 to i2c bus without sending i2c 0 byte reading to 0xc2 address.

Thanks to Vanessa Ezekowitz <vanessaezekowitz@gmail.com> for helping to figure
out the proper parameters for s5h1409 and the GPIO pins used by each
configuration.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7447): pvrusb2: Fix compilation warning
Mike Isely [Sat, 8 Mar 2008 07:02:20 +0000 (04:02 -0300)] 
V4L/DVB (7447): pvrusb2: Fix compilation warning

Fix use of a non-int (size_t) being passed in a printf width field.
This benign issue has apparently been around for a long time, but went
undetected until now.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7441): kconfig fixes for tuner-simple
Michael Krufky [Tue, 22 Apr 2008 17:46:25 +0000 (14:46 -0300)] 
V4L/DVB (7441): kconfig fixes for tuner-simple

Update Kconfig for the hybrid devices recently converted
to use tuner-simple rather than dvb-pll.

dvb-bt8xx no longer uses dvb-pll at all, so remove all
references to dvb-pll within that driver.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7440): dvb-bt8xx: fix build error
Michael Krufky [Tue, 22 Apr 2008 17:46:25 +0000 (14:46 -0300)] 
V4L/DVB (7440): dvb-bt8xx: fix build error

Fix the following build error:

In file included from dvb-bt8xx.c:35:
dvb-bt8xx.h:42:26: error: tuner-simple.h: No such file or directory
dvb-bt8xx.c: In function 'frontend_init':
dvb-bt8xx.c:612: error: 'simple_tuner_attach' undeclared (first use in this function)
dvb-bt8xx.c:612: error: (Each undeclared identifier is reported only once
dvb-bt8xx.c:612: error: for each function it appears in.)
dvb-bt8xx.c:612: warning: type defaults to 'int' in declaration of '__a'
dvb-bt8xx.c:612: warning: type defaults to 'int' in declaration of 'type name'
dvb-bt8xx.c:612: warning: cast from pointer to integer of different size
dvb-bt8xx.c:612: warning: type defaults to 'int' in declaration of 'type name'
dvb-bt8xx.c:612: warning: cast from pointer to integer of different size
dvb-bt8xx.c:612: error: called object '__a' is not a function
dvb-bt8xx.c:696: warning: type defaults to 'int' in declaration of '__a'
dvb-bt8xx.c:696: warning: type defaults to 'int' in declaration of 'type name'
dvb-bt8xx.c:696: warning: cast from pointer to integer of different size
dvb-bt8xx.c:696: warning: type defaults to 'int' in declaration of 'type name'
dvb-bt8xx.c:696: warning: cast from pointer to integer of different size
dvb-bt8xx.c:696: error: called object '__a' is not a function

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7439): tuner-xc2028: Adds an option to allow forcing to load an specific...
Mauro Carvalho Chehab [Tue, 22 Apr 2008 17:46:24 +0000 (14:46 -0300)] 
V4L/DVB (7439): tuner-xc2028: Adds an option to allow forcing to load an specific firmware name

There are a number of different firmware versions and variants, shipped
together with boards.

This patch adds an extra parameter to the tuner-xc2028 to allow specifying for
an specific firmware name to be loaded. This helps to test for a firmware that
better fits some board.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7437): tda18271: increment module version minor
Michael Krufky [Tue, 22 Apr 2008 17:46:23 +0000 (14:46 -0300)] 
V4L/DVB (7437): tda18271: increment module version minor

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7436): tda18271: add basic support for slave tuner configurations
Michael Krufky [Tue, 22 Apr 2008 17:46:23 +0000 (14:46 -0300)] 
V4L/DVB (7436): tda18271: add basic support for slave tuner configurations

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7435): tda18271: add function tda18271_charge_pump_source
Michael Krufky [Tue, 22 Apr 2008 17:46:23 +0000 (14:46 -0300)] 
V4L/DVB (7435): tda18271: add function tda18271_charge_pump_source

Force the main pll charge pump or cal pll charge pump to source current
to the main pll loop filter or cal pll loop filter, respectively.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7434): tda18271: set rfagc modes during channel configuration
Michael Krufky [Tue, 22 Apr 2008 17:46:22 +0000 (14:46 -0300)] 
V4L/DVB (7434): tda18271: set rfagc modes during channel configuration

Set rfagc to high speed mode before setting the pll.
Set rfagc to normal speed mode at the end of the function.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan
Michael Krufky [Tue, 22 Apr 2008 17:46:22 +0000 (14:46 -0300)] 
V4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7432): tda18271: allow device-specific configuration of rf agc top
Michael Krufky [Tue, 22 Apr 2008 17:46:22 +0000 (14:46 -0300)] 
V4L/DVB (7432): tda18271: allow device-specific configuration of rf agc top

allow device-specific configuration of rf agc rf top and if top

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7431): tda18271: allow device-specific configuration of IF level
Michael Krufky [Tue, 22 Apr 2008 17:46:21 +0000 (14:46 -0300)] 
V4L/DVB (7431): tda18271: allow device-specific configuration of IF level

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7430): tda18271: fix typo in tda18271_calibrate_rf
Michael Krufky [Tue, 22 Apr 2008 17:46:21 +0000 (14:46 -0300)] 
V4L/DVB (7430): tda18271: fix typo in tda18271_calibrate_rf

The internal calibration signal must be set on the cal pll.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7429): tda18271: write EP3 thru MD3 for image rejection low band initialization
Michael Krufky [Tue, 22 Apr 2008 17:46:21 +0000 (14:46 -0300)] 
V4L/DVB (7429): tda18271: write EP3 thru MD3 for image rejection low band initialization

Both the tda18271 c1 and c2 parts only need EP3 through MD3 to be written for
the image rejection calibration's low band initialization.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7427): dvb-pll: remove rf input module options
Michael Krufky [Tue, 22 Apr 2008 17:46:20 +0000 (14:46 -0300)] 
V4L/DVB (7427): dvb-pll: remove rf input module options

The ability to select RF input was a supported feature only available on
Philips TUV1236d and Philips FCV1236d.

This feature, along with support for the tuners that used it,
was moved into the tuner-simple module.

This can now be removed from dvb-pll.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7426): dvb-pll: renumber remaining description id's
Michael Krufky [Tue, 22 Apr 2008 17:46:20 +0000 (14:46 -0300)] 
V4L/DVB (7426): dvb-pll: renumber remaining description id's

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7425): dvb-pll: remove dead code
Michael Krufky [Tue, 22 Apr 2008 17:46:20 +0000 (14:46 -0300)] 
V4L/DVB (7425): dvb-pll: remove dead code

remove #if 0'd support for:

Philips TUV1236D
Philips TD1316
Philips FMD1216ME
LG TDVS-H06xF
Philips FCV1236D
Thomson FE6600
Microtune 4042 FI5
Thomson dtt761x

Support for these tuners has been moved into the 'tuner-simple' module.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7424): dvb-pll: remove support for Philips TUV1236D
Michael Krufky [Tue, 22 Apr 2008 17:46:20 +0000 (14:46 -0300)] 
V4L/DVB (7424): dvb-pll: remove support for Philips TUV1236D

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7423): dvb-pll: remove support for Philips TD1316
Michael Krufky [Tue, 22 Apr 2008 17:46:19 +0000 (14:46 -0300)] 
V4L/DVB (7423): dvb-pll: remove support for Philips TD1316

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7422): dvb-pll: remove support for Philips FMD1216ME
Michael Krufky [Tue, 22 Apr 2008 17:46:19 +0000 (14:46 -0300)] 
V4L/DVB (7422): dvb-pll: remove support for Philips FMD1216ME

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7421): dvb-pll: remove support for LG TDVS-H06xF
Michael Krufky [Tue, 22 Apr 2008 17:46:19 +0000 (14:46 -0300)] 
V4L/DVB (7421): dvb-pll: remove support for LG TDVS-H06xF

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7420): dvb-pll: remove support for Philips FCV1236D
Michael Krufky [Tue, 22 Apr 2008 17:46:18 +0000 (14:46 -0300)] 
V4L/DVB (7420): dvb-pll: remove support for Philips FCV1236D

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7419): dvb-pll: remove support for Thomson FE6600
Michael Krufky [Tue, 22 Apr 2008 17:46:18 +0000 (14:46 -0300)] 
V4L/DVB (7419): dvb-pll: remove support for Thomson FE6600

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7418): dvb-pll: remove support for Microtune 4042 FI5
Michael Krufky [Tue, 22 Apr 2008 17:46:17 +0000 (14:46 -0300)] 
V4L/DVB (7418): dvb-pll: remove support for Microtune 4042 FI5

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7417): dvb-pll: remove support for Thomson dtt761x
Michael Krufky [Tue, 22 Apr 2008 17:46:17 +0000 (14:46 -0300)] 
V4L/DVB (7417): dvb-pll: remove support for Thomson dtt761x

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7416): dvb-pll: remove support for Thomson dtt7610
Michael Krufky [Tue, 22 Apr 2008 17:46:17 +0000 (14:46 -0300)] 
V4L/DVB (7416): dvb-pll: remove support for Thomson dtt7610

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7415): use tuner-simple for Philips TUV1236D digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:17 +0000 (14:46 -0300)] 
V4L/DVB (7415): use tuner-simple for Philips TUV1236D digital tuning support

Convert cx88-dvb and saa7134-dvb to use tuner-simple instead of dvb-pll
for Philips TUV1236D

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7414): use tuner-simple for Philips TD1316 digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:16 +0000 (14:46 -0300)] 
V4L/DVB (7414): use tuner-simple for Philips TD1316 digital tuning support

Convert saa7134-dvb to use tuner-simple instead of dvb-pll for Philips TD1316

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7413): use tuner-simple for Philips FMD1216ME digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:16 +0000 (14:46 -0300)] 
V4L/DVB (7413): use tuner-simple for Philips FMD1216ME digital tuning support

Convert cxusb, cx88-dvb and saa7134-dvb to use tuner-simple instead of
dvb-pll for Philips FMD1216ME

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7412): use tuner-simple for LG TDVS-H06xF digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:16 +0000 (14:46 -0300)] 
V4L/DVB (7412): use tuner-simple for LG TDVS-H06xF digital tuning support

Convert cx88-dvb, dvb-bt8xx, b2c2-flexcop, cxusb and cx23885 to use
tuner-simple instead of dvb-pll for LG TDVS-H06xF

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7411): use tuner-simple for Philips FCV1236D digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:13 +0000 (14:46 -0300)] 
V4L/DVB (7411): use tuner-simple for Philips FCV1236D digital tuning support

Convert dvb-bt8xx to use tuner-simple instead of dvb-pll for Philips FCV1236D

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7410): use tuner-simple for Thomson FE6600 digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:13 +0000 (14:46 -0300)] 
V4L/DVB (7410): use tuner-simple for Thomson FE6600 digital tuning support

Convert cx88-dvb to use tuner-simple instead of dvb-pll for Thomson FE6600

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7409): use tuner-simple for Microtune 4042 FI5 digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:13 +0000 (14:46 -0300)] 
V4L/DVB (7409): use tuner-simple for Microtune 4042 FI5 digital tuning support

Convert cx88-dvb to use tuner-simple instead of dvb-pll for Microtune 4042 FI5

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoV4L/DVB (7408): use tuner-simple for Thomson DTT 761X digital tuning support
Michael Krufky [Tue, 22 Apr 2008 17:46:13 +0000 (14:46 -0300)] 
V4L/DVB (7408): use tuner-simple for Thomson DTT 761X digital tuning support

Convert cx88-dvb to use tuner-simple instead of dvb-pll for Thomson DTT 761X

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>