[PATCH RFC] V4L: Add underexposure metering flash controls

2013-01-20 Thread Andrzej Hajda
Add flash controls for metering of the light conditions regarding the necessity of the flash firing. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- Documentation/DocBook/media/v4l/controls.xml | 25 + drivers/media/v4l2-core/v4l2-ctrls.c |4 +

tuner-xc2028.c fix for EVGA inDtube tuner

2013-01-20 Thread mrf
Hi, Let me begin with, I'm an end user, not a programmer... I have noticed the EVGA inDtube tuner that I use (North American ATSC) has been broken for quite a while. The Frequency offsets are wrong, and up till now I have always had to fudge the frequency to account for the incorrect offset. I fo

cron job: media_tree daily build: ERRORS

2013-01-20 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:Sun Jan 20 19:00:14 CET 2013 git hash:3151d14aa6e983aa36d51a80d0477859f9ba12af gcc version: i686-linux-gcc (GCC

[PATCH 4/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-01-20 Thread Ondrej Zary
Add AverMedia AverTV Satellite Hybrid+FM (A706) card to saa7134 driver. Working: analog inputs, TV, FM radio and IR remote control. Untested: DVB-S. Signed-off-by: Ondrej Zary --- drivers/media/i2c/ir-kbd-i2c.c | 13 ++- drivers/media/pci/saa7134/saa7134-cards.c | 53 +

[PATCH 3/4] tuner-core: Change config from unsigned int to void *

2013-01-20 Thread Ondrej Zary
config looks like a hack that was added to tuner-core to allow some configuration of TDA8290 tuner (it's not used by any other driver). But with the new configuration options of tda8290 driver (no_i2c_gate and std_map), it's no longer sufficient. Change config to be void * instead, which allows pa

[PATCH 2/4] tda8290: Allow custom std_map for tda18271

2013-01-20 Thread Ondrej Zary
Allow specifying a custom std_map for tda18271 by external configuration. This is required by cards that require custom std_map for analog TV or radio, like AverMedia A706. Signed-off-by: Ondrej Zary --- drivers/media/tuners/tda8290.c |3 +++ drivers/media/tuners/tda8290.h |2 ++ 2 files

[PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-20 Thread Ondrej Zary
Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. Signed-off-by: Ondrej Zary --- drivers/media/tuners/tda8290.c | 13 +++-- drivers/media/tuners/tda8290.h |1 + 2 files changed, 12

[PATCH 0/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-01-20 Thread Ondrej Zary
Add AverMedia AverTV Satellite Hybrid+FM (A706) card to saa7134 driver. This requires some changes to tda8290 - disabling I2C gate control and passing custom std_map to tda18271. Also tuner-core needs to be changed because there's currently no way to pass any complex configuration to analog tuner

V4L2 spec / core questions

2013-01-20 Thread Frank Schäfer
Hi Hans, I noticed that there's code in the v4l2 core that enables/disables ioctls and checks some of the parameters depending on the device type. While reading the code an comparing it to the V4L2 API document, some more questions came up: 1) Video devices with VBI functionality: The spec says:

Re: [PATCH 1/1] [media] s5k6aa: Use devm_regulator_bulk_get API

2013-01-20 Thread Sylwester Nawrocki
Hi Sachin, On 01/08/2013 07:48 AM, Sachin Kamat wrote: devm_regulator_bulk_get is device managed and saves some cleanup and exit code. Applied to my tree for 3.9, thanks. I had some doubts initially, since this driver ideally needs to have regulator_bulk_enable/disable function calls replaced

Re: [PATCH] [media] use IS_ENABLED() macro

2013-01-20 Thread Antti Palosaari
On 01/20/2013 08:07 PM, Antti Palosaari wrote: On 01/20/2013 07:32 AM, Peter Senna Tschudin wrote: This patch introduces the use of IS_ENABLED() macro. For example, replacing: #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE)) with: #if IS_ENABLED(CONFIG_I2C) All ch

Re: [PATCH] [media] use IS_ENABLED() macro

2013-01-20 Thread Antti Palosaari
On 01/20/2013 07:32 AM, Peter Senna Tschudin wrote: This patch introduces the use of IS_ENABLED() macro. For example, replacing: #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE)) with: #if IS_ENABLED(CONFIG_I2C) All changes made by this patch respect the same replac

Re: em28xx: msi Digivox ATSC board id [0db0:8810]

2013-01-20 Thread Antti Palosaari
On 01/20/2013 04:40 PM, Matthew Gyurgyik wrote: On 01/02/2013 09:53 PM, Matthew Gyurgyik wrote: On 01/02/2013 03:59 PM, Antti Palosaari wrote: On 12/18/2012 05:08 AM, Matthew Gyurgyik wrote: I can test patches Tue and Wed this week. Afterwards, I probably won't be able to test anything until D

Re: [PATCH V2 05/24] radio/si470x/radio-si470x.h: use IS_ENABLED() macro

2013-01-20 Thread Hans Verkuil
On Sun January 20 2013 00:41:12 Peter Senna Tschudin wrote: > replace: > #if defined(CONFIG_USB_SI470X) || \ > defined(CONFIG_USB_SI470X_MODULE) > with: > #if IS_ENABLED(CONFIG_USB_SI470X) > > This change was made for: CONFIG_USB_SI470X, > CONFIG_I2C_SI470X > > Reported-by: Mauro Carvalho

Re: em28xx: msi Digivox ATSC board id [0db0:8810]

2013-01-20 Thread Matthew Gyurgyik
On 01/02/2013 09:53 PM, Matthew Gyurgyik wrote: On 01/02/2013 03:59 PM, Antti Palosaari wrote: On 12/18/2012 05:08 AM, Matthew Gyurgyik wrote: I can test patches Tue and Wed this week. Afterwards, I probably won't be able to test anything until Dec 28th/29th as I will be away from my workstatio

[PATCH] em28xx: overhaul em28xx_capture_area_set()

2013-01-20 Thread Frank Schäfer
- move the bit shifting of width+height values inside the function - fix the debug message format and output values - add comment about the size limit (e.g. EM277x supports >2MPix) - make void, because error checking is incomplete and we never check the returned value (we would continue anyway)

several media-related tracked DocBook pdf files are ignored

2013-01-20 Thread Robert P. J. Day
$ git ls-files -i --exclude-standard Documentation/DocBook/media/dvb/dvbstb.pdf Documentation/DocBook/media/v4l/crop.pdf Documentation/DocBook/media/v4l/fieldseq_bt.pdf Documentation/DocBook/media/v4l/fieldseq_tb.pdf Documentation/DocBook/media/v4l/pipeline.pdf Documentation/DocBook/media/v4l/vbi_