cron job: media_tree daily build: OK

2014-11-21 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: Sat Nov 22 04:00:19 CET 2014 git branch: test git hash: 5937a784c3e5fe8fd1e201f42a2b1ece6c36a6c0 gcc versio

[PATCH] media/au0828: Fix IR stop, poll to not access device during disconnect

2014-11-21 Thread Shuah Khan
au0828 IR stop and poll routines continue to access device while usb disconnect is in progress. There is small window between device disconnect and usb interface is set to null. This results in filling the log with several of the following error messages. Fix it to detect device disconnect conditio

Re: v4l-utils stable release 1.6.2

2014-11-21 Thread Gregor Jasny
I just released v4l-utils 1.6.1 and 1.6.2 with these changes: > v4l-utils-1.6.2 > --- > > Hans Verkuil (5): > v4l2-ctl: fix sliced vbi mode parsing > v4l2-compliance: when streaming used at least 2 buffers. > v4l2-compliance: add initial checks for VIDIOC_QUERY_EXT_C

Re: v4l-utils stable release 1.6.1

2014-11-21 Thread Hans Verkuil
Hi Gregor, On 11/20/2014 04:31 PM, Gregor Jasny wrote: > Hello, > > do you consider something from these commits as important enough for a > bugfix release? > > Thanks, > Gregor > >> Akihiro Tsukada (9): >> libdvbv5, dvbv5-scan: generalize channel duplication check >> libdvbv5: add

Any tuner hardware expert here?

2014-11-21 Thread Jahn
Does anybody here understand how tuner hardware work? >From my understanding tuner sends output voltage( 13V/18V) to LNB( in >satellite dish) and from LNB input voltage is coming to tuner chip then to demodulator chip and to data bus and those data goes to CPU of the satellite receiver. I hav

[PATCH v2] media: pci: smipcie: Fix dependency for DVB_SMIPCIE

2014-11-21 Thread Andreas Ruprecht
In smipcie.c, the function i2c_bit_add_bus() is called. This function is defined by the I2C bit-banging interfaces enabled with CONFIG_I2C_ALGOBIT. As there was no dependency in Kconfig, CONFIG_I2C_ALGOBIT could be set to "m" while CONFIG_DVB_SMIPCIE was set to "y", resulting in a build error due

Re: [PATCH] media: pci: smipcie: Fix dependency for DVB_SMIPCIE

2014-11-21 Thread Andreas Ruprecht
On 21.11.2014 19:13, Mauro Carvalho Chehab wrote: > Em Fri, 21 Nov 2014 18:51:59 +0100 > Andreas Ruprecht escreveu: > >> In smipcie.c, the function i2c_bit_add_bus() is called. This >> function is defined by the I2C bit-banging interfaces enabled >> with CONFIG_I2C_ALGOBIT. >> >> As there was no

Re: [PATCH] media: pci: smipcie: Fix dependency for DVB_SMIPCIE

2014-11-21 Thread Mauro Carvalho Chehab
Em Fri, 21 Nov 2014 18:51:59 +0100 Andreas Ruprecht escreveu: > In smipcie.c, the function i2c_bit_add_bus() is called. This > function is defined by the I2C bit-banging interfaces enabled > with CONFIG_I2C_ALGOBIT. > > As there was no dependency in Kconfig, CONFIG_I2C_ALGOBIT could > be set to

[PATCH] media: pci: smipcie: Fix dependency for DVB_SMIPCIE

2014-11-21 Thread Andreas Ruprecht
In smipcie.c, the function i2c_bit_add_bus() is called. This function is defined by the I2C bit-banging interfaces enabled with CONFIG_I2C_ALGOBIT. As there was no dependency in Kconfig, CONFIG_I2C_ALGOBIT could be set to "m" while CONFIG_DVB_SMIPCIE was set to "y", resulting in a build error due

[PATCH] MAINTAINERS: Update mchehab's addresses

2014-11-21 Thread Mauro Carvalho Chehab
I'm using the new Open Source Group address for my upstream work. While the other email is still valid, it is better for me to receive patches via the new address. So, replace it everywhere inside MAINTAINERS. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 34 +--

randconfig build error with next-20141121, in drivers/media/pci/smipcie/smipcie.c

2014-11-21 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `smi_probe': smipcie.c:(.text+0x15725b): undefined reference to `i2c_bit_add_bus' smipcie.c:(.text+0x157327): undefined reference to `i2c_bit_add_bus' make: *** [vmlinux] Error 1 # # Automatically generated file;

[PATCH/RFC v4 06/11] mediactl: Add media_device creation helpers

2014-11-21 Thread Jacek Anaszewski
Add helper functions that allow for easy instantiation of media_device object basing on whether the media device contains video device with given node name. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park --- utils/media-ctl/libmediactl.c | 75 +

[PATCH/RFC v4 07/11] media-ctl: libv4l2subdev: add VYUY8_2X8 mbus code

2014-11-21 Thread Jacek Anaszewski
The VYUY8_2X8 media bus format is the only one supported by the S5C73M3 camera sensor, that is a part of the media device on the Exynos4412-trats2 board. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park --- utils/media-ctl/libv4l2subdev.c |1 + 1 file changed, 1 insertion(+) diff --

[PATCH/RFC v4 09/11] mediactl: Close only pipeline sub-devices

2014-11-21 Thread Jacek Anaszewski
The function media_device_new_by_entity_devname queries media devices available in the system for containment if given media entity. If a verification is negative the media_device is released with media_device_unref. In the previous approach media_device_unref was closing all media entities it cont

[PATCH/RFC v4 08/11] mediactl: Add support for media device pipelines

2014-11-21 Thread Jacek Anaszewski
Add infrastructure for linking media entities, discovering pipelines of media entities and opening/closing all sub-devices in the pipeline at one go. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park --- utils/media-ctl/libmediactl.c | 168 +++ utils

[PATCH/RFC v4 11/11] Add a libv4l plugin for Exynos4 camera

2014-11-21 Thread Jacek Anaszewski
The plugin provides support for the media device on Exynos4 SoC. It performs single plane <-> multi plane API conversion, video pipeline linking and takes care of automatic data format negotiation for the whole pipeline, after intercepting VIDIOC_S_FMT or VIDIOC_TRY_FMT ioctls. Signed-off-by: Jace

[PATCH/RFC v4 10/11] mediactl: Add media device ioctl API

2014-11-21 Thread Jacek Anaszewski
Ioctls executed on complex media devices need special handling. E.g. S_FMT requires negotiation for the whole pipeline of sub-devices. On the other hand some ioctls need to be targeted for specific sub-devices. The API being introduced address such requirements. Signed-off-by: Jacek Anaszewski Ac

[PATCH/RFC v4 02/11] mediactl: Add support for v4l2 controls

2014-11-21 Thread Jacek Anaszewski
Make struct v4l2_subdev capable of aggregating information on its validated v4l2 controls. A control needs to be validated for a v4l2_subdev in case it is mentioned in the media configuraion file. Added are also functions for validating controls and finding validated controls. Signed-off-by: Jacek

[PATCH/RFC v4 05/11] mediactl: Add media device graph helpers

2014-11-21 Thread Jacek Anaszewski
Add new graph helpers useful for video pipeline discovering. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park --- utils/media-ctl/libmediactl.c | 174 + utils/media-ctl/mediactl.h| 121 2 files changed, 295 insert

[PATCH/RFC v4 04/11] mediatext: Add library

2014-11-21 Thread Jacek Anaszewski
libmediatext is a helper library for converting configurations (Media controller links, V4L2 controls and V4L2 sub-device media bus formats and selections) from text-based form into IOCTLs. libmediatext depends on libv4l2subdev and libmediactl. Signed-off-by: Sakari Ailus Signed-off-by: Teemu Tu

[PATCH/RFC v4 01/11] mediactl: Introduce v4l2_subdev structure

2014-11-21 Thread Jacek Anaszewski
Add struct v4l2_subdev as a representation of the v4l2 sub-device related to a media entity. Add sd property, the pointer to the newly introduced structure, to the struct media_entity and move fd property to it. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park --- utils/media-ctl/libmedi

[PATCH/RFC v4 03/11] mediactl: Separate entity and pad parsing

2014-11-21 Thread Jacek Anaszewski
Sometimes it's useful to be able to parse the entity independent of the pad. Separate entity parsing into media_parse_entity(). Signed-off-by: Sakari Ailus --- utils/media-ctl/libmediactl.c | 28 utils/media-ctl/mediactl.h| 14 ++ 2 files changed,

[PATCH/RFC v4 00/11] Add a plugin for Exynos4 camera

2014-11-21 Thread Jacek Anaszewski
This is a fourth version of the patch series adding a plugin for the Exynos4 camera. Temporarily the plugin doesn't link against libmediactl, but has its sources compiled in. Currently libmediactl is built after the plugins and it can't be easily changed because it depends on the core libs.

terratec HTC XS HD USB

2014-11-21 Thread Robert N
Hi, I'm trying to get my USB tuner stick working on an openwrt, but getting some errors. using w_scan to scan the available channels, gives: 113000: sr6900 (time: 00:11) (time: 00:12) signal ok: QAM_64 f = 113000 kHz S6900C999 start_filter:1410: ERROR: ioctl DMX_SET_FILTER failed: 97 M

[PATCH] Staging: media: lirc: lirc_serial: replaced printk with pr_debug

2014-11-21 Thread Abel Moyo
Replaced printk with pr_debug in dprintk Signed-off-by: Abel Moyo --- drivers/staging/media/lirc/lirc_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_serial.c b/drivers/staging/media/lirc/lirc_serial.c index 181b92b..86c5274 100644 --

Re: [PATCH 1/9] clk: sunxi: Give sunxi_factors_register a registers parameter

2014-11-21 Thread Maxime Ripard
On Fri, Nov 21, 2014 at 09:44:51AM +0100, Hans de Goede wrote: > Hi, > > On 11/21/2014 09:35 AM, Maxime Ripard wrote: > > Hi Hans, > > > > On Thu, Nov 20, 2014 at 04:55:20PM +0100, Hans de Goede wrote: > >> Before this commit sunxi_factors_register uses of_iomap(node, 0) to get > >> the clk regis

[PATCH] bttv/cx25821/cx88/ivtv: use sg_next instead of sg++

2014-11-21 Thread Hans Verkuil
Never use sg++, always use sg = sg_next(sg). Scatterlist entries can be combined if the memory is contiguous but sg++ won't know about that. As far as I can tell cx88 and ivtv are really broken because of this, and bttv and cx25821 are OK because vb1 doesn't combine scatterlist entries. But regar

[GIT FIXES FOR v3.18] Various fixes for 3.18

2014-11-21 Thread Hans Verkuil
Hi Mauro, Here are three fixes and one MAINTAINERS update that should go to 3.18. Regards, Hans The following changes since commit c02ef64aab828d80040b5dce934729312e698c33: [media] cx23885: add DVBSky T982(Dual DVB-T2/T/C) support (2014-11-14 18:28:41 -0200) are available in the gi

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-21 Thread Hans Verkuil
On 11/21/2014 11:05 AM, Hans Verkuil wrote: > Mariusz, > > Thanks for reporting and testing this so quickly! > > On 11/21/2014 10:20 AM, Hans Verkuil wrote: >> Several drivers (mostly copy-and-paste) still used sg++ instead of >> sg = sg_next(sg). Fix them since sg++ won't work if contiguous scat

Re: [PATCH 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 10:59 AM, Maxime Ripard wrote: > On Fri, Nov 21, 2014 at 09:42:09AM +0100, Hans de Goede wrote: >> Hi, >> >> On 11/21/2014 09:26 AM, Maxime Ripard wrote: >>> Hi Mauro, >>> >>> On Thu, Nov 20, 2014 at 02:28:56PM -0200, Mauro Carvalho Chehab wrote: Em Thu, 20 Nov 2014 16:55:24

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-21 Thread Hans Verkuil
Mariusz, Thanks for reporting and testing this so quickly! On 11/21/2014 10:20 AM, Hans Verkuil wrote: > Several drivers (mostly copy-and-paste) still used sg++ instead of > sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter > entries where combined into one larger entry. > >

Re: [PATCH 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-21 Thread Maxime Ripard
On Fri, Nov 21, 2014 at 09:42:09AM +0100, Hans de Goede wrote: > Hi, > > On 11/21/2014 09:26 AM, Maxime Ripard wrote: > > Hi Mauro, > > > > On Thu, Nov 20, 2014 at 02:28:56PM -0200, Mauro Carvalho Chehab wrote: > >> Em Thu, 20 Nov 2014 16:55:24 +0100 > >> Hans de Goede escreveu: > >> > >>> Add s

[PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-21 Thread Hans Verkuil
Several drivers (mostly copy-and-paste) still used sg++ instead of sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter entries where combined into one larger entry. Signed-off-by: Hans Verkuil Cc: sta...@vger.kernel.org # for v3.7 and up --- drivers/media/pci/bt8xx/bttv-r

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 09:49 AM, Maxime Ripard wrote: > Hi, > > On Thu, Nov 20, 2014 at 04:55:22PM +0100, Hans de Goede wrote: >> Add a driver for mod0 clocks found in the prcm. Currently there is only >> one mod0 clocks in the prcm, the ir clock. >> >> Signed-off-by: Hans de Goede >> --- >> Documen

Re: [PATCH 4/9] rc: sunxi-cir: Add support for an optional reset controller

2014-11-21 Thread Maxime Ripard
Hi Mauro, On Thu, Nov 20, 2014 at 02:28:31PM -0200, Mauro Carvalho Chehab wrote: > Em Thu, 20 Nov 2014 16:55:23 +0100 > Hans de Goede escreveu: > > > On sun6i the cir block is attached to the reset controller, add support > > for de-asserting the reset if a reset controller is specified in dt. >

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-21 Thread Maxime Ripard
Hi, On Thu, Nov 20, 2014 at 04:55:22PM +0100, Hans de Goede wrote: > Add a driver for mod0 clocks found in the prcm. Currently there is only > one mod0 clocks in the prcm, the ir clock. > > Signed-off-by: Hans de Goede > --- > Documentation/devicetree/bindings/clock/sunxi.txt | 1 + > drivers/

Re: [PATCH 1/9] clk: sunxi: Give sunxi_factors_register a registers parameter

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 09:35 AM, Maxime Ripard wrote: > Hi Hans, > > On Thu, Nov 20, 2014 at 04:55:20PM +0100, Hans de Goede wrote: >> Before this commit sunxi_factors_register uses of_iomap(node, 0) to get >> the clk registers. The sun6i prcm has factor clocks, for which we want to >> use sunxi_facto

Re: [PATCH 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 09:26 AM, Maxime Ripard wrote: > Hi Mauro, > > On Thu, Nov 20, 2014 at 02:28:56PM -0200, Mauro Carvalho Chehab wrote: >> Em Thu, 20 Nov 2014 16:55:24 +0100 >> Hans de Goede escreveu: >> >>> Add support for the larger fifo found on sun5i and sun6i, having a separate >>> compatib

Re: [PATCH 1/9] clk: sunxi: Give sunxi_factors_register a registers parameter

2014-11-21 Thread Maxime Ripard
Hi Hans, On Thu, Nov 20, 2014 at 04:55:20PM +0100, Hans de Goede wrote: > Before this commit sunxi_factors_register uses of_iomap(node, 0) to get > the clk registers. The sun6i prcm has factor clocks, for which we want to > use sunxi_factors_register, but of_iomap(node, 0) does not work for the pr

Re: [PATCH 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-21 Thread Maxime Ripard
Hi Mauro, On Thu, Nov 20, 2014 at 02:28:56PM -0200, Mauro Carvalho Chehab wrote: > Em Thu, 20 Nov 2014 16:55:24 +0100 > Hans de Goede escreveu: > > > Add support for the larger fifo found on sun5i and sun6i, having a separate > > compatible for the ir found on sun5i & sun6i also is useful if we