RE: [PATCH -next] [media] davinci: vpif_display: fix error return code in vpif_probe()

2013-08-22 Thread yongjun_...@trendmicro.com.cn
-Original Message- From: Prabhakar Lad [mailto:prabhakar.cse...@gmail.com] Sent: 2013年8月23日 11:10 To: Wei Yongjun Cc: Mauro Carvalho Chehab; Yongjun Wei (RD-CN); linux-media; dlos Subject: Re: [PATCH -next] [media] davinci: vpif_display: fix error return code in vpif_probe() Hi Wei, On

Re: [PATCH -next] [media] davinci: vpif_capture: fix error return code in vpif_probe()

2013-08-22 Thread Prabhakar Lad
Hi Wei, I retract my Ack. On Fri, Aug 23, 2013 at 8:30 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return -ENODEV in the subdevice register error handling > case instead of 0, as done elsewhere in this function. > > Introduced by commit 873229e4fdf34196aa5d707957c59ba54c25eaba > ([med

Re: [PATCH -next] [media] davinci: vpif_capture: fix error return code in vpif_probe()

2013-08-22 Thread Prabhakar Lad
Hi Wei, Thanks for the patch. On Fri, Aug 23, 2013 at 8:30 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return -ENODEV in the subdevice register error handling > case instead of 0, as done elsewhere in this function. > > Introduced by commit 873229e4fdf34196aa5d707957c59ba54c25eaba > (

Re: [PATCH -next] [media] davinci: vpif_display: fix error return code in vpif_probe()

2013-08-22 Thread Prabhakar Lad
Hi Wei On Fri, Aug 23, 2013 at 8:39 AM, Prabhakar Lad wrote: > Hi Wei, > > On Fri, Aug 23, 2013 at 8:29 AM, Wei Yongjun wrote: >> From: Wei Yongjun >> >> Fix to return -ENODEV in the subdevice register error handling >> case instead of 0, as done elsewhere in this function. >> >> Introduce by c

Re: [PATCH -next] [media] davinci: vpif_display: fix error return code in vpif_probe()

2013-08-22 Thread Prabhakar Lad
Hi Wei, On Fri, Aug 23, 2013 at 8:29 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return -ENODEV in the subdevice register error handling > case instead of 0, as done elsewhere in this function. > > Introduce by commit 4b8a531e6bb0686203e9cf82a54dfe189de7d5c2. > ([media] media: davinci:

[PATCH -next] [media] davinci: vpif_capture: fix error return code in vpif_probe()

2013-08-22 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENODEV in the subdevice register error handling case instead of 0, as done elsewhere in this function. Introduced by commit 873229e4fdf34196aa5d707957c59ba54c25eaba ([media] media: davinci: vpif: capture: add V4L2-async support) Signed-off-by: Wei Yongjun ---

[PATCH -next] [media] davinci: vpif_display: fix error return code in vpif_probe()

2013-08-22 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENODEV in the subdevice register error handling case instead of 0, as done elsewhere in this function. Introduce by commit 4b8a531e6bb0686203e9cf82a54dfe189de7d5c2. ([media] media: davinci: vpif: display: add V4L2-async support) Signed-off-by: Wei Yongjun ---

cron job: media_tree daily build: ERRORS

2013-08-22 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 Aug 23 04:00:24 CEST 2013 git branch: test git hash: 5be789fc84a752946f6bdf263b053ed7d4a12a1c gcc versi

Re: [PATCH v5 0/3] R8A7779/Marzen R-Car VIN driver support

2013-08-22 Thread Simon Horman
On Fri, Aug 23, 2013 at 01:19:13AM +0400, Sergei Shtylyov wrote: > Hello. > >[Resending with a real version #.] > >Here's the set of 3 patches against the Mauro's 'media_tree.git' repo's > 'master' branch. Here we add the VIN driver platform code for the > R8A7779/Marzen > with ADV7180 I

Re: [RFCv3 PATCH 03/10] v4l2-compat-ioctl32: add g/s_matrix support.

2013-08-22 Thread Sakari Ailus
Hi Hans, On Thu, Aug 22, 2013 at 12:14:17PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Signed-off-by: Hans Verkuil > --- > drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 49 > +++ > 1 file changed, 49 insertions(+) > > diff --git a/drivers/media/v4l2-core/v4

[PATCH] v4l: vsp1: Fix mutex double lock at streamon time

2013-08-22 Thread Laurent Pinchart
A mutex_lock() was left when the driver was converted to use the vb2 ioctl helpers, resulting in a deadlock at streamon time. Fix it. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_video.c | 2 -- 1 file changed, 2 deletions(-) Yet another v3.12 fix for the VSP1 driver. I'

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

2013-08-22 Thread Tomasz Figa
Hi Andrzej, Please see some minor comments inline. On Wednesday 21 of August 2013 16:41:31 Andrzej Hajda wrote: > Driver for Samsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor > with embedded SoC ISP. > The driver exposes the sensor as two V4L2 subdevices: > - S5K5BAF-CIS - pure CMOS Image Sensor, fi

Re: em28xx + ov2640 and v4l2-clk

2013-08-22 Thread Frank Schäfer
Hi Sylwester, Am 21.08.2013 23:42, schrieb Sylwester Nawrocki: > Hi Frank, > > On 08/21/2013 10:39 PM, Frank Schäfer wrote: >> Am 20.08.2013 18:34, schrieb Frank Schäfer: >>> Am 20.08.2013 15:38, schrieb Laurent Pinchart: Hi Mauro, On Sunday 18 August 2013 12:20:08 Mauro Carvalho Ch

Re: [PATCH RFC] soc_camera: sensors: make v4l2_clk optional

2013-08-22 Thread Frank Schäfer
Hi Laurent, Am 21.08.2013 23:20, schrieb Laurent Pinchart: > Hi Frank, > > On Wednesday 21 August 2013 22:45:17 Frank Schäfer wrote: >> commit 9aea470b "soc-camera: switch I2C subdevice drivers to use v4l2-clk" >> made a v4l2_clk mandatory for each sensor. >> While this isn't necessary, it also br

[PATCH v6 3/3] ARM: shmobile: BOCK-W: enable VIN and ML86V7667 in defconfig

2013-08-22 Thread Sergei Shtylyov
From: Vladimir Barinov Add the VIN and ML86V7667 drivers to 'bockw_defconfig'. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- Changes since version 4: - resolved reject. arch/arm/configs/bockw_defconfig |7 +++ 1 file changed, 7 insertions(+) Index: media_tree/a

[PATCH v6 2/3] ARM: shmobile: BOCK-W: add VIN and ML86V7667 support

2013-08-22 Thread Sergei Shtylyov
From: Vladimir Barinov Add ML86V7667 platform devices on BOCK-W board, configure VIN0/1 pins, and register VIN0/1 devices with the ML86V7667 specific platform data. Signed-off-by: Vladimir Barinov [Sergei: some macro/comment cleanup; updated the copyrights, removed duplicate #include, annotated

[PATCH v6 1/3] ARM: shmobile: r8a7778: add VIN support

2013-08-22 Thread Sergei Shtylyov
From: Vladimir Barinov Add VIN clocks and platform devices on R8A7778 SoC; add function to register the VIN platform devices. Signed-off-by: Vladimir Barinov [Sergei: added 'id' parameter check to r8a7778_add_vin_device(), used '*pdata' in *sizeof* operator, and added an empty line there; renam

[PATCH v5 3/3] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig

2013-08-22 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: media_tree/arch/arm/configs/marzen_defconfig

[PATCH v5 2/3] ARM: shmobile: Marzen: add VIN and ADV7180 support

2013-08-22 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 v5 1/3] ARM: shmobile: r8a7779: add VIN support

2013-08-22 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(), used '*pdata' in *sizeof* operator there, renamed some variables, annot

[PATCH v5 0/3] R8A7779/Marzen R-Car VIN driver support

2013-08-22 Thread Sergei Shtylyov
Hello. [Resending with a real version #.] Here's the set of 3 patches against the Mauro's 'media_tree.git' repo's 'master' branch. Here we add the VIN driver platform code for the R8A7779/Marzen with ADV7180 I2C video decoder. [1/3] ARM: shmobile: r8a7779: add VIN support [2/3] ARM: shmobi

[PATCH v4 0/3] R8A7779/Marzen R-Car VIN driver support

2013-08-22 Thread Sergei Shtylyov
Hello. Here's the set of 3 patches against the Mauro's 'media_tree.git' repo's 'master' branch. Here we add the VIN driver platform code for the R8A7779/Marzen with ADV7180 I2C video decoder. [1/3] ARM: shmobile: r8a7779: add VIN support [2/3] ARM: shmobile: Marzen: add VIN and ADV7180 support

BDA-2875

2013-08-22 Thread Abel S.
Plugging plate with bda2875 chip does not seem to detect the kernel correctly (I think that is not in the list). This is the message from kernel: [17419.315987] usb 1-4: new high-speed USB device number 3 using ehci-pci [17419.448607] usb 1-4: New USB device found, idVendor=eb1a, idProduct=2875

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

2013-08-22 Thread Stephen Warren
On 08/21/2013 08:41 AM, Andrzej Hajda wrote: > Driver for Samsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor > with embedded SoC ISP. > The driver exposes the sensor as two V4L2 subdevices: > - S5K5BAF-CIS - pure CMOS Image Sensor, fixed 1600x1200 format, > no controls. > - S5K5BAF-ISP - Image Signal

Re: dib8000 scanning not working on 3.10.3

2013-08-22 Thread Mauro Carvalho Chehab
Em Thu, 22 Aug 2013 14:47:33 -0300 Javier Búcar escreveu: > Hello Mauro, we have the bad commit: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=173a64cb3fcff1993b2aa8113e53fd379f6a968f > > This is a very big commit. I don't known where to fix it. Can you help > me

Re: dib8000 scanning not working on 3.10.3

2013-08-22 Thread Ezequiel Garcia
Mauro, Javier, On Thu, Aug 22, 2013 at 02:47:33PM -0300, Javier Búcar wrote: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=173a64cb3fcff1993b2aa8113e53fd379f6a968f > > This is a very big commit. I don't known where to fix it. Can you help That's not a commit: tha

[PATCH 1/2] v4l: vsp1: Initialize media device bus_info field

2013-08-22 Thread Laurent Pinchart
Fill bus_info with the VSP1 platform device name Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/vsp1/vsp1_drv.c b/drivers/media/platform/vsp1/vsp1_drv.c index 8700842..291d20f 100644 --- a/d

[PATCH 2/2] v4l: vsp1: Add support for RT clock

2013-08-22 Thread Laurent Pinchart
The VSPR and VSPS instances use two clocks, the VSP1 system clock and the VSP1 realtime clock. Both of them need to be enabled to access the VSP1 registers. Add support for an optional RT clock and enable/disable it along with the system clock. Signed-off-by: Laurent Pinchart --- drivers/media/

[PATCH 0/2] Renesas VSP1 fixes

2013-08-22 Thread Laurent Pinchart
Hello, Here's two fixes for the Renesas VSP1 driver. The first one reports the platform device name through the media device bus_info field, allowing applications to differentiate between VSP1 instances. The second one gets rid of a crash related to missing clocks for the VSPR and VSPS instances.

Re: dib8000 scanning not working on 3.10.3

2013-08-22 Thread Javier Búcar
Hello Mauro, we have the bad commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=173a64cb3fcff1993b2aa8113e53fd379f6a968f This is a very big commit. I don't known where to fix it. Can you help me on fixing it Thanks in advance Javier On Wed, Aug 7, 2013 at 3:48 PM,

[patch] [media] snd_tea575x: precedence bug in fmr2_tea575x_get_pins()

2013-08-22 Thread Dan Carpenter
The "|" operation has higher precedence that "?:" so this couldn't return both flags set at once as intended. Signed-off-by: Dan Carpenter --- Static checker stuff. Untested. diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c index 9c09904..72af59d 100644

RE: width and height of JPEG compressed images

2013-08-22 Thread Thomas Vajzovic
Hi, On 21 August 2013 14:34, Sakari Ailus wrote: > On Tue, Aug 06, 2013 at 04:26:56PM +, Thomas Vajzovic wrote: >> On 24 July 2013 10:30 Sylwester Nawrocki wrote: >>> On 07/22/2013 10:40 AM, Thomas Vajzovic wrote: On 21 July 2013 21:38 Sylwester Nawrocki wrote: > On 07/19/2013 10:28 P

[PATCH V3] i2c: move of helpers into the core

2013-08-22 Thread Wolfram Sang
I2C of helpers used to live in of_i2c.c but experience (from SPI) shows that it is much cleaner to have this in the core. This also removes a circular dependency between the helpers and the core, and so we can finally register child nodes in the core instead of doing this manually in each driver. S

RE: width and height of JPEG compressed images

2013-08-22 Thread Thomas Vajzovic
Hi, On 21 August 2013 14:29, Laurent Pinchart wrote: > On Wednesday 21 August 2013 16:17:37 Sakari Ailus wrote: >> On Wed, Aug 07, 2013 at 05:43:56PM +, Thomas Vajzovic wrote: >>> It defines the exact size of the physical frame. The JPEG data is >>> padded to this size. The size of the JPEG b

Re: [PATCH v1 42/49] media: dvb-core: prepare for enabling irq in complete()

2013-08-22 Thread Hans Verkuil
On Sat 17 August 2013 18:25:07 Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > These functions may be called inside URB->complete(), so use > spin_lock_irqsave(). > > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Signed-off

Re: [PATCH v1 38/49] media: usb: em28xx: prepare for enabling irq in complete()

2013-08-22 Thread Hans Verkuil
On Sat 17 August 2013 18:25:03 Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Reviewed-by: Devin Heitmueller > Tested-by: Devin Heitmueller > Signed-off-by: Ming Lei Acked-b

Re: [PATCH v1 39/49] media: usb: sn9x102: prepare for enabling irq in complete()

2013-08-22 Thread Hans Verkuil
On Sat 17 August 2013 18:25:04 Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Signed-off-by: Ming Lei Acked-by: Hans Verkuil Regards, Hans > --- > drivers/media/u

Re: [PATCH v1 40/49] media: usb: tlg2300: prepare for enabling irq in complete()

2013-08-22 Thread Hans Verkuil
On Sat 17 August 2013 18:25:05 Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Signed-off-by: Ming Lei Acked-by: Hans Verkuil Regards, Hans > --- > drivers/media/u

Re: [PATCH v1 43/49] media: usb: em28xx: prepare for enabling irq in complete()

2013-08-22 Thread Hans Verkuil
On Sat 17 August 2013 18:25:08 Ming Lei wrote: > Complete() will be run with interrupt enabled, so add local_irq_save() > before acquiring the lock without irqsave(). > > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Signed-off-by: Ming Lei Acked-by: Hans Verkuil Regards,

Re: [PATCH v1 41/49] media: usb: tm6000: prepare for enabling irq in complete()

2013-08-22 Thread Hans Verkuil
On Sat 17 August 2013 18:25:06 Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Signed-off-by: Ming Lei Acked-by: Hans Verkuil Regards, Hans > --- > drivers/media/u

Re: [PATCH v1 37/49] media: usb: cx231xx: prepare for enabling irq in complete()

2013-08-22 Thread Hans Verkuil
On Sat 17 August 2013 18:25:02 Ming Lei wrote: > Complete() will be run with interrupt enabled, so change to > spin_lock_irqsave(). > > Cc: Mauro Carvalho Chehab > Cc: Hans Verkuil > Cc: linux-media@vger.kernel.org > Signed-off-by: Ming Lei Acked-by: Hans Verkuil Regards, Hans > --

Re: How to express planar formats with mediabus format code?

2013-08-22 Thread Laurent Pinchart
Hi Jiaquan, On Wednesday 21 August 2013 18:14:50 Su Jiaquan wrote: > On Tue, Aug 20, 2013 at 8:53 PM, Laurent Pinchart wrote: > > Hi Jiaquan, > > > > I'm not sure if that's needed here. Vendor-specific formats still need to > > be documented, so we could just create a custom YUV format for your c

Re: [PATCH RFC v4] media: added managed v4l2/i2c subdevice initialization

2013-08-22 Thread Sylwester Nawrocki
On 08/22/2013 01:10 PM, Hans Verkuil wrote: > This patch has been sitting around for quite some time now. Is there any > reason > not to apply it? We wanted to merge those patches together with some users of them. We have already prepared relevant patches but those depend on other ones (conversio

Re: [RFCv3 PATCH 03/10] v4l2-compat-ioctl32: add g/s_matrix support.

2013-08-22 Thread Sakari Ailus
Hi Hans, On Thu, Aug 22, 2013 at 12:14:17PM +0200, Hans Verkuil wrote: From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 49 +++ 1 file changed, 49 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-compat-ioctl32

Re: [PATCH RFC v4] media: added managed v4l2/i2c subdevice initialization

2013-08-22 Thread Hans Verkuil
This patch has been sitting around for quite some time now. Is there any reason not to apply it? Laurent, I see that these patches (part of the same patch set) are still pending for you: https://patchwork.linuxtv.org/patch/18447/ https://patchwork.linuxtv.org/patch/18449/ If you plan to apply th

Re: [RFCv3 PATCH 02/10] v4l2: add matrix support.

2013-08-22 Thread Hans Verkuil
On Thu 22 August 2013 12:49:24 Sakari Ailus wrote: > Hi Hans, > > On Thu, Aug 22, 2013 at 12:14:16PM +0200, Hans Verkuil wrote: > > From: Hans Verkuil > > > > This patch adds core support for matrices: querying, getting and setting. > > > > Two initial matrix types are defined for motion detect

Re: [RFCv3 PATCH 02/10] v4l2: add matrix support.

2013-08-22 Thread Sakari Ailus
Hi Hans, On Thu, Aug 22, 2013 at 12:14:16PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > This patch adds core support for matrices: querying, getting and setting. > > Two initial matrix types are defined for motion detection (defining regions > and thresholds). > > Signed-off-by: Hans V

Re: [RFCv2 PATCH 09/10] DocBook: document the new v4l2 matrix ioctls.

2013-08-22 Thread Hans Verkuil
On Thu 22 August 2013 12:34:56 Laurent Pinchart wrote: > Hi Hans, > > On Thursday 22 August 2013 08:56:00 Hans Verkuil wrote: > > On 08/21/2013 11:58 PM, Laurent Pinchart wrote: > > > On Monday 12 August 2013 12:58:32 Hans Verkuil wrote: > > >> From: Hans Verkuil > > >> > > >> Signed-off-by: Han

Re: [RFCv2 PATCH 08/10] DocBook: document new v4l motion detection event.

2013-08-22 Thread Laurent Pinchart
Hi Hans, On Thursday 22 August 2013 08:38:59 Hans Verkuil wrote: > On 08/21/2013 11:41 PM, Laurent Pinchart wrote: > > On Monday 12 August 2013 12:58:31 Hans Verkuil wrote: > >> From: Hans Verkuil > >> > >> Signed-off-by: Hans Verkuil > >> --- > >> > >> Documentation/DocBook/media/v4l/vidioc-

Re: [RFCv2 PATCH 09/10] DocBook: document the new v4l2 matrix ioctls.

2013-08-22 Thread Laurent Pinchart
Hi Hans, On Thursday 22 August 2013 08:56:00 Hans Verkuil wrote: > On 08/21/2013 11:58 PM, Laurent Pinchart wrote: > > On Monday 12 August 2013 12:58:32 Hans Verkuil wrote: > >> From: Hans Verkuil > >> > >> Signed-off-by: Hans Verkuil > >> --- > >> > >> Documentation/DocBook/media/v4l/v4l2.xm

[RFCv3 PATCH 0/5] adv7604/ad9389b fixes and new adv7511/adv7842 drivers

2013-08-22 Thread Hans Verkuil
This RFCv3 is an update for patches 18-20 of the RFCv2 series: http://www.spinics.net/lists/linux-media/msg67128.html All the earlier patches are unchanged. The changes since RFCv2 are: - ad9389b/adv7604: set is_private only after you are sure all controls were created correctly, otherwise th

[RFCv3 PATCH 5/5] MAINTAINERS: add entries for adv7511 and adv7842.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bf61e04..e50819b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -580,12 +580,24 @@ L:linux-media@vger.kernel.org S: Mainta

[RFCv3 PATCH 4/5] adv7511: add new video encoder.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile |1 + drivers/media/i2c/adv7511.c | 1198 +++ include/media/adv7511.h | 49 ++ 4 files changed, 1259 insertions(+) create mode

[RFCv3 PATCH 2/5] ad9389b: set is_private only after successfully creating all controls

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil is_private was set right after creating each control, but the control pointer might be NULL in case of an error. Set it after all controls were successfully created, since that guarantees that all control pointers are non-NULL. Signed-off-by: Hans Verkuil --- drivers/media/i

[RFCv3 PATCH 1/5] adv7604: set is_private only after successfully creating all controls

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil is_private was set right after creating each control, but the control pointer might be NULL in case of an error. Set it after all controls were successfully created, since that guarantees that all control pointers are non-NULL. Signed-off-by: Hans Verkuil --- drivers/media/i

[RFCv3 PATCH 10/10] go7007: add motion detection support.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil This patch adds motion detection support to the go7007 driver using the new motion detection controls, events and matrices. The global motion detection works fine, but the regional motion detection support probably needs more work. There seems to be some interaction between re

[RFCv3 PATCH 05/10] v4l2: add a motion detection event.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- include/uapi/linux/videodev2.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index cf13339..52e5606 100644 --- a/include/uapi/linux/videodev2.h +++ b/inclu

[RFCv3 PATCH 03/10] v4l2-compat-ioctl32: add g/s_matrix support.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 49 +++ 1 file changed, 49 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-compat-ioctl32.c b/drivers/media/v4l2-core/v4l2-compat-ioctl32.c index 8f7a6a4..3e5a30f

[RFCv3 PATCH 04/10] solo: implement the new matrix ioctls instead of the custom ones.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 102 ++--- drivers/staging/media/solo6x10/solo6x10.h | 10 +- 2 files changed, 89 insertions(+), 23 deletions(-) diff --git a/drivers/staging/media/solo6x10/solo6x1

[RFCv3 PATCH 09/10] DocBook: document the new v4l2 matrix ioctls.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/v4l2.xml | 2 + .../DocBook/media/v4l/vidioc-g-matrix.xml | 108 + .../DocBook/media/v4l/vidioc-query-matrix.xml | 180 + 3 files changed, 290 insertions(

[RFCv3 PATCH 07/10] DocBook: add the new v4l detection class controls.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/controls.xml | 69 1 file changed, 69 insertions(+) diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml index c2fc9ec..dabc707 1

[RFCv3 PATCH 02/10] v4l2: add matrix support.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil This patch adds core support for matrices: querying, getting and setting. Two initial matrix types are defined for motion detection (defining regions and thresholds). Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-dev.c | 3 ++ drivers/media/v4l2-core/v4l2-

[RFCv3 PATCH 00/10] Matrix and Motion Detection support

2013-08-22 Thread Hans Verkuil
This third patch series adds support for matrices and motion detection and converts the solo6x10 and go7007 driver to use these new APIs. See this RFCv2 for details on the motion detection API: http://www.mail-archive.com/linux-media@vger.kernel.org/msg62085.html And this RFC for details on the

[RFCv3 PATCH 06/10] solo6x10: implement motion detection events and controls.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 117 + drivers/staging/media/solo6x10/solo6x10.h | 9 +- 2 files changed, 74 insertions(+), 52 deletions(-) diff --git a/drivers/staging/media/solo6x10/solo6x1

[RFCv3 PATCH 08/10] DocBook: document new v4l motion detection event.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 40 ++ .../DocBook/media/v4l/vidioc-subscribe-event.xml | 8 + 2 files changed, 48 insertions(+) diff --git a/Documentation/DocBook/media/v4l/vidioc-dqevent.xml b

[RFCv3 PATCH 01/10] v4l2-controls: add motion detection controls.

2013-08-22 Thread Hans Verkuil
From: Hans Verkuil Add support for two motion detection controls and a 'detect control class'. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ctrls.c | 33 +++-- include/uapi/linux/v4l2-controls.h | 14 ++ 2 files changed, 41 insertions(+

RE

2013-08-22 Thread Wajeeha Ahmad
Ваш электронный идентификатор выиграл 1,000,000.00 фунтов от NOKIA 2013 КОНЕЦ ГОДА рисовать, состоявшемся на 2 августа 2013 ничьей с приложением номер "244". Вы должны связаться с нашим агентом претензии по этому e-mail: (nokiaclaim_d...@hotmail.co.uk) с, указанные ниже данные для претензий. По

RE: [PATCH v2 2/2] dma-buf: Add user interfaces for dmabuf sync support

2013-08-22 Thread Inki Dae
Thanks for your comments, Inki Dae > -Original Message- > From: David Herrmann [mailto:dh.herrm...@gmail.com] > Sent: Wednesday, August 21, 2013 10:17 PM > To: Inki Dae > Cc: dri-de...@lists.freedesktop.org; linux-fb...@vger.kernel.org; linux- > arm-ker...@lists.infradead.org; linux-media@

Re: OMAP3 ISP change image format

2013-08-22 Thread jean-philippe francois
It is my understanding that you should set up the format with media-ctl, and only check the result in your application. In other words, using G/S/TRY_FMT ioctl on the video output nodes won't work. You can try the following pipeline : ov3640 -> ccdc -> previewer -> previewer V4L2 output and set p