safe/jmp/linux-2.6
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>
18 years agoV4L/DVB (3933): Add isl6421 module
Andrew de Quincey [Fri, 28 Apr 2006 00:45:09 +0000 (21:45 -0300)]
V4L/DVB (3933): Add isl6421 module

Driver for the ISL6421 LNB chip

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3932): Convert lnbp21 to a module
Andrew de Quincey [Fri, 28 Apr 2006 00:45:01 +0000 (21:45 -0300)]
V4L/DVB (3932): Convert lnbp21 to a module

Convert lnbp21.h into a linux kernel module.
Fix up previous users to use it.
Convert dvb-ttusb-budget to use it.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3931): Vivi.c: possible cleanups
Adrian Bunk [Fri, 28 Apr 2006 00:06:50 +0000 (21:06 -0300)]
V4L/DVB (3931): Vivi.c: possible cleanups

This patch contains the following possible cleanup:
- make needlessly global functions static
- remove unused #ifndef kzalloc kzalloc() #define
- remove inline's from functions

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3929): Compilation for DVB_AV7110_FIRMWARE seems to be weird
Mauro Carvalho Chehab [Thu, 27 Apr 2006 21:34:03 +0000 (18:34 -0300)]
V4L/DVB (3929): Compilation for DVB_AV7110_FIRMWARE seems to be weird

Some systems use a previous config information to generate
a default config. This seems to cause troubles on some
systems.

This patch also fixes compilation for AV7110 firmware
inside V4L/DVB tree.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3895): Additional frontend_init safety checks
Andrew de Quincey [Thu, 20 Apr 2006 15:01:47 +0000 (12:01 -0300)]
V4L/DVB (3895): Additional frontend_init safety checks

Don't try and set the tuner ops if the demod was not detected.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3894): Fix tda10046 tuning
Andrew de Quincey [Wed, 19 Apr 2006 21:31:03 +0000 (18:31 -0300)]
V4L/DVB (3894): Fix tda10046 tuning

I'd missed the i2c gate ctrl function out of the tda10046, so tuning didn't work

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3893): Convert calls from _pllbuf() to _calc_reg()
Andrew de Quincey [Wed, 19 Apr 2006 00:38:49 +0000 (21:38 -0300)]
V4L/DVB (3893): Convert calls from _pllbuf() to _calc_reg()

Johannes Stezenbach suggested this change - definite improvement.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3888): Convert cxusb to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3888): Convert cxusb to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Attach dvb-pll where possible.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3886): Convert flexcop-fe-tuner to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3886): Convert flexcop-fe-tuner to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Attach dvb-pll where possible.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3920): Dvb: rename dvb_pll_tdvs_tua6034 to dvb_pll_lg_tdvs_h06xf
Michael Krufky [Thu, 27 Apr 2006 04:31:26 +0000 (01:31 -0300)]
V4L/DVB (3920): Dvb: rename dvb_pll_tdvs_tua6034 to dvb_pll_lg_tdvs_h06xf

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3919): V4l: rename TUNER_LG_TDVS_H062F to TUNER_LG_TDVS_H06XF
Michael Krufky [Thu, 27 Apr 2006 04:29:17 +0000 (01:29 -0300)]
V4L/DVB (3919): V4l: rename TUNER_LG_TDVS_H062F to TUNER_LG_TDVS_H06XF

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3916): AverMedia 6 Eyes AVS6EYES support
Martin Samuelsson [Thu, 27 Apr 2006 13:17:00 +0000 (10:17 -0300)]
V4L/DVB (3916): AverMedia 6 Eyes AVS6EYES support

Add support for the AverMedia 6 Eyes MJPEG card.
- Updated drivers/media/video/Kconfig with AVS6EYES
  options.
- Added CONFIG_VIDEO_ZORAN_AVS6EYES to
  drivers/media/video/Makefile.
- Added I2C_DRIVERID_BT866 and I2C_DRIVERID_KS0127 to
  include/linux/i2c-id.h
- Added drivers/media/video/ks0127.c, imported and modified from
  the Marvel project.
- Added drivers/media/video/ks0127.h, imported and modified from
  the Marvel project.
- Added drivers/media/video/bt866.c, ported from a 2.4 version
  by Christer Weinigel.
- Added AVS6EYES to drivers/media/video/zoran_card.c
- Added input_mux to all cards in drivers/media/video/zoran_card.c
- Added input mux module parameter to drivers/media/video/zoran_card.c
- Added AVS6EYES to card_type in drivers/media/video/zoran.h
- Added input_mux to card_info in drivers/media/video/zoran.h
- Upped BUZ_MAX_INPUT in drivers/media/video/zoran.h from 8 to 16,
  as the AVS6EYES has 10.
- Updated Documentation/video4linux/Zoran with information about AVS6EYES.

Signed-off-by: Martin Samuelsson <sam@home.se>
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 (3906): ZC0301 driver updates
Luca Risolia [Wed, 26 Apr 2006 13:19:49 +0000 (10:19 -0300)]
V4L/DVB (3906): ZC0301 driver updates

This is a patch fixing a small bug in zc0301_start_transfer()
introduced in the ZC0301 driver v1.04.

Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3900): Rename fe_lgh06xf.h to lg_h06xf.h
Michael Krufky [Tue, 25 Apr 2006 02:21:46 +0000 (23:21 -0300)]
V4L/DVB (3900): Rename fe_lgh06xf.h to lg_h06xf.h

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3898): Fix dvb-usb tuner code
Andrew de Quincey [Tue, 25 Apr 2006 08:36:19 +0000 (05:36 -0300)]
V4L/DVB (3898): Fix dvb-usb tuner code

I had forgotten to rename some of the tuner functions in the refactoring.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3892): Trim documentation
Andrew de Quincey [Wed, 19 Apr 2006 00:37:20 +0000 (21:37 -0300)]
V4L/DVB (3892): Trim documentation

Trim excess documentation down to the essentials.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3891): Convert cx88-dvb to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:56:10 +0000 (17:56 -0300)]
V4L/DVB (3891): Convert cx88-dvb to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Attach dvb-pll where possible.
Add pll gate control calls where appropriate.
Sort out the hybrid cards to work with the revamped mt352/sl10353 demods
supporting external tuners.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3890): Add support for non-attached tuners to zl10353
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3890): Add support for non-attached tuners to zl10353

Add no_tuner setting like in mt352.
Update to use correct tuner API calls.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3889): Sort out support for non-attached tuners on mt352
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3889): Sort out support for non-attached tuners on mt352

Make it use set_params/pllbuf as appropriate so it works with
dvb_pll_attach()ed tuners.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3887): Convert bt8xx to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3887): Convert bt8xx to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Attach dvb-pll where possible.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3885): Convert dvb-pll to be a refactored tuner
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3885): Convert dvb-pll to be a refactored tuner

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Remove BUG_ON() and convert to a soft error.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3884): Convert dibusb* to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3884): Convert dibusb* to refactored tuner code

Hook tuner call into tuner_ops.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3883): Convert digtv to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:12 +0000 (17:47 -0300)]
V4L/DVB (3883): Convert digtv to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3882): Convert dvb-usb/umt-010 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3882): Convert dvb-usb/umt-010 to refactored tuner code

Hook tuner call into tuner_ops.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3881): Convert core dvb-usb pll code to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3881): Convert core dvb-usb pll code to refactored tuner code

Rename pll calls to appropriate tuner calls.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3880): Convert dvb-ttusb-budget to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3880): Convert dvb-ttusb-budget to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3879): Convert saa7134-dvb to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3879): Convert saa7134-dvb to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Attach dvb-pll where possible.
Add pll gate control calls where appropriate.
Move europa specific code from tda1104x into card driver using ops overrides
(this is how it should ebe done instead of hacking card specific code into
the demod driver).

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3878): Convert ttpci/budget-patch to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3878): Convert ttpci/budget-patch to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3877): Convert ttpci/budget-av to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3877): Convert ttpci/budget-av to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3876): Convert ttpci/budget-ci to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3876): Convert ttpci/budget-ci to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3875): Convert ttpci/budget to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3875): Convert ttpci/budget to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3874): Convert ttpci/av7110 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3874): Convert ttpci/av7110 to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.
Add pll gate control calls where appropriate.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3873): Convert pluto2 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3873): Convert pluto2 to refactored tuner code

Rename pll calls to appropriate tuner calls.
Remove pll functions from demod structures.
Hook tuner call into tuner_ops.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3872): Convert bsbe1/bsru6 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3872): Convert bsbe1/bsru6 to refactored tuner code

Convert to tuner_ops call API.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3871): Convert lgdt330x to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3871): Convert lgdt330x to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3870): Convert dib3000* to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3870): Convert dib3000* to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3869): Convert cx24123 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3869): Convert cx24123 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3868): Convert zl10353 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3868): Convert zl10353 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Use standardised pllbuf call.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3867): Convert nxt6000 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)]
V4L/DVB (3867): Convert nxt6000 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3866): Convert nxt200x to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3866): Convert nxt200x to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Standardise the calls used to retrieve tuner data.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3865): Convert or51132 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3865): Convert or51132 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove dvb-pll code - done elsewhere now.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3864): Convert dvb_dummy_fe to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3864): Convert dvb_dummy_fe to refactored tuner code

Make it call the tuner calls - in case someone wants to use it to develop a
tuner without a demod.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3863): Convert cx24110 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3863): Convert cx24110 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Remove unneeded sleep function completely.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3862): Convert tda10021 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3862): Convert tda10021 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3861): Convert mt352 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3861): Convert mt352 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointer from structure.
Use standardised pllbuf function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3860): Convert l64871 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3860): Convert l64871 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3859): Convert s5h1420 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3859): Convert s5h1420 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3858): Convert tda1004x to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3858): Convert tda1004x to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.
Remove europa specific hack (moved into appropriate card driver)

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3857): Convert sp8870 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3857): Convert sp8870 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3856): Convert sp887x to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3856): Convert sp887x to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3855): Convert stv0299 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3855): Convert stv0299 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.
Remove extra exported function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3854): Convert ves1x93 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3854): Convert ves1x93 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3853): Convert ves1820 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:10 +0000 (17:47 -0300)]
V4L/DVB (3853): Convert ves1820 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3851): Convert tda8083 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:09 +0000 (17:47 -0300)]
V4L/DVB (3851): Convert tda8083 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3850): Convert stv0297 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:09 +0000 (17:47 -0300)]
V4L/DVB (3850): Convert stv0297 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.
Remove extra exported pll gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3849): Convert mt312 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:09 +0000 (17:47 -0300)]
V4L/DVB (3849): Convert mt312 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3848): Convert cx22702 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:09 +0000 (17:47 -0300)]
V4L/DVB (3848): Convert cx22702 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.
Remove dvb-pll support - done elsewhere now.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3847): Convert cx22700 to refactored tuner code
Andrew de Quincey [Tue, 18 Apr 2006 20:47:09 +0000 (17:47 -0300)]
V4L/DVB (3847): Convert cx22700 to refactored tuner code

Convert to tuner_ops calls.
Remove pll function pointers from structure.
Remove unneeded tuner calls.
Add i2c gate control function.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3845): DVB core changes for PLL refactoring
Andrew de Quincey [Tue, 18 Apr 2006 20:47:09 +0000 (17:47 -0300)]
V4L/DVB (3845): DVB core changes for PLL refactoring

Add tuner_ops structure.
Add calls into dvb_frontend to support the new tuner architecture.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3844): B2c2-flexcop: use fe_lgh06xf.h
Michael Krufky [Tue, 18 Apr 2006 20:47:08 +0000 (17:47 -0300)]
V4L/DVB (3844): B2c2-flexcop: use fe_lgh06xf.h

- removed duplicated tuning code for LG TDVS H061F

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3843): Cxusb: use fe_lgh06xf.h
Michael Krufky [Tue, 18 Apr 2006 20:47:08 +0000 (17:47 -0300)]
V4L/DVB (3843): Cxusb: use fe_lgh06xf.h

- removed duplicated tuning code for LG TDVS H064F

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3842): Cx88-dvb: use fe_lgh06xf.h
Michael Krufky [Tue, 18 Apr 2006 20:47:08 +0000 (17:47 -0300)]
V4L/DVB (3842): Cx88-dvb: use fe_lgh06xf.h

- removed duplicated tuning code for LG TDVS H062F/H064F

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3841): Dvb-bt8xx: use fe_lgh06xf.h
Michael Krufky [Tue, 18 Apr 2006 20:47:08 +0000 (17:47 -0300)]
V4L/DVB (3841): Dvb-bt8xx: use fe_lgh06xf.h

- removed duplicated tuning code for LG TDVS H064F

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3840): Create standalone fe_lgh064f header
Michael Krufky [Tue, 18 Apr 2006 20:47:08 +0000 (17:47 -0300)]
V4L/DVB (3840): Create standalone fe_lgh064f header

move all pll_set functions for lg-tdvs-h06xf atsc tuners to a standalone header

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3838): ZC0301 driver updates
Luca Risolia [Mon, 24 Apr 2006 14:28:23 +0000 (11:28 -0300)]
V4L/DVB (3838): ZC0301 driver updates

ZC0301 driver updates:
- Add support for PB-0330 image sensor
- Generic documentation cleanups and updates

Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3835): [PATCH] update pwc driver
Luc Saillard [Mon, 24 Apr 2006 13:29:46 +0000 (10:29 -0300)]
V4L/DVB (3835): [PATCH] update pwc driver

Add v4l2 compatibility
Include the decompressor (legal problem has been resolv by Alan Cox)
Faster decoder and easier to maintain, optimize, ...
Can export to userland compressed stream
Support more cameras, lot of bugs are fixed.

Signed-off-by: Luc Saillard <luc@saillard.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3830): Fix display name for LG TDVS-H06xF
Michael Krufky [Sat, 22 Apr 2006 19:15:11 +0000 (16:15 -0300)]
V4L/DVB (3830): Fix display name for LG TDVS-H06xF

This patch fixes the display name for LG TDVS-H06xF tuners
in both tuner and dvb-pll modules.
Changing the names of the actual pll_desc struct and tuner definitions
has been held back until after the dvb tuner refactoring gets merged.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3827): Cx88-blackbird: clean up the buffers when closing the MPEG stream
Valentin Zagura [Fri, 21 Apr 2006 01:56:25 +0000 (22:56 -0300)]
V4L/DVB (3827): Cx88-blackbird: clean up the buffers when closing the MPEG stream

This patch cleans up the buffer queue when the MPEG stream is closed,
preventing the message, 'cx8802_timeout'

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 (3820): Drivers/media/dvb/dvb-usb/: possible cleanups
Adrian Bunk [Wed, 19 Apr 2006 23:49:28 +0000 (20:49 -0300)]
V4L/DVB (3820): Drivers/media/dvb/dvb-usb/: possible cleanups

- make the following needlessly global struct static:
  dvb-usb/cxusb.c: cxusb_mt352_config

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 (3817): KWorld HardwareMpegTV XPert: set encoder video standard based on...
Michael Krufky [Tue, 18 Apr 2006 03:22:09 +0000 (00:22 -0300)]
V4L/DVB (3817): KWorld HardwareMpegTV XPert: set encoder video standard based on tvnorm

The KWorld HardwareMpegTV XPert uses a multistandard tuner, tda8290 + tda8275.
Without checking the video standard in blackbird_probe, the encoder defaults
to PAL, even if the incoming video stream is NTSC. This patch checks the video
standard set by the cx2388x decoder, and sets the encoding height and frame
accordingly.
This patch is designed to only affect the KWorld HardwareMpegTV XPert.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3814): Add support for Samsung TCPG 6121P30A PAL tuner.
Hans Verkuil [Wed, 19 Apr 2006 21:50:35 +0000 (18:50 -0300)]
V4L/DVB (3814): Add support for Samsung TCPG 6121P30A PAL tuner.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3811): Cxusb: lgh064f: set auxiliary byte in pll_set
Michael Krufky [Sun, 16 Apr 2006 16:19:24 +0000 (13:19 -0300)]
V4L/DVB (3811): Cxusb: lgh064f: set auxiliary byte in pll_set

This changeset removes pll_init, and instead sets the tuner
auxiliary byte in pll_set.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3810): KWorld HardwareMpegTV XPert: Enable Blackbird MPEG encoder support
Michael Krufky [Sun, 16 Apr 2006 15:17:34 +0000 (12:17 -0300)]
V4L/DVB (3810): KWorld HardwareMpegTV XPert: Enable Blackbird MPEG encoder support

- clear I2SIN to deliver the audio stream to the cx23416 mpeg encoder.
- enable blackbird support on the KWorld HardwareMpegTV XPert

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3809a): Remove compat stuff for DMX_GET_EVENT
Andrew Morton [Thu, 27 Apr 2006 15:01:18 +0000 (12:01 -0300)]
V4L/DVB (3809a): Remove compat stuff for DMX_GET_EVENT

The ioctl were removed by:
V4L/DVB (3727): Remove DMX_GET_EVENT and associated data structures
due to the ioctl DMX_GET_EVENT has never been implemented, and also
scrambling events can't be generated in a useful way by the hardware.

This patch removes the corresponding entry at fs/compat_ioctl.c

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3807): Cx88-blackbird: fix typo
Michael Krufky [Thu, 13 Apr 2006 21:43:50 +0000 (18:43 -0300)]
V4L/DVB (3807): Cx88-blackbird: fix typo

BLACKBIRD_FIELD1_SAA7115 was repeated.  Corrected version reads:
blackbird_api_cmd(dev, BLACKBIRD_API_SET_CAPTURE_LINES, 2, 0,
                BLACKBIRD_FIELD1_SAA7115,
                BLACKBIRD_FIELD2_SAA7115
)

Thanks-to: Valentin Zagura <puthre@gmail.com> for pointing this out.
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3806): Cx88-blackbird: allow proper detection of PAL vs. NTSC video standard
Michael Krufky [Thu, 13 Apr 2006 20:41:52 +0000 (17:41 -0300)]
V4L/DVB (3806): Cx88-blackbird: allow proper detection of PAL vs. NTSC video standard

- removed test for CX88_BOARD_HAUPPAUGE_ROSLYN prior to determining whether
  the video standard in use is NTSC or PAL.
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3805): Fix KNC1 card frontend detection
Andrew de Quincey [Thu, 13 Apr 2006 20:29:07 +0000 (17:29 -0300)]
V4L/DVB (3805): Fix KNC1 card frontend detection

Since I reordered the CI/frontend detection, it turns out the frontend needs
to have a GPIO set to power it on; otherwise frontend init fails.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3801): Cx88-tvaudio: replace 'if' with 'switch..case'
Michael Krufky [Thu, 13 Apr 2006 16:06:28 +0000 (13:06 -0300)]
V4L/DVB (3801): Cx88-tvaudio: replace 'if' with 'switch..case'

This patch cleans up a potential mess that has yet to occur in the
card-specific part of cx88-tvaudio.c that sets sound input from external adc.
It may be a good idea to move this setting into cx88-cards.c in the future.

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