Re: [PATCH 01/10] alsa_stream: port changes made on xawtv3

2011-09-07 Thread Hans de Goede
Hi, Lots of good stuff in this thread! It seems Mauro has answered most things, so I'm just going to respond to this bit. On 09/07/2011 05:37 AM, Devin Heitmueller wrote: Snip We've added a parameter for that on xawtv3 (--alsa-latency). We've parametrized it at the alsa stream function call.

[PATCH] V4L: omap1-camera: fix Oops with NULL platform data

2011-09-07 Thread Guennadi Liakhovetski
Consistently check for platform data != NULL before dereferencing. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- drivers/media/video/omap1_camera.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git

OMAP3 ISP and UYVY422

2011-09-07 Thread Gary Thomas
I now have my camera, attached to TVP5150 running in BT656 mode, grabbing data. Sadly, the output is not yet correct. My pipeline is set up as: media-ctl -r -l 'tvp5150 2-005c:0-OMAP3 ISP CCDC:0[1], OMAP3 ISP CCDC:1-OMAP3 ISP CCDC output:0[1]' media-ctl -f 'tvp5150 2-005c:0[UYVY2X8

Re: [PATCH 0/2] video: s3c-fb: Add window positioning support

2011-09-07 Thread Laurent Pinchart
Hi Florian, On Thursday 01 September 2011 18:45:18 Florian Tobias Schandinat wrote: Hi all, On 08/25/2011 07:51 PM, Ajay Kumar wrote: Just as a note, there are many drivers like mx3fb.c, au1200fb.c and OMAP seem to be doing window/plane positioning in their driver code. Is it possible

[PATCH 2/2] V4L: sh_mobile_csi2: do not guess the client, the host tells us

2011-09-07 Thread Guennadi Liakhovetski
We do not have to scan the list of subdevices to find our client - the sensor, the host has already set our grp_id value. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_csi2.c | 18 +++--- 1 files changed, 3 insertions(+), 15

[PATCH 2/2] V4L: soc-camera: call subdevice .s_power() method, when powering up or down

2011-09-07 Thread Guennadi Liakhovetski
Currently soc-camera can use power regulators and platform specific methods to power clients up and down. Additionally, client drivers can provide their own subdevice .s_power() methods, acting directly on the device. This patch adds calls to this method, when external power supplies are on.

[PATCH] V4L: sh-mobile-ceu-camera: fix mixed CSI2 parallel camera case

2011-09-07 Thread Guennadi Liakhovetski
The current sh_mobile_ceu_camera driver can cause an Oops, if a CSI2 and a parallel camera are registered on the same CEU. Fix it by making CSI2 association with a camera more targeted. Reported-by: Bastian Hecht hec...@googlemail.com Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de ---

Re: [PATCH] uvcvideo: Fix crash when linking entities

2011-09-07 Thread Josh Boyer
On Wed, Sep 07, 2011 at 12:29:08AM +0200, Laurent Pinchart wrote: The uvc_mc_register_entity() function wrongfully selects the media_entity associated with a UVC entity when creating links. This results in access to uninitialized media_entity structures and can hit a BUG_ON statement in

Re: [PATCH 1/2] omap3: ISP: Fix the failure of CCDC capture during suspend/resume

2011-09-07 Thread Laurent Pinchart
Hi, On Wednesday 07 September 2011 12:10:23 Koyamangalath, Abhilash wrote: On Tue, Aug 30, 2011 Laurent Pinchart wrote: On Wednesday 10 August 2011 16:03:12 Deepthy Ravi wrote: From: Abhilash K V abhilash...@ti.com While resuming from the suspended to memory state, occasionally CCDC

Re: [PATCH 01/10] alsa_stream: port changes made on xawtv3

2011-09-07 Thread Mauro Carvalho Chehab
Em 07-09-2011 00:37, Devin Heitmueller escreveu: On Tue, Sep 6, 2011 at 11:29 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Basically the above starts at the *maximum* capture resolution and works its way down. One might argue that this heuristic makes more sense anyway - why

[PATCH] V4L: soc_camera_platform: do not leave dangling invalid pointers

2011-09-07 Thread Guennadi Liakhovetski
The life-time of soc-camera device objects can be longer, than the time, it is attached to a client driver, therefore all references to the driver own data have to be cleared, when the driver is detached. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de ---

RE: [PATCH 1/2] omap3: ISP: Fix the failure of CCDC capture during suspend/resume

2011-09-07 Thread Koyamangalath, Abhilash
On Tue, Aug 30, 2011 Laurent Pinchart wrote: Hi, On Wednesday 10 August 2011 16:03:12 Deepthy Ravi wrote: From: Abhilash K V abhilash...@ti.com While resuming from the suspended to memory state, occasionally CCDC fails to get enabled and thus fails to capture frames any more till the

[PATCH 1/2] V4L: sh_mobile_ceu_camera: the host shall configure the pipeline

2011-09-07 Thread Guennadi Liakhovetski
From 2ead2de80898ad53923a4fc4d4e1142ae414fd2f Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski g.liakhovet...@gmx.de Date: Wed, 7 Sep 2011 16:59:47 +0200 Subject: [PATCH] V4L: sh_mobile_ceu_camera: the host shall configure the pipeline It is a task of the host / bridge driver to bind single

[PATCH 0/2] V4L: sh-mobile: CEU - CSI-2 - client configuration

2011-09-07 Thread Guennadi Liakhovetski
The CEU (bridge) driver is a much better place to configure the client - [CSI-2] - CEU pipeline, than the CSI-2 driver. These 2 patches move this configuration accordingly. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/

Re: [PATCH 2/3] dvb-usb: multi-frontend support (MFE)

2011-09-07 Thread Antti Palosaari
On 08/01/2011 05:24 AM, Mauro Carvalho Chehab wrote: Em 31-07-2011 22:22, Antti Palosaari escreveu: On 08/01/2011 03:46 AM, Mauro Carvalho Chehab wrote: One bad thing I noticed with the API is that it calls adap-props.frontend_attach(adap) several times, instead of just one, without even

[PATCH 1/2] V4L: soc-camera: split a function into two

2011-09-07 Thread Guennadi Liakhovetski
The soc_camera_power_set() function processes two cases: power on anf off. These two cases don't share and common code, and the function is always called with a constant power on / off argument. Splitting this function into two removes a condition check, reduces indentation levels and makes the

[PATCH v2] omap3: ISP: Fix the failure of CCDC capture during suspend/resume

2011-09-07 Thread Deepthy Ravi
From: Abhilash K V abhilash...@ti.com While resuming from the suspended to memory state, occasionally CCDC fails to get enabled and thus fails to capture frames any more till the next suspend/resume is issued. This is a race condition which happens only when a CCDC frame-completion ISR is pending

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2011-09-07 Thread Robert Schwebel
Hi, On Tue, Sep 06, 2011 at 05:07:54PM +0200, javier Martin wrote: we are planning to add support to H.264/MPEG4 encoder inside the i.MX27 to v4l2. It is mainly a hardware module that has the following features: We have driver prototypes for the MX27 VPU (which is basically the same as on

Re: [PATCH 2/3] dvb-usb: multi-frontend support (MFE)

2011-09-07 Thread Michael Krufky
On Wed, Sep 7, 2011 at 12:51 PM, Antti Palosaari cr...@iki.fi wrote: On 08/01/2011 05:24 AM, Mauro Carvalho Chehab wrote: Em 31-07-2011 22:22, Antti Palosaari escreveu: On 08/01/2011 03:46 AM, Mauro Carvalho Chehab wrote: One bad thing I noticed with the API is that it calls

Re: [PATCH 2/3] dvb-usb: multi-frontend support (MFE)

2011-09-07 Thread Michael Krufky
On Wed, Sep 7, 2011 at 1:41 PM, Michael Krufky mkru...@kernellabs.com wrote: On Wed, Sep 7, 2011 at 12:51 PM, Antti Palosaari cr...@iki.fi wrote: On 08/01/2011 05:24 AM, Mauro Carvalho Chehab wrote: Em 31-07-2011 22:22, Antti Palosaari escreveu: On 08/01/2011 03:46 AM, Mauro Carvalho Chehab

[PATCH 0/2] soc-camera: add .s_power() subdevice calls

2011-09-07 Thread Guennadi Liakhovetski
Currently soc-camera supports using regulators and platform callbacks for client (sensor, decoder,...) power management. These patches also call driver own .s_power() methods in the same scope. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer

Re: [PATCH] V4L: omap1-camera: fix Oops with NULL platform data

2011-09-07 Thread Janusz Krzysztofik
On Wed, 7 Sep 2011 at 15:49:15 Guennadi Liakhovetski wrote: Consistently check for platform data != NULL before dereferencing. Sure, thanks for taking care of this. Janusz Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Janusz Krzysztofik jkrzy...@tis.icnet.pl ---

Re: [PATCH 2/3] dvb-usb: multi-frontend support (MFE)

2011-09-07 Thread Michael Krufky
On Wed, Sep 7, 2011 at 12:51 PM, Antti Palosaari cr...@iki.fi wrote: Also .num_frontends can be removed after that, since DVB USB will just loop through 0 to MAX FEs and register all FEs found (fe pointer !NULL). We need to keep .num_frontends and .num_adapters both, because my next change to

Re: [PATCH] V4L: omap1-camera: fix Oops with NULL platform data

2011-09-07 Thread Guennadi Liakhovetski
On Wed, 7 Sep 2011, Janusz Krzysztofik wrote: On Wed, 7 Sep 2011 at 15:49:15 Guennadi Liakhovetski wrote: Consistently check for platform data != NULL before dereferencing. Sure, thanks for taking care of this. I'll take it as an Acked-by ;-) Thanks Guennadi Janusz Signed-off-by:

Re: [PATCH 2/3] dvb-usb: multi-frontend support (MFE)

2011-09-07 Thread Antti Palosaari
On 09/07/2011 08:45 PM, Michael Krufky wrote: On Wed, Sep 7, 2011 at 1:41 PM, Michael Krufkymkru...@kernellabs.com wrote: On Wed, Sep 7, 2011 at 12:51 PM, Antti Palosaaricr...@iki.fi wrote: On 08/01/2011 05:24 AM, Mauro Carvalho Chehab wrote: Em 31-07-2011 22:22, Antti Palosaari escreveu:

Re: [PATCH 2/3] dvb-usb: multi-frontend support (MFE)

2011-09-07 Thread Michael Krufky
On Wed, Sep 7, 2011 at 2:20 PM, Antti Palosaari cr...@iki.fi wrote: On 09/07/2011 08:45 PM, Michael Krufky wrote: On Wed, Sep 7, 2011 at 1:41 PM, Michael Krufkymkru...@kernellabs.com  wrote: On Wed, Sep 7, 2011 at 12:51 PM, Antti Palosaaricr...@iki.fi  wrote: On 08/01/2011 05:24 AM, Mauro

cron job: media_tree daily build: ERRORS

2011-09-07 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:Wed Sep 7 19:00:48 CEST 2011 git hash:d4d4e3c97211f20d4fde5d82878561adaa42b578 gcc version: i686-linux-gcc

[GIT PULL for v3.2] saa7164: Add support for another HVR2200 hardware revision

2011-09-07 Thread Steven Toth
Mauro, I've been sitting on this patch for a while It adds a new card profile to the existing driver. Please pull from git://git.kernellabs.com/stoth/saa7164-stable.git Commit 87e0c0378bf2068df5d0c43acd66aea9ba71bd89

Re: [PATCH] media i.MX27 camera: remove legacy dma support

2011-09-07 Thread Guennadi Liakhovetski
Hi Sascha (hope, you've had good holidays:-)) Any update on this? Do we want this for 3.2? Thanks Guennadi On Wed, 24 Aug 2011, Sascha Hauer wrote: Hi Guennadi, On Wed, Aug 24, 2011 at 09:19:24AM +0200, Guennadi Liakhovetski wrote: Sure, if it's broken, let's remove it. But there are a

Re: [PATCH 2/3] dvb-usb: multi-frontend support (MFE)

2011-09-07 Thread Antti Palosaari
On 09/07/2011 09:36 PM, Michael Krufky wrote: On Wed, Sep 7, 2011 at 2:20 PM, Antti Palosaaricr...@iki.fi wrote: Yes, I now saw when looked latest anysee driver that you moved .streaming_ctrl(), .frontend_attach() and .tuner_attach() to frontend property. OK, it is not then relevant anymore

Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend

2011-09-07 Thread Antti Palosaari
This patch seems to break all DVB USB devices we have. Michael, could you check and fix it asap. On 09/06/2011 08:21 PM, Mauro Carvalho Chehab wrote: This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/media_tree.git tree:

Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend

2011-09-07 Thread Antti Palosaari
This error is shown by VLC when channel changed: [0x7f1bbc000cd0] dvb access error: DMXSetFilter: failed with -1 (Invalid argument) [0x7f1bbc000cd0] dvb access error: DMXSetFilter failed [0x7f1bbc32f910] main stream error: cannot pre fill buffer but it seems to be related dvb_usb_ctrl_feed()

Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend

2011-09-07 Thread Michael Krufky
On 09/08/2011 12:18 AM, Antti Palosaari wrote: This patch seems to break all DVB USB devices we have. Michael, could you check and fix it asap. On 09/06/2011 08:21 PM, Mauro Carvalho Chehab wrote: This is an automatic generated email to let you know that the following patch were queued at

Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend

2011-09-07 Thread Michael Krufky
On Wed, Sep 7, 2011 at 5:35 PM, Michael Krufky mkru...@kernellabs.com wrote: On 09/08/2011 12:18 AM, Antti Palosaari wrote: This patch seems to break all DVB USB devices we have. Michael, could you check and fix it asap. On 09/06/2011 08:21 PM, Mauro Carvalho Chehab wrote: This is an

Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend

2011-09-07 Thread Michael Krufky
On Wed, Sep 7, 2011 at 5:52 PM, Michael Krufky mkru...@kernellabs.com wrote: On Wed, Sep 7, 2011 at 5:45 PM, Antti Palosaari cr...@iki.fi wrote: On 09/08/2011 12:39 AM, Michael Krufky wrote: On Wed, Sep 7, 2011 at 5:35 PM, Michael Krufkymkru...@kernellabs.com  wrote: On 09/08/2011 12:18 AM,

Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend

2011-09-07 Thread Michael Krufky
On Wed, Sep 7, 2011 at 5:45 PM, Antti Palosaari cr...@iki.fi wrote: On 09/08/2011 12:39 AM, Michael Krufky wrote: On Wed, Sep 7, 2011 at 5:35 PM, Michael Krufkymkru...@kernellabs.com  wrote: On 09/08/2011 12:18 AM, Antti Palosaari wrote: This patch seems to break all DVB USB devices we

Re: Can you review or ack this patch?

2011-09-07 Thread Andrew Morton
On Tue, 23 Aug 2011 08:33:25 +0200 Hans Verkuil hverk...@xs4all.nl wrote: (and resent again, this time with the correct linux-fsdevel mail address) (Resent as requested by Andrew Morton since this is still stuck) Hi Al, Andrew, Can you take a look at this patch and send an Ack or review

Re: cron job: media_tree daily build: ERRORS

2011-09-07 Thread Lothsahn
Dear v4l developers: 1) thank you for a FANTASTIC product.  I use this in a mythbox daily, and I love mythTV.  Thank you for all you do, as I know a lot of you (all?) are volunteers and not paid to work on v4l. 2) would it be possible to fix these compile errors on 2.6.32?  I'm trying to get

[PULL] git://git.linuxtv.org/mkrufky/mxl111sf.git mfe-fixes | WAS: Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend

2011-09-07 Thread Michael Krufky
On 09/08/2011 12:18 AM, Antti Palosaari wrote: This patch seems to break all DVB USB devices we have. Michael, could you check and fix it asap. [snip] Subject: [media] dvb-usb: refactor MFE code for individual streaming config per frontend [snip] This error is shown by VLC when channel