Re: v4l-utils build problem

2013-04-19 Thread Antti Palosaari
On 04/20/2013 05:51 AM, Mauro Carvalho Chehab wrote: Em Sat, 20 Apr 2013 05:46:14 +0300 Antti Palosaari escreveu: I am unable to build that. It is Fedora 17 box. Any idea what is missing? Here is the error: [crope@localhost v4l-utils]$ autoreconf -vfi autoreconf: Entering directory `.' autor

v4l-utils build problem

2013-04-19 Thread Antti Palosaari
I am unable to build that. It is Fedora 17 box. Any idea what is missing? Here is the error: [crope@localhost v4l-utils]$ autoreconf -vfi autoreconf: Entering directory `.' autoreconf: running: autopoint --force autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autorec

Re: [PATCH v2 2/4] ARM: shmobile: r8a7779: add VIN support

2013-04-19 Thread Sergei Shtylyov
Hello. On 04/20/2013 02:32 AM, Sergei Shtylyov wrote: From: Vladimir Barinov Add VIN clocks and platform devices for R8A7779 SoC; add function to register the VIN platform devices. Signed-off-by: Vladimir Barinov [Sergei: added 'id' parameter check to r8a7779_add_vin_device(), renamed some

[PATCH v2 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig

2013-04-19 Thread Sergei Shtylyov
From: Vladimir Barinov Add the VIN and ADV7180 drivers to 'marzen_defconfig'. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm/configs/marzen_defconfig |7 +++ 1 file changed, 7 insertions(+) Index: renesas/arch/arm/configs/marzen_defconfig ===

[PATCH v2 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support

2013-04-19 Thread Sergei Shtylyov
From: Vladimir Barinov Add ADV7180 platform devices on the Marzen board, configure VIN1/3 pins, and register VIN1/3 devices with the ADV7180 specific platform data. Signed-off-by: Vladimir Barinov [Sergei: removed superfluous tabulation and inserted empty lines in the macro definition; updated

[PATCH v2 2/4] ARM: shmobile: r8a7779: add VIN support

2013-04-19 Thread Sergei Shtylyov
From: Vladimir Barinov Add VIN clocks and platform devices for R8A7779 SoC; add function to register the VIN platform devices. Signed-off-by: Vladimir Barinov [Sergei: added 'id' parameter check to r8a7779_add_vin_device(), renamed some variables.] Signed-off-by: Sergei Shtylyov --- Changes s

[PATCH v2 1/4] V4L2: soc_camera: Renesas R-Car VIN driver

2013-04-19 Thread Sergei Shtylyov
From: Vladimir Barinov Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy . Signed-off-by: Vladimir Barinov [Sergei: removed deprecated IRQF_DISABLED flag.] Signed-off-by: Sergei Shtylyov --- Changes since the original posting: - added IRQF_SHARED flag in devm_

[PATCH v2 0/4] R-Car VIN driver with R8A7779/Marzen support

2013-04-19 Thread Sergei Shtylyov
Hello. Here's the set of 4 patches against the Simon Horman's 'renesas.git' repo, 'renesas-next-20130419' tag and my recent yet unapplied USB patches. Here we add the VIN (Video In) driver and its platform code working on the R8A7779/ Marzen with ADV7180 I2C c

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-19 Thread Andrey Smirnov
On Fri, Apr 19, 2013 at 2:31 PM, Samuel Ortiz wrote: > Hi Andrey, > > On Thu, Apr 18, 2013 at 09:58:26AM -0700, Andrey Smirnov wrote: >> Driver for Si476x series of chips >> >> This is a eight version of the patchset originaly posted here: >> https://lkml.org/lkml/2012/9/13/590 >> >> Second versio

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-19 Thread Samuel Ortiz
Hi Andrey, On Thu, Apr 18, 2013 at 09:58:26AM -0700, Andrey Smirnov wrote: > Driver for Si476x series of chips > > This is a eight version of the patchset originaly posted here: > https://lkml.org/lkml/2012/9/13/590 > > Second version of the patch was posted here: > https://lkml.org/lkml/2012/10

[PATCH] em28xx: add a missing le16_to_cpu conversion

2013-04-19 Thread Frank Schäfer
commit 61ff5d69 "em28xx: improve em2710/em2820 distinction" missed the le16_to_cpu conversion of the USB vendor ID. Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-cards.c |3 ++- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/drivers/media/usb/

Re: OV7670 driver for Mini2440

2013-04-19 Thread Anvesh Manne
Hi Sylwester, Sorry the extreme delay in replying.. I using BSP from friendly arm. SInce i am new to embedded linux, can you tell me how to install a 0v7670 driver for mini2440? I currently modified the v4l2 driver(for ov9650) written by Vladimir (http://code.google.com/p/s3c2440camera/) to

cron job: media_tree daily build: ERRORS

2013-04-19 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: Fri Apr 19 19:00:22 CEST 2013 git branch: test git hash: 6695be6863b75620ffa6d422965680ce785cb7c8 gcc versi

[PATCH] V4L2: fix subdevice matching in asynchronous probing

2013-04-19 Thread Guennadi Liakhovetski
A wrapped list iterating loop hasn't been correctly recognised in v4l2_async_belongs(), which led to false positives. Fix the bug by verifying the loop termination condition. Reported-by: Prabhakar Lad Signed-off-by: Guennadi Liakhovetski --- Prabhakar, please, check, whether this fixes your pr

Re: AT91SAM9M10: Problem porting driver for MT9P031 sensor

2013-04-19 Thread Guennadi Liakhovetski
On Fri, 19 Apr 2013, Marcio Lima wrote: > Hi > Which version can you help me? You can apply the patch series, that I pointed you out at yesterday on top of the v4l2-async branch of git://linuxtv.org/gliakhovetski/v4l-dvb.git which is based on some 3.9-rcX. Thanks Guennadi > Enviado via iPhon

Re: AT91SAM9M10: Problem porting driver for MT9P031 sensor

2013-04-19 Thread Marcio Lima
Hi Which version can you help me? Enviado via iPhone Em 19/04/2013, às 09:42, Guennadi Liakhovetski escreveu: > On Thu, 18 Apr 2013, Marcio Campos de Lima wrote: > >> Hi Guennadi >> >> Thanks a lot for your attention. >> I think I cannot apply the patches. My Linux sources, downloaded from >>

Re: Keene

2013-04-19 Thread Devin Heitmueller
On Fri, Apr 19, 2013 at 5:58 AM, Hans Verkuil wrote: > So perhaps this can be solved with two generic controls: > > bool CID_POWER_OFF_AT_LAST_CLOSE > int CID_POWER_OFF_DELAY (unit: seconds) > > If POWER_OFF_AT_LAST_CLOSE is false, then you never power off. If it is true, > then power off after a

Re: AT91SAM9M10: Problem porting driver for MT9P031 sensor

2013-04-19 Thread Guennadi Liakhovetski
On Thu, 18 Apr 2013, Marcio Campos de Lima wrote: > Hi Guennadi > > Thanks a lot for your attention. > I think I cannot apply the patches. My Linux sources, downloaded from > www.at91.com, does not have the V4l2-async.h header and, I suppose, many > others headers. The MT9P031 sources have been m

Re: [PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-19 Thread Mauro Carvalho Chehab
Em Fri, 19 Apr 2013 15:16:56 +0530 Prabhakar lad escreveu: > From: Lad, Prabhakar > > From commit 068a0df76023926af958a336a78bef60468d2033 > "[media] media: vb2: add length check for mmap" > patch verifies that the mmap() size requested by userspace > doesn't exceed the buffer size. > > As the

Re: [PATCH 00/24] V4L2: subdevice pad-level API wrapper

2013-04-19 Thread Hans Verkuil
On Thu April 18 2013 23:35:21 Guennadi Liakhovetski wrote: > This is the first very crude shot at the subdevice pad-level API wrapper. > The actual wrapper is added in patch #21, previous 20 patches are > preparation... They apply on top of the last version of my async / clock > patch series, respe

Re: cron job: media_tree daily build: ERRORS

2013-04-19 Thread Hans Verkuil
On Fri April 19 2013 11:42:11 Gianluca Gennari wrote: > Il 19/04/2013 10:36, Hans Verkuil ha scritto: > > Sorry for the ongoing breakage. I expect to have time this weekend to fix > > it. > > > > Regards, > > > > Hans > > -- > > > Hi Hans, > this should fix the current media_build breakage

Re: Keene

2013-04-19 Thread Hans Verkuil
On Fri April 19 2013 11:11:27 Antti Palosaari wrote: > On 04/19/2013 10:12 AM, Hans Verkuil wrote: > > On Wed April 17 2013 21:45:24 Antti Palosaari wrote: > >> On 04/15/2013 09:55 AM, Hans Verkuil wrote: > >>> On Fri April 12 2013 02:11:41 Antti Palosaari wrote: > Hello Hans, > That devi

[PATCH 0/2] media: davinci: vpif trivial cleanup

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar The first patch of the series cleanups the header file inclusion, and second patch fixes displaying of error when there is actual failure of request_irq(). Lad, Prabhakar (2): media: davinci: vpif: remove unwanted header file inclusion media: davinci: vpif_display: move

[PATCH 1/2] media: davinci: vpif: remove unwanted header file inclusion

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar this patch removes unwanted header file inclusion and sorts header alphabetically. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 19 --- drivers/media/platform/davinci/vpif_capture.h |5 + drivers/media/platform

[PATCH 2/2] media: davinci: vpif_display: move displaying of error to approppraite place

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar this patch moves the displaying out error case "VPIF IRQ request failed\n" when there is actual request_irq() fail. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dr

[PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar >From commit 068a0df76023926af958a336a78bef60468d2033 "[media] media: vb2: add length check for mmap" patch verifies that the mmap() size requested by userspace doesn't exceed the buffer size. As the mmap() size is rounded up to the next page boundary the check will fail for

Re: cron job: media_tree daily build: ERRORS

2013-04-19 Thread Gianluca Gennari
Il 19/04/2013 10:36, Hans Verkuil ha scritto: > Sorry for the ongoing breakage. I expect to have time this weekend to fix it. > > Regards, > > Hans > -- Hi Hans, this should fix the current media_build breakage. Tested on Ubuntu 10.04 with kernel 2.6.32. Signed-off-by: Gianluca Gennari

Re: [PATCH 21/24] V4L2: add a subdevice-driver pad-operation wrapper

2013-04-19 Thread Hans Verkuil
On Fri April 19 2013 10:52:23 Guennadi Liakhovetski wrote: > On Fri, 19 Apr 2013, Hans Verkuil wrote: > > > On Thu April 18 2013 23:35:42 Guennadi Liakhovetski wrote: > > > Some subdevice drivers implement only the pad-level API, making them > > > unusable with V4L2 camera host drivers, using the

Re: Keene

2013-04-19 Thread Antti Palosaari
On 04/19/2013 10:12 AM, Hans Verkuil wrote: On Wed April 17 2013 21:45:24 Antti Palosaari wrote: On 04/15/2013 09:55 AM, Hans Verkuil wrote: On Fri April 12 2013 02:11:41 Antti Palosaari wrote: Hello Hans, That device is working very, thank you for it. Anyhow, I noticed two things. 1) it does

Re: [PATCH RFC] s5k5baf: add camera sensor driver

2013-04-19 Thread Andrzej Hajda
Hi Sylwester, Thank you for the review. I will prepare v2 of the patch according to your comments. My comments to your comments below... On 17.04.2013 15:40, Sylwester Nawrocki wrote: Hi Andrzej, On 04/16/2013 03:38 PM, Andrzej Hajda wrote: Driver for Samsung S5K5BAF UXGA 1/5" 2M CMOS Image S

Re: [PATCH 21/24] V4L2: add a subdevice-driver pad-operation wrapper

2013-04-19 Thread Guennadi Liakhovetski
On Fri, 19 Apr 2013, Hans Verkuil wrote: > On Thu April 18 2013 23:35:42 Guennadi Liakhovetski wrote: > > Some subdevice drivers implement only the pad-level API, making them > > unusable with V4L2 camera host drivers, using the plain subdevice > > video API. This patch implements a wrapper to all

RE: [PATCH -next] [media] s5p-mfc: fix error return code in s5p_mfc_probe()

2013-04-19 Thread Kamil Debski
Hi Wei, Thank you for your patch. Best wishes, Kamil Debski > From: Wei Yongjun [mailto:weiyj...@gmail.com] > Sent: Thursday, April 18, 2013 5:18 AM > > From: Wei Yongjun > > Fix to return a negative error code from the error handling case > instead of 0, as returned elsewhere in this functio

Re: cron job: media_tree daily build: ERRORS

2013-04-19 Thread Hans Verkuil
Sorry for the ongoing breakage. I expect to have time this weekend to fix it. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 06/24] V4L2: add a common V4L2 subdevice platform data type

2013-04-19 Thread Hans Verkuil
On Fri April 19 2013 09:48:27 Guennadi Liakhovetski wrote: > Hi Hans > > Thanks for reviewing. > > On Fri, 19 Apr 2013, Hans Verkuil wrote: > > > On Thu April 18 2013 23:35:27 Guennadi Liakhovetski wrote: > > > This struct shall be used by subdevice drivers to pass per-subdevice data, > > > e.g.

Re: [PATCH 21/24] V4L2: add a subdevice-driver pad-operation wrapper

2013-04-19 Thread Hans Verkuil
On Thu April 18 2013 23:35:42 Guennadi Liakhovetski wrote: > Some subdevice drivers implement only the pad-level API, making them > unusable with V4L2 camera host drivers, using the plain subdevice > video API. This patch implements a wrapper to allow those two types > of drivers to be used togethe

Re: [PATCH 06/24] V4L2: add a common V4L2 subdevice platform data type

2013-04-19 Thread Guennadi Liakhovetski
Hi Hans Thanks for reviewing. On Fri, 19 Apr 2013, Hans Verkuil wrote: > On Thu April 18 2013 23:35:27 Guennadi Liakhovetski wrote: > > This struct shall be used by subdevice drivers to pass per-subdevice data, > > e.g. power supplies, to generic V4L2 methods, at the same time allowing > > optio

Re: [PATCH 06/24] V4L2: add a common V4L2 subdevice platform data type

2013-04-19 Thread Hans Verkuil
On Thu April 18 2013 23:35:27 Guennadi Liakhovetski wrote: > This struct shall be used by subdevice drivers to pass per-subdevice data, > e.g. power supplies, to generic V4L2 methods, at the same time allowing > optional host-specific extensions via the host_priv pointer. To avoid > having to pass

Re: [PATCH 05/24] V4L2: allow dummy file-handle initialisation by v4l2_fh_init()

2013-04-19 Thread Hans Verkuil
On Thu April 18 2013 23:35:26 Guennadi Liakhovetski wrote: > v4l2_fh_init() can be used to initialise dummy file-handles with vdev == > NULL. Why would you want that? Anyway, this would definitely have to be documented as well in v4l2-fh.h. I'm still going through your patch series so there may

Re: Keene

2013-04-19 Thread Hans Verkuil
On Wed April 17 2013 21:45:24 Antti Palosaari wrote: > On 04/15/2013 09:55 AM, Hans Verkuil wrote: > > On Fri April 12 2013 02:11:41 Antti Palosaari wrote: > >> Hello Hans, > >> That device is working very, thank you for it. Anyhow, I noticed two > >> things. > >> > >> 1) it does not start transmi