openwrt/staging/blogic.git
14 years agoV4L/DVB: cx22702: Simplify cx22702_set_tps()
Jean Delvare [Fri, 10 Sep 2010 13:36:37 +0000 (10:36 -0300)]
V4L/DVB: cx22702: Simplify cx22702_set_tps()

Code in function cx22702_set_tps() can be slightly simplified.
Apparently gcc was smart enough to optimize it anyway, but it can't
hurt to make the code more readable.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: cx22702: Some things never change
Jean Delvare [Fri, 10 Sep 2010 13:35:12 +0000 (10:35 -0300)]
V4L/DVB: cx22702: Some things never change

The init sequence never changes so it can be marked const. Likewise,
cx22702_ops is a template and can thus be made read-only.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: cx22702: Avoid duplicating code in branches
Jean Delvare [Fri, 10 Sep 2010 13:33:42 +0000 (10:33 -0300)]
V4L/DVB: cx22702: Avoid duplicating code in branches

Calling the same functions in if/else or switch/case branches is
inefficient. Refactor the code for a smaller binary and increased
readability.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: Fix Kconfig dependencies for VIDEO_IR
Mauro Carvalho Chehab [Thu, 30 Sep 2010 03:56:08 +0000 (00:56 -0300)]
V4L/DVB: Fix Kconfig dependencies for VIDEO_IR

warning: (VIDEO_GO7007 && STAGING && !STAGING_EXCLUDE_BUILD && VIDEO_DEV && PCI && I2C && INPUT && BKL && SND || VIDEO_CX25821 && STAGING && !STAGING_EXCLUDE_BUILD && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && BKL) selects VIDEO_IR which has unmet direct dependencies (IR_CORE)
warning: (VIDEO_CX25821 && STAGING && !STAGING_EXCLUDE_BUILD && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && BKL) selects VIDEO_IR which has unmet direct dependencies (IR_CORE)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: saa7134: split RC code into a different module
Mauro Carvalho Chehab [Wed, 29 Sep 2010 17:41:52 +0000 (14:41 -0300)]
V4L/DVB: saa7134: split RC code into a different module

This allows the removal of CONFIG_INPUT from saa7134, and
helps to create a better Kconfig dependency hierarchy.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4l/DVB: saa7134: properly mark some functions as static
Mauro Carvalho Chehab [Wed, 29 Sep 2010 16:46:23 +0000 (13:46 -0300)]
V4l/DVB: saa7134: properly mark some functions as static

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: tvaudio: remove obsolete tda8425 initialization
Hans Verkuil [Wed, 15 Sep 2010 19:07:08 +0000 (16:07 -0300)]
V4L/DVB: tvaudio: remove obsolete tda8425 initialization

The tda8425 initialization function sets up the inputmap for riva boards.
After some digging I discovered that this was for the V4L rivatv driver
that is found on sourceforge. This driver hasn't been maintained since the
last 5 years and will no longer work with the current v4l framework.

So we can safely remove this.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: cx22702: Drop useless initializations to 0
Jean Delvare [Fri, 10 Sep 2010 13:32:21 +0000 (10:32 -0300)]
V4L/DVB: cx22702: Drop useless initializations to 0

These variables are either unconditionally set right afterward, or
already set to 0 by kzalloc.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: cx22702: Clean up register access functions
Jean Delvare [Fri, 10 Sep 2010 17:03:07 +0000 (14:03 -0300)]
V4L/DVB: cx22702: Clean up register access functions

* Avoid temporary variables.
* Optimize success paths.
* Make error messages consistently verbose.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: dvb: Convert "mutex" to semaphore
Thomas Gleixner [Tue, 7 Sep 2010 14:33:27 +0000 (11:33 -0300)]
V4L/DVB: dvb: Convert "mutex" to semaphore

Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: IR/lirc_dev: check for valid irctl in unregister path
Jarod Wilson [Fri, 17 Sep 2010 21:12:31 +0000 (18:12 -0300)]
V4L/DVB: IR/lirc_dev: check for valid irctl in unregister path

Prompted by Red Hat bugzilla #633023

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: IR/imon: set up mce-only devices w/mce keytable
Jarod Wilson [Wed, 15 Sep 2010 03:28:41 +0000 (00:28 -0300)]
V4L/DVB: IR/imon: set up mce-only devices w/mce keytable

Currently, they get set up with the pad keytable, which they can't
actually use at all. Also add another variant of volume scancodes from
another 0xffdc device, and properly set up the 0x9e 0xffdc device as an
iMON VFD w/MCE proto IR.

Based on data and a prior patch from Anders Eriksson on the lirc list.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: IR/imon: protect ictx's kc and last_keycode w/spinlock
Jarod Wilson [Wed, 15 Sep 2010 18:56:03 +0000 (15:56 -0300)]
V4L/DVB: IR/imon: protect ictx's kc and last_keycode w/spinlock

Lest we get our keycodes wrong... Thus far, in practice, I've not found
it to actually matter, but its one of the issues raised in
https://bugzilla.kernel.org/show_bug.cgi?id=16351 that wasn't addressed
by converting to using native IR keydown/up functions.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: imon: split mouse events to a separate input dev
David Härdeman [Wed, 15 Sep 2010 18:42:07 +0000 (15:42 -0300)]
V4L/DVB: imon: split mouse events to a separate input dev

This is a stab at separating the mouse (and front panel/knob) events
out to a separate input device. This is necessary in preparation for
the next patch which makes the rc-core input dev opaque to rc
drivers.

I can't verify the correctness of the patch beyond the fact that it
compiles without warnings. The driver has resisted most of my
attempts at understanding it properly...for example, the double calls
to le64_to_cpu() and be64_to_cpu() which are applied in
imon_incoming_packet() and imon_panel_key_lookup() would amount
to a bswab64() call, irregardless of the cpu endianness, and I think
the code wouldn't have worked on a big-endian machine...

- Minor alterations to apply with minimal core IR changes
- Use timer for imon keys too, since its entirely possible for the
  receiver to miss release codes (either by way of another key being
  pressed while the first is held or by the remote pointing away from
  the recevier when the key is release. yes, I know, its ugly).
- Bump driver version number, since this is a fairly significant change
  (for the much much better).
Tested successfully w/an imon knob receiver.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: IR: export ir_keyup so imon driver can use it directly
Jarod Wilson [Wed, 15 Sep 2010 18:31:12 +0000 (15:31 -0300)]
V4L/DVB: IR: export ir_keyup so imon driver can use it directly

The imon driver currently reimplements its own version of ir_keyup
(along with key release timer functionality also already present in the
core IR code). A follow-up imon patch will make use of ir_keyup and the
IR stack's key release code.

Trivial extraction from David Härdeman's pending rc-core merge and
device interface abstraction patchset to facilitate merging a patch
based on his imon input dev split patch ahead of the larger churn, which
is slated for post-2.6.37-rc1 (after Dmitry's large keycode patches are
merged in mainline).

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: saa7134: get rid of I2C_HW_SAA7134
Mauro Carvalho Chehab [Thu, 23 Sep 2010 04:23:10 +0000 (01:23 -0300)]
V4L/DVB: saa7134: get rid of I2C_HW_SAA7134

The only reason for keeping I2C_HW_SAA7134 is to allow setting a
per-device polling interval. Just move this info to the platform
data, allowing drivers to change it per device, where needed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: Remove the usage of I2C_HW_B_CX2388x on ir-kbd-i2c.c
Mauro Carvalho Chehab [Thu, 23 Sep 2010 03:51:44 +0000 (00:51 -0300)]
V4L/DVB: Remove the usage of I2C_HW_B_CX2388x on ir-kbd-i2c.c

Move the cx88 specific initialization for Hauppauge XVR remotes
into cx88-input, removing the need for test it inside ir-kbd-i2c.

The reference at cx88 for this symbol, at:

drivers/media/video/cx88/cx88-i2c.c:    core->i2c_adap.id = I2C_HW_B_CX2388x;
drivers/media/video/cx88/cx88-vp3054-i2c.c:     vp3054_i2c->adap.id = I2C_HW_B_CX2388x;

Can't be removed yet, since lirc-i2c still uses it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: bttv: Move PV951 IR to the right driver
Mauro Carvalho Chehab [Thu, 23 Sep 2010 02:24:04 +0000 (23:24 -0300)]
V4L/DVB: bttv: Move PV951 IR to the right driver

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: usbvision: remove BKL from usbvision
Hans Verkuil [Fri, 17 Sep 2010 18:07:28 +0000 (15:07 -0300)]
V4L/DVB: usbvision: remove BKL from usbvision

Removed the BKL from usbvision.

There was an initialization bug as well where the i2c bus was registered twice.

Although when the BKL was present no oops was generated, I did run into
other i2c problems. Now that I protect against duplicate i2c registration
that bug is now gone as well.

But trying to disconnect the USB cable while someone is still using the device
still leads to a crash.

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

The include/media/v4l2-i2c-drv.h header was used to be able to compile drivers
in the v4l-dvb hg repository for legacy kernels (mainly pre-2.6.26) without
creating an #ifdef mess.

The hg repository dropped support for kernels < 2.6.26 so we can remove this
header. All i2c drivers that used it have now been converted to use proper
i2c code. The header was a hack, but it did its job well. So I would call
this an honorable removal. :-)

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: tm6000: removed unused i2c adapter ID
Hans Verkuil [Wed, 15 Sep 2010 19:18:11 +0000 (16:18 -0300)]
V4L/DVB: tm6000: removed unused i2c adapter ID

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: ir-kbd-i2c: remove obsolete I2C_HW_B_CX2341X test
Hans Verkuil [Wed, 15 Sep 2010 19:16:20 +0000 (16:16 -0300)]
V4L/DVB: ir-kbd-i2c: remove obsolete I2C_HW_B_CX2341X test

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: saa7146/tuner: remove mxb hack
Hans Verkuil [Wed, 15 Sep 2010 19:14:57 +0000 (16:14 -0300)]
V4L/DVB: saa7146/tuner: remove mxb hack

Remove a hack in the tuner code for the mxb board. This hack is no longer
needed since the tuner is now probed on its correct address as specified
by the mxb driver.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB: v4l: remove unused i2c-id.h headers
Hans Verkuil [Wed, 15 Sep 2010 18:59:53 +0000 (15:59 -0300)]
V4L/DVB: v4l: remove unused i2c-id.h headers

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

We forgot to add this capability to the QUERYCAP documentation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Thanks to the TerraTec!

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

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

Thanks to the TerraTec!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>