Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Hans Verkuil
On Tue May 21 2013 19:17:09 Sergei Shtylyov wrote: > Hello. > > On 05/21/2013 06:45 PM, Hans Verkuil wrote: > > From: Vladimir Barinov > Add subdev video ops for ADV7180 video decoder. This makes decoder > usable on > the soc-camera drivers. > Signed-off-by: Vladimir B

Re: [PATCH 0/4] media: remove duplicate check for EPERM

2013-05-21 Thread Hans Verkuil
On Wed May 22 2013 07:52:03 Prabhakar Lad wrote: > Hi All, > > On Tue, May 14, 2013 at 11:15 AM, Lad Prabhakar > wrote: > > From: Lad, Prabhakar > > > > This patch series cleanups the check for EPERM in dbg_g/s_register > > and vidioc_g/s_register. > > > > Lad, Prabhakar (4): > > media: i2c: r

Re: [PATCH 0/4] media: remove duplicate check for EPERM

2013-05-21 Thread Prabhakar Lad
Hi All, On Tue, May 14, 2013 at 11:15 AM, Lad Prabhakar wrote: > From: Lad, Prabhakar > > This patch series cleanups the check for EPERM in dbg_g/s_register > and vidioc_g/s_register. > > Lad, Prabhakar (4): > media: i2c: remove duplicate checks for EPERM in dbg_g/s_register > media: dvb-fro

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-21 Thread Prabhakar Lad
Hi Laurent/Sylwester, On Thu, May 16, 2013 at 6:48 PM, Lad Prabhakar wrote: > From: Lad, Prabhakar > > This patch adds "sync-on-green" property as part of > endpoint properties and also support to parse them in the parser. > If you are ok with the patch can I send non RFC version of it ? Regard

[PATCH] smscoreapi: memory leak fix

2013-05-21 Thread Roberto Alcântara
Ensure release_firmware is called if kmalloc fails. Signed-off-by:Roberto Alcantara diff --git a/linux/drivers/media/common/siano/smscoreapi.c b/linux/drivers/media/common/siano/smscoreapi.c index dbe9b4d..f65b4e3 100644 --- a/linux/drivers/media/common/siano/smscoreapi.c +++ b/linux/drivers/medi

cron job: media_tree daily build: ERRORS

2013-05-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: Tue May 21 19:03:03 CEST 2013 git branch: test git hash: 6a084d6b3dc200b855ae8a3c6771abe285a3835d gcc versi

Re: [RFC] Motion Detection API

2013-05-21 Thread Sakari Ailus
Hi Sylwester, My apologies for the late answer. Sylwester Nawrocki wrote: Hi Sakari :-) On 05/08/2013 06:26 PM, Sakari Ailus wrote: On Tue, May 07, 2013 at 04:04:10PM +0200, Sylwester Nawrocki wrote: On 05/07/2013 02:35 PM, Hans Verkuil wrote: A metadata plane works well if you have substan

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Sergei Shtylyov
Hello. On 05/21/2013 06:45 PM, Hans Verkuil wrote: From: Vladimir Barinov Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- This patch is against the 'media_tree.git' repo.

Re: [PATCH] [media] saa7115: Don't use a dynamic array

2013-05-21 Thread Hans Verkuil
On Tue 21 May 2013 16:41:33 Mauro Carvalho Chehab wrote: > At least on s390, gcc complains about that: > drivers/media/i2c/saa7115.c: In function > 'saa711x_detect_chip.constprop.2': > drivers/media/i2c/saa7115.c:1647:1: warning: > 'saa711x_detect_chip.constprop.2' uses dynamic stack allo

Re: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver

2013-05-21 Thread Sergei Shtylyov
Hello. On 21-05-2013 16:13, phil.edwor...@renesas.com wrote: Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver From: Vladimir Barinov Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy . I've seen old patches that add VIN to the Marzen bo

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Hans Verkuil
On Tue 21 May 2013 16:28:08 Sergei Shtylyov wrote: > Hello. > > On 21-05-2013 13:35, Hans Verkuil wrote: > > >> From: Vladimir Barinov > > >> Add subdev video ops for ADV7180 video decoder. This makes decoder usable > >> on > >> the soc-camera drivers. > > >> Signed-off-by: Vladimir Barinov

[PATCH] [media] saa7115: Don't use a dynamic array

2013-05-21 Thread Mauro Carvalho Chehab
At least on s390, gcc complains about that: drivers/media/i2c/saa7115.c: In function 'saa711x_detect_chip.constprop.2': drivers/media/i2c/saa7115.c:1647:1: warning: 'saa711x_detect_chip.constprop.2' uses dynamic stack allocation [enabled by default] While for me the above report seems ut

[PATCH] [media] coda: do not use v4l2_dev in coda_timeout

2013-05-21 Thread Philipp Zabel
The timeout delayed work might be scheduled even after the v4l2 device is released. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 037e2bc..22d1

[PATCH] [media] coda: fix error return value if v4l2_m2m_ctx_init fails

2013-05-21 Thread Philipp Zabel
Use ret from the outer scope, instead of redifining it in the conditional clause. That way the error value reaches the end of the function as intended. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Sergei Shtylyov
Hello. On 21-05-2013 13:35, Hans Verkuil wrote: From: Vladimir Barinov Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- This patch is against the 'media_tree.git'

[PATCH stable < v3.7] media mantis: fix silly crash case

2013-05-21 Thread Bjørn Mork
Hello, Please apply mainline commit e1d45ae to any maintained stable kernel prior to v3.7. I just hit this bug on a Debian 3.2.41-2+deb7u2 kernel: May 19 06:52:54 canardo kernel: [ 49.013774] BUG: unable to handle kernel NULL pointer dereference at 0308 May 19 06:52:54 canardo ke

Re: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver

2013-05-21 Thread phil . edworthy
Hi Sergei, Vladimir, > > >> Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver > > > > >> From: Vladimir Barinov > > > > >> Add Renesas R-Car VIN (Video In) V4L2 driver. > > > > >> Based on the patch by Phil Edworthy . > > > > > I've seen old patches that add VIN to the Marzen boa

Re: InstantFM

2013-05-21 Thread Ted To
Hi Hans, On 05/21/2013 03:35 AM, Hans de Goede wrote: > Hi, > > On 05/20/2013 08:38 PM, Ted To wrote: > > >> Actually, playing around with it some more (the version in the stable >> repository), it appears to be picking something up. "radio -s" produces >> the following: >> >> $ radio -s > q>

Re: [PATCH] staging: strncpy issue, need always let NUL terminated string ended by zero.

2013-05-21 Thread Chen Gang
On 05/21/2013 07:47 PM, Mauro Carvalho Chehab wrote: > Em Tue, 07 May 2013 20:11:08 +0800 > Chen Gang escreveu: > >> > >> > For NUL terminated string, need always let it ended by zero. >> > >> > The 'name' may be copied to user mode ('dvb_fe->ops.info' is 'struct >> > dvb_frontend_info' which i

Re: [PATCH] staging: strncpy issue, need always let NUL terminated string ended by zero.

2013-05-21 Thread Mauro Carvalho Chehab
Em Tue, 07 May 2013 20:11:08 +0800 Chen Gang escreveu: > > For NUL terminated string, need always let it ended by zero. > > The 'name' may be copied to user mode ('dvb_fe->ops.info' is 'struct > dvb_frontend_info' which is defined in ./include/uapi/...), and its > length is also known within as

[PATCH] [media] update saa7134 and tuner cardlists

2013-05-21 Thread Mauro Carvalho Chehab
Those are automatically updated using the cardlist script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/video4linux/CARDLIST.saa7134 | 1 + Documentation/video4linux/CARDLIST.tuner | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/video4linux/CA

Re: [RFC 0/2] V4L2 API for exposing flash subdevs as LED class device

2013-05-21 Thread Sakari Ailus
Hi Andrzej, On Tue, May 21, 2013 at 10:34:53AM +0200, Andrzej Hajda wrote: > On 12.05.2013 23:12, Sakari Ailus wrote: > > On Wed, May 08, 2013 at 09:32:17AM +0200, Andrzej Hajda wrote: > >> On 07.05.2013 17:07, Laurent Pinchart wrote: > >>> On Tuesday 07 May 2013 02:11:27 Kim, Milo wrote: > O

Re: Can you take a look at these dvb-apps warnings/errors?

2013-05-21 Thread Mauro Carvalho Chehab
Em Tue, 21 May 2013 11:20:18 +0200 Hans Verkuil escreveu: > On Mon 20 May 2013 23:22:15 Mauro Carvalho Chehab wrote: > > Hi Hans, > > > > Em Fri, 17 May 2013 10:30:57 +0200 > > Hans Verkuil escreveu: > > > > > Hi Mauro, > > > > > > Can you take a look at these? The daily build is failing beca

Re: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver

2013-05-21 Thread phil . edworthy
Hi Sergei, Vladimir, > >> Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver > > >> From: Vladimir Barinov > > >> Add Renesas R-Car VIN (Video In) V4L2 driver. > > >> Based on the patch by Phil Edworthy . > > > I've seen old patches that add VIN to the Marzen board, do you have an

Re: [PATCH v4] V4L2: I2C: ML86V7667 video decoder driver

2013-05-21 Thread Hans Verkuil
On Thu 16 May 2013 00:50:23 Sergei Shtylyov wrote: > From: Vladimir Barinov > > Add OKI Semiconductor ML86V7667 video decoder driver. > > Signed-off-by: Vladimir Barinov > [Sergei: added v4l2_device_unregister_subdev() call to the error cleanup path > of > ml86v7667_probe(); some cleanup.] > S

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Hans Verkuil
On Mon 13 May 2013 21:21:39 Sergei Shtylyov wrote: > From: Vladimir Barinov > > Add subdev video ops for ADV7180 video decoder. This makes decoder usable on > the soc-camera drivers. > > Signed-off-by: Vladimir Barinov > Signed-off-by: Sergei Shtylyov > > --- > This patch is against the 'med

Re: Warnings related to anonymous unions in s5p-tv driver

2013-05-21 Thread Hans Verkuil
On Fri 17 May 2013 10:24:50 Sachin Kamat wrote: > Hi Hans, > > I noticed the following sparse warnings with S5P HDMI driver which I > think got introduced due to the following commit: > 5efb54b2b7b ([media] s5p-tv: add dv_timings support for hdmi) > > Warnings: > drivers/media/platform/s5p-tv/hdm

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Hans Verkuil
Hi Sergei, Sorry for the delay, I had planned to work on this during the weekend, but I became ill. On Mon 13 May 2013 21:21:39 Sergei Shtylyov wrote: > From: Vladimir Barinov > > Add subdev video ops for ADV7180 video decoder. This makes decoder usable on > the soc-camera drivers. > > Signed

RE: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Inki Dae
> -Original Message- > From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Tuesday, May 21, 2013 4:45 PM > To: Inki Dae > Cc: 'Daniel Vetter'; 'Rob Clark'; 'linux-fbdev'; 'DRI mailing list'; > 'Kyungmin Park'; 'myungjoo.ham'; 'YoungJun Cho'; linux-arm-

Re: Can you take a look at these dvb-apps warnings/errors?

2013-05-21 Thread Hans Verkuil
On Mon 20 May 2013 23:22:15 Mauro Carvalho Chehab wrote: > Hi Hans, > > Em Fri, 17 May 2013 10:30:57 +0200 > Hans Verkuil escreveu: > > > Hi Mauro, > > > > Can you take a look at these? The daily build is failing because of this. > > > > Thanks! > > > > Hans > > > > test_video.c:322:2: w

Re: [RFC 0/2] V4L2 API for exposing flash subdevs as LED class device

2013-05-21 Thread Andrzej Hajda
Hi All, Thanks for comments and sorry for late response. On 12.05.2013 23:12, Sakari Ailus wrote: > Hi all, > > On Wed, May 08, 2013 at 09:32:17AM +0200, Andrzej Hajda wrote: >> On 07.05.2013 17:07, Laurent Pinchart wrote: >>> On Tuesday 07 May 2013 02:11:27 Kim, Milo wrote: On Monday, May 0

[PATCH] [media] coda: set umask 0644 on debug module param

2013-05-21 Thread Philipp Zabel
Otherwise module/coda/parameters/coda_debug won't show up in sysfs. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 0e29379..5e8e8ae 100644 --- a

[PATCH] [media] coda: enable dmabuf support

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 1cc4d64..16bef5e 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/pla

[PATCH] [media] coda: use devm_ioremap_resouce

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 0319114..4a50386 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/pl

[PATCH] [media] coda: v4l2-compliance fix: add bus_info prefix 'platform'

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 48b8d7a..d64908a 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@

[PATCH 2/2] [media] coda: v4l2-compliance fix: add VIDIOC_CREATE_BUFS support

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index d64908a..0319114 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@ -576,6

[PATCH 1/2] [media] v4l2-mem2mem: add v4l2_m2m_create_bufs helper

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/media/v4l2-core/v4l2-mem2mem.c | 14 ++ include/media/v4l2-mem2mem.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-mem2mem.c b/drivers/media/v4l2-core/v4l2-mem2mem.c index 66f599f..357efa4 1006

[PATCH] [media] v4l: vb2-dma-contig: add support for file access mode flags for DMABUF exporting

2013-05-21 Thread Philipp Zabel
Currently it is not possible for userspace to map a DMABUF exported buffer with write permissions. This patch allows to also pass O_RDONLY/O_RDWR when exporting the buffer, so that userspace may map it with write permissions. Signed-off-by: Philipp Zabel --- Documentation/DocBook/media/v4l/vidio

Re: Warnings related to anonymous unions in s5p-tv driver

2013-05-21 Thread Sachin Kamat
On 17 May 2013 13:54, Sachin Kamat wrote: > Hi Hans, > > I noticed the following sparse warnings with S5P HDMI driver which I > think got introduced due to the following commit: > 5efb54b2b7b ([media] s5p-tv: add dv_timings support for hdmi) > > Warnings: > drivers/media/platform/s5p-tv/hdmi_drv.c

Re: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Daniel Vetter
On Tue, May 21, 2013 at 04:03:06PM +0900, Inki Dae wrote: > > - Integration of fence syncing into dma_buf. Imo we should have a > > per-attachment mode which decides whether map/unmap (and the new sync) > > should wait for fences or whether the driver takes care of syncing > > through the new

Re: InstantFM

2013-05-21 Thread Hans de Goede
Hi, On 05/20/2013 08:38 PM, Ted To wrote: Actually, playing around with it some more (the version in the stable repository), it appears to be picking something up. "radio -s" produces the following: $ radio -s q> baseline at 1.00 Station 0: 88.10 MHz - 4.00 Station 1: 88.90 MHz - 3.00

RE: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Inki Dae
> -Original Message- > From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Tuesday, May 21, 2013 6:31 AM > To: Inki Dae > Cc: Rob Clark; linux-fbdev; DRI mailing list; Kyungmin Park; myungjoo.ham; > YoungJun Cho; linux-arm-ker...@lists.infradead.org; l