Re: [RESEND PATCH 1/14] staging/media/as102: initial import from Abilis

2011-10-31 Thread Sylwester Nawrocki
On 10/30/2011 10:03 PM, Piotr Chmura wrote: W dniu 18.10.2011 21:46, Piotr Chmura pisze: Patch taken from http://kernellabs.com/hg/~dheitmueller/v4l-dvb-as102-2/ Changes made by me: 1. Driver moved from media/dvb to staging/media 2. Removed Makefile/Kconfig - it doesn't compile in current

Re: [PATCH v3 4/14] staging/media/as102: checkpatch fixes

2011-10-31 Thread Stefan Richter
On Oct 30 Piotr Chmura wrote: Patch taken from http://kernellabs.com/hg/~dheitmueller/v4l-dvb-as102-2/ Original source and comment: # HG changeset patch By the way, the brand new git 1.7.8.rc0 features some HG support in git am:

au8522/s4h1409/s4h1411: Calculate signal strength shown as percentage from SNR up to 35dB

2011-10-31 Thread Michael Krufky
Mauro, Please pull from my atscdemod branch at git://linuxtv.org/mkrufky/tuners . These changesets bring au8522, s5h1409, and s5h1411 up to speed with the other ATSC demodulator drivers to all report signal strength in a single conforming way. We all agreed on this at the LPC over two years

[PULL] au8522/s4h1409/s4h1411: Calculate signal strength shown as percentage from SNR up to 35dB

2011-10-31 Thread Michael Krufky
(resent with missing [PULL] tag in subject line) Mauro, Please pull from my atscdemod branch at git://linuxtv.org/mkrufky/tuners . These changesets bring au8522, s5h1409, and s5h1411 up to speed with the other ATSC demodulator drivers to all report signal strength in a single conforming way.

Re: [PATCH v3 4/14] staging/media/as102: checkpatch fixes

2011-10-31 Thread Mauro Carvalho Chehab
Em 31-10-2011 08:48, Stefan Richter escreveu: On Oct 30 Piotr Chmura wrote: Patch taken from http://kernellabs.com/hg/~dheitmueller/v4l-dvb-as102-2/ Original source and comment: # HG changeset patch By the way, the brand new git 1.7.8.rc0 features some HG support in git am:

[GIT PATCHES FOR 3.2] pwc driver ctrl events + fixes + pac207 exposure fix

2011-10-31 Thread Hans de Goede
Hi Mauro, Please pull from my tree for the pwc ctrl-event changes + various fixes as well as the long expected pac207 exposure fix: The following changes since commit 9e9e52f85fac877344e1a5bf92b41c5450a8d2e5: vivi: let vb2_poll handle events. (2011-10-06 14:45:26 +0200) are available in the

Re: [PATCH] Increase max exposure value to 255 from 26.

2011-10-31 Thread Hans de Goede
Hi, Thanks for the patch, I've taken a look at this, and the way the pac207's exposure control works is it sets the fps according to the formula of: 90 / exposure reg value. So the old max setting gave you a max exposure time of 90 / 26 = 3.46 fps or 288.9 milliseconds. 3.46 fps already is

[PATCH] ir-rc6-decoder: Support RC6-6A variable length data

2011-10-31 Thread Lawrence Rust
Hi, Thanks for the comments and feedback that you gave concerning this patch. In the light of these I have made some small changes. In particular I would like to address Mauro's comments regarding changing the size of a scancode to accommodate 128 bits. I've given this some thought and believe

[GIT PULL for v3.2-rc1] media drivers/core updates

2011-10-31 Thread Mauro Carvalho Chehab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For the latest improvements at the media subsystem, including: dvb-core: several fixes and addition for DVB turbo delivery

Various ctrl and event frame work patches (version 2)

2011-10-31 Thread Hans de Goede
Hi All, This patch set obsoletes my previous add v4l2_subscribed_event_ops set, while working on adding support for ctrl-events to the uvc driver I found a few bugs in the event code, which this patchset fixes. Changes since version 1: -Added a documentation update (update v4l2-framework.txt)

[PATCH 1/6] v4l2-ctrl: Send change events to all fh for auto cluster slave controls

2011-10-31 Thread Hans de Goede
Otherwise the fh changing the master control won't get the inactive state change event for the slave controls. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/v4l2-ctrls.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH 2/6] v4l2-event: Deny subscribing with a type of V4L2_EVENT_ALL

2011-10-31 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/v4l2-event.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-event.c b/drivers/media/video/v4l2-event.c index 53b190c..9f56f18 100644 --- a/drivers/media/video/v4l2-event.c

[PATCH 3/6] v4l2-event: Remove pending events from fh event queue when unsubscribing

2011-10-31 Thread Hans de Goede
The kev pointers inside the pending events queue (the available queue) of the fh point to data inside the sev, unsubscribing frees the sev, thus making these pointers point to freed memory! This patch fixes these dangling pointers in the available queue by removing all matching pending events on

[PATCH 4/6] v4l2-event: Don't set sev-fh to NULL on unsubcribe

2011-10-31 Thread Hans de Goede
1: There is no reason for this after v4l2_event_unsubscribe releases the spinlock nothing is holding a reference to the sev anymore except for the local reference in the v4l2_event_unsubscribe function. 2: Setting sev-fh to NULL causes problems for the del op added in the next patch of this

[PATCH 5/6] v4l2-event: Add v4l2_subscribed_event_ops

2011-10-31 Thread Hans de Goede
Just like with ctrl events, drivers may want to get called back on listener add / remove for other event types too. Rather then special casing all of this in subscribe / unsubscribe event it is better to use ops for this. Signed-off-by: Hans de Goede hdego...@redhat.com ---

[PATCH 6/6] v4l2-ctrls: Use v4l2_subscribed_event_ops

2011-10-31 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/ivtv/ivtv-ioctl.c |3 +- drivers/media/video/pwc/pwc-v4l.c |2 +- drivers/media/video/v4l2-ctrls.c | 56 +++-- drivers/media/video/v4l2-event.c | 39

[PATCH] it913x Support it9135 Verions 2 chip.

2011-10-31 Thread Malcolm Priestley
Support for version 2 type chips and other LNA versions of version 1 Scripts may be compressed slightly at a later stage. TODO Firmware loader However, things are a little confusing, it is not clear that dvb-usb-it9137-01.fw does not work with version 2 chips as in recent files both firmwares

[PATCH 2/2] it913x-fe ver 1.09 amend adc table entries.

2011-10-31 Thread Malcolm Priestley
Amend adc table entries and size. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/it913x-fe-priv.h |4 +--- drivers/media/dvb/frontends/it913x-fe.c |5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git

Re: Various ctrl and event frame work patches (version 2)

2011-10-31 Thread Hans Verkuil
Hi Hans! On Monday, October 31, 2011 16:16:43 Hans de Goede wrote: Hi All, This patch set obsoletes my previous add v4l2_subscribed_event_ops set, while working on adding support for ctrl-events to the uvc driver I found a few bugs in the event code, which this patchset fixes. Did you see

[PATCH 00/17] Staging: Abilis Systems AS102 driver

2011-10-31 Thread Sylwester Nawrocki
Hello, I have collected most of patches for Abilis Systems AS102 driver recently submitted by Piotr and I'm resending it as the following series. There were some issues with some of the previous patches, due to improper e-mail encoding and some of them refused to apply properly. Hopefully there

[PATCH 02/17] staging: as102: Fix CodingStyle errors in file as102_drv.c

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Fix Linux kernel coding style (whitespace and indentation) errors in file as102_drv.c. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by: Sylwester Nawrocki

[PATCH 03/17] staging: as102: Fix CodingStyle errors in file as102_fw.c

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Fix Linux kernel coding style (whitespace and indentation) errors in file as102_fw.c. No functional changes. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by:

[PATCH 04/17] staging: as102: Fix CodingStyle errors in file as10x_cmd.c

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Fix Linux kernel coding style (whitespace and indentation) errors in file as10x_cmd.c. No functional changes. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by:

[PATCH 05/17] staging: as102: Fix CodingStyle errors in file as10x_cmd_stream.c

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Fix Linux kernel coding style (whitespace and indentation) errors in file as10x_cmd_stream.c. No functional changes. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl

[PATCH 06/17] staging: as102: Fix CodingStyle errors in file as102_fe.c

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Fix Linux kernel coding style (whitespace and indentation) errors in file as102_fe.c. No functional changes. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by:

[PATCH 07/17] staging: as102: Fix CodingStyle errors in file as102_usb_drv.c

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Fix Linux kernel coding style (whitespace and indentation) errors in file as102_usb_drv.c. No functional changes. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by:

[PATCH 08/17] staging: as102: Fix CodingStyle errors in file as10x_cmd_cfg.c

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Fix Linux kernel coding style (whitespace and indentation) errors in file as10x_cmd_cfg.c. No functional changes. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by:

[PATCH 09/17] staging: as102: Add Elgato EyeTV DTT Deluxe

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Add support for the Elgato EyeTV DTT Deluxe. Note that the product name field has not yet been abstracted out, so it will still identify itself as a PCTV 74e. The driver was originally built by the chipset manufacturer so that the product

[PATCH 10/17] staging: as102: Properly handle multiple product names

2011-10-31 Thread Sylwester Nawrocki
From: Devin Heitmueller dheitmuel...@kernellabs.com Properly handle the case where the driver can be associated with multiple different products (as opposed to always saying the device is named after the value in a #define). Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com

[PATCH 11/17] staging: as102: Fix licensing oversight

2011-10-31 Thread Sylwester Nawrocki
From: Pierrick Hascoet pierrick.hasc...@abilis.com Fix a couple of files which were supposed by be relicensed as GPL but were overlooked. Signed-off-by: Pierrick Hascoet pierrick.hasc...@abilis.com Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura

[PATCH 12/17] staging: as102: Remove non-linux headers inclusion

2011-10-31 Thread Sylwester Nawrocki
From: Piotr Chmura chmoor...@poczta.onet.pl Remove inclusion of Windows and other not linux related headers. [snj...@gmail.com: edited changelog, folded long line in Makefile] Cc: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by:

[PATCH 13/17] staging: as102: Convert the comments to kernel-doc style

2011-10-31 Thread Sylwester Nawrocki
Also amend some mismatched comments. Cc: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Sylwester Nawrocki snj...@gmail.com --- drivers/staging/media/as102/as102_drv.c|5 +- drivers/staging/media/as102/as10x_cmd.c| 105 +++-

[PATCH 14/17] staging: as102: Enable compilation

2011-10-31 Thread Sylwester Nawrocki
From: Piotr Chmura chmoor...@poczta.onet.pl Fix compilation errors in the USB driver by replacing usb_buffer_free(), usb_buffer_alloc() with usb_free_coherent() and usb_alloc_coherent(). Add entries for the driver in parent Makefile and Kconfig. [snj...@gmail.com: minor edit to changelog] Cc:

[PATCH 15/17] staging: as102: Add nBox Tuner Dongle support

2011-10-31 Thread Sylwester Nawrocki
From: Piotr Chmura chmoor...@poczta.onet.pl Add support for nBox Tuner Dongle based on the same chip. Cc: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Piotr Chmura chmoor...@poczta.onet.pl Signed-off-by: Sylwester Nawrocki snj...@gmail.com ---

[PATCH 16/17] staging: as102: Unconditionally compile code dependent on DVB_CORE

2011-10-31 Thread Sylwester Nawrocki
The driver depends on DVB_CORE so there is no need for conditional compilation of parts of the code depending on CONFIG_DVB_CORE as the driver is never compiled with CONFIG_DVB_CORE* disabled. Cc: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Sylwester Nawrocki snj...@gmail.com ---

[PATCH 17/17] staging: as102: Remove conditional compilation based on kernel version

2011-10-31 Thread Sylwester Nawrocki
Remove #if's related to kernel version and the code not applicable to 3.2+ kernels. Cc: Devin Heitmueller dheitmuel...@kernellabs.com Signed-off-by: Sylwester Nawrocki snj...@gmail.com --- drivers/staging/media/as102/as102_fe.c | 74 +--

Re: femon patch for dB

2011-10-31 Thread James
On 10/30/11 10:01, Michael Krufky wrote: The patch is actually OK with me, except that i disagree with the -2 parameter choice. I propose instead, to use a lowercase 'h' ... diff -r d4e8bf5658ce util/femon/femon.c --- a/util/femon/femon.cFri Oct 07 01:26:04 2011 +0530 +++

cron job: media_tree daily build: WARNINGS

2011-10-31 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Mon Oct 31 19:00:21 CET 2011 git hash:7e58b3e9d49b9a447eba9d8ba6f1d40f002d53e7 gcc version: i686-linux-gcc

[PULL] mxl111sf bug-fix for v3.2

2011-10-31 Thread Michael Krufky
Mauro, Please pull the following from the bug-fix branch of my mxl111sf tree. I thank Hans' scripts for finding these build warnings for me. One of them was a typo, causing the wrong return value in a function In the end, this fixes a real error - not just build warnings. Please get these