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

2013-07-25 Thread Vladimir Barinov
Hi Matsubara-san, On 07/25/2013 07:01 AM, Katsuya MATSUBARA wrote: Hi Vladimir, Thank you for the revised patch. From: Sergei Shtylyovsergei.shtyl...@cogentembedded.com Date: Sat, 20 Jul 2013 03:14:34 +0400 From: Vladimir Barinovvladimir.bari...@cogentembedded.com Add Renesas R-Car

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

2013-07-25 Thread Katsuya MATSUBARA
Hi Vladimir, From: Vladimir Barinov vladimir.bari...@cogentembedded.com Date: Thu, 25 Jul 2013 10:55:51 +0400 Hi Matsubara-san, On 07/25/2013 07:01 AM, Katsuya MATSUBARA wrote: Hi Vladimir, Thank you for the revised patch. From: Sergei Shtylyovsergei.shtyl...@cogentembedded.com

Re: [PATCH] ml86v7667: override default field interlace order

2013-07-25 Thread Katsuya MATSUBARA
Hi Vladimir, From: Sergei Shtylyov sergei.shtyl...@cogentembedded.com Subject: [PATCH] ml86v7667: override default field interlace order Date: Mon, 15 Jul 2013 23:12:21 +0400 From: Vladimir Barinov vladimir.bari...@cogentembedded.com ML86V7667 always transmits top field first for both PAL

Re: [PATCH] smiapp: re-use clamp_t instead of min(..., max(...))

2013-07-25 Thread Andy Shevchenko
On Wed, Jul 24, 2013 at 6:55 PM, Sakari Ailus sakari.ai...@iki.fi wrote: On Wed, Jul 24, 2013 at 06:49:24PM +0300, Andy Shevchenko wrote: On Wed, Jul 24, 2013 at 6:45 PM, Sakari Ailus sakari.ai...@iki.fi wrote: [] + max_m = clamp_t(u32, max_m,

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-25 Thread Arnd Bergmann
On Thursday 25 July 2013, Kishon Vijay Abraham I wrote: On Thursday 25 July 2013 12:02 AM, Arnd Bergmann wrote: On Tuesday 23 July 2013, Tomasz Figa wrote: On Tuesday 23 of July 2013 17:14:20 Alan Stern wrote: On Tue, 23 Jul 2013, Tomasz Figa wrote: Where would you want to have those

UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Hans Verkuil
Hi Laurent, While working on adding alsa streaming support to qv4l2 we noticed that uvc doesn't set this capability telling userspace that the webcam supports audio. Is it possible at all in the uvc driver to determine whether or not a uvc webcam has a microphone? If not, then it looks like the

Re: UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Laurent Pinchart
Hi Hans, On Thursday 25 July 2013 11:03:13 Hans Verkuil wrote: Hi Laurent, While working on adding alsa streaming support to qv4l2 we noticed that uvc doesn't set this capability telling userspace that the webcam supports audio. Is it possible at all in the uvc driver to determine

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-25 Thread Mark Brown
On Wed, Jul 24, 2013 at 08:32:03PM +0200, Arnd Bergmann wrote: Sorry for jumping in to the middle of the discussion, but why does a *new* framework even bother defining an interface for board files? Can't we just drop any interfaces for platform data passing in the phy framework and put the

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-25 Thread Sylwester Nawrocki
On 07/24/2013 08:32 PM, Arnd Bergmann wrote: On Tuesday 23 July 2013, Tomasz Figa wrote: On Tuesday 23 of July 2013 17:14:20 Alan Stern wrote: On Tue, 23 Jul 2013, Tomasz Figa wrote: Where would you want to have those phy_address arrays stored? There are no board files when booting with DT.

Re: [PATCH RFC 0/5] v4l2-async DT support improvement and cleanups

2013-07-25 Thread Sylwester Nawrocki
Hi Laurent, On 07/24/2013 12:06 PM, Laurent Pinchart wrote: Hi Sylwester, Thanks for the patches. On Monday 22 July 2013 20:04:42 Sylwester Nawrocki wrote: Hello, This is a few patches for the v4l2-async API I wrote while adding the asynchronous subdev registration support to the

Re: [PATCH RFC 0/5] v4l2-async DT support improvement and cleanups

2013-07-25 Thread Sylwester Nawrocki
On 07/24/2013 12:16 PM, Hans Verkuil wrote: On Mon 22 July 2013 20:04:42 Sylwester Nawrocki wrote: Hello, This is a few patches for the v4l2-async API I wrote while adding the asynchronous subdev registration support to the exynos4-is driver. The most significant change is addition of

Re: [PATCH RFC 3/5] V4L2: Add V4L2_ASYNC_MATCH_OF subdev matching type

2013-07-25 Thread Sylwester Nawrocki
Hi Guennadi, On 07/24/2013 01:21 PM, Guennadi Liakhovetski wrote: Hi Sylwester On Mon, 22 Jul 2013, Sylwester Nawrocki wrote: Add support for matching by device_node pointer. This allows the notifier user to simply pass a list of device_node pointers corresponding to sub-devices.

Re: [PATCH RFC 4/5] V4L2: Rename subdev field of struct v4l2_async_notifier

2013-07-25 Thread Sylwester Nawrocki
Hi Gueannadi, On 07/24/2013 01:26 PM, Guennadi Liakhovetski wrote: On Mon, 22 Jul 2013, Sylwester Nawrocki wrote: This is a purely cosmetic change. Since the 'subdev' member points to an array of subdevs it seems more intuitive to name it in plural form. Well, I was aware of the fact,

Re: [PATCH RFC 0/5] v4l2-async DT support improvement and cleanups

2013-07-25 Thread Sylwester Nawrocki
Hi Guennadi, On 07/24/2013 01:36 PM, Guennadi Liakhovetski wrote: On Mon, 22 Jul 2013, Sylwester Nawrocki wrote: Hello, This is a few patches for the v4l2-async API I wrote while adding the asynchronous subdev registration support to the exynos4-is driver. The most significant change is

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-25 Thread Laurent Pinchart
Hi Arnd, On Wednesday 24 July 2013 20:32:03 Arnd Bergmann wrote: On Tuesday 23 July 2013, Tomasz Figa wrote: On Tuesday 23 of July 2013 17:14:20 Alan Stern wrote: On Tue, 23 Jul 2013, Tomasz Figa wrote: Where would you want to have those phy_address arrays stored? There are no board

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-25 Thread Arnd Bergmann
On Thursday 25 July 2013, Laurent Pinchart wrote: On Wednesday 24 July 2013 20:32:03 Arnd Bergmann wrote: On Tuesday 23 July 2013, Tomasz Figa wrote: On Tuesday 23 of July 2013 17:14:20 Alan Stern wrote: On Tue, 23 Jul 2013, Tomasz Figa wrote: Where would you want to have those

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-25 Thread Laurent Pinchart
Hi Arnd, On Thursday 25 July 2013 13:00:49 Arnd Bergmann wrote: On Thursday 25 July 2013, Laurent Pinchart wrote: On Wednesday 24 July 2013 20:32:03 Arnd Bergmann wrote: On Tuesday 23 July 2013, Tomasz Figa wrote: On Tuesday 23 of July 2013 17:14:20 Alan Stern wrote: On Tue, 23 Jul

Re: [PATCH v2 3/5] v4l: Add media format codes for ARGB8888 and AYUV8888 on 32-bit busses

2013-07-25 Thread Laurent Pinchart
Hi Sylwester, On Wednesday 24 July 2013 23:26:32 Sylwester Nawrocki wrote: On 07/17/2013 04:54 PM, Laurent Pinchart wrote: Signed-off-by: Laurent Pinchartlaurent.pinchart+rene...@ideasonboard.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 609 ++---

Re: [PATCH v2 5/5] v4l: Renesas R-Car VSP1 driver

2013-07-25 Thread Laurent Pinchart
Hi Sakari, On Thursday 25 July 2013 01:48:58 Sakari Ailus wrote: Hi Laurent, What a nice driver! A few minor comments below: Thank you :-) On Wed, Jul 17, 2013 at 04:54:42PM +0200, Laurent Pinchart wrote: ... +static void vsp1_device_init(struct vsp1_device *vsp1) +{ + unsigned

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-25 Thread Mark Brown
On Thu, Jul 25, 2013 at 01:00:49PM +0200, Arnd Bergmann wrote: I'm not saying that we can't support legacy board files with the common PHY framework, but I'd expect things to be much easier if we focus on those platforms that are actively being worked on for now, to bring an end to the

Re: Doing a v4l-utils-1.0.0 release

2013-07-25 Thread Gregor Jasny
Hello Guy, On 6/15/13 12:33 PM, Guy Martin wrote: Can we wait a little bit more like a week max ? I'd like to see the polarization stuff fixed because otherwise you can't use sat at all with libdvbv5. I'll work on the new patches this weekend. I'll hopefully have something today. I'll see what

[PATCH] soc_camera: fix compiler warning

2013-07-25 Thread Hans Verkuil
media_build/v4l/soc_camera.c: In function 'soc_camera_host_register': media_build/v4l/soc_camera.c:1513:10: warning: 'sasd' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(clk_name, sizeof(clk_name), %d-%04x, ^ media_build/v4l/soc_camera.c:1464:34: note:

Re: Doing a v4l-utils-1.0.0 release

2013-07-25 Thread Guy Martin
Hi Gregor, On 2013-07-25 14:36, Gregor Jasny wrote: I saw your patches were merged to v4l-utils. Is there anything else you'd like to have included in a v4l-utils 1.0.0 release? Nope, that's all I wanted to have for this release. Next thing will be to work on better diseqc support but it can

[PATCH v3 2/5] v4l: Fix V4L2_MBUS_FMT_YUV10_1X30 media bus pixel code value

2013-07-25 Thread Laurent Pinchart
From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com The V4L2_MBUS_FMT_YUV10_1X30 code is documented as being equal to 0x2014, while the v4l2-mediabus.h header defines it as 0x2016. Fix the documentation. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

[PATCH v3 3/5] v4l: Add media format codes for ARGB8888 and AYUV8888 on 32-bit busses

2013-07-25 Thread Laurent Pinchart
From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 609 +

[PATCH v3 1/5] media: Add support for circular graph traversal

2013-07-25 Thread Laurent Pinchart
From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com The graph traversal API (media_entity_graph_walk_*) doesn't support cyclic graphs and will fail to correctly walk a graph when circular links exist. Support circular graph traversal by checking whether an entity has already been

[PATCH v3 4/5] v4l: Add V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV61M formats

2013-07-25 Thread Laurent Pinchart
From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com NV16M and NV61M are planar YCbCr 4:2:2 and YCrCb 4:2:2 formats with a luma plane followed by an interleaved chroma plane. The planes are not required to be contiguous in memory, and the formats can only be used with the multi-planar

[PATCH v3 0/5] Renesas VSP1 driver

2013-07-25 Thread Laurent Pinchart
Hello, Here's the third version of the VSP1 engine (a Video Signal Processor found in several Renesas R-Car SoCs) driver. I'd like to thank all the v1 and v2 reviewers. The VSP1 is a video processing engine that includes a blender, scalers, filters and statistics computation. Configurable data

[GIT PULL FOR v3.11] Various fixes for 3.11

2013-07-25 Thread Hans Verkuil
Hi Mauro, Here is a list of fixes for 3.11. Regards, Hans The following changes since commit c859e6ef33ac0c9a5e9e934fe11a2232752b4e96: [media] dib0700: add support for PCTV 2002e PCTV 2002e SE (2013-07-22 07:48:11 -0300) are available in the git repository at:

[PATCH 1/4] xc3082: Fix use after free in free_firmware()

2013-07-25 Thread Gregor Jasny
Detected by Coverity Scanner. CC: Mauro Carvalho Chehab mche...@infradead.org Signed-off-by: Gregor Jasny gja...@googlemail.com --- utils/xc3028-firmware/firmware-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/xc3028-firmware/firmware-tool.c

[PATCH 0/4] v4l-utils: Some fixes for Coverity issues

2013-07-25 Thread Gregor Jasny
Hello, the following patches fix issues that the Coverity static analyzer found in v4l-utils. Please review. Thanks, Gregor Gregor Jasny (4): xc3082: Fix use after free in free_firmware() libdvbv5: Fix reallocation in parse_lcn rds-ctl: Always terminate strings properly libdvbv5: Fix

[PATCH 2/4] libdvbv5: Fix reallocation in parse_lcn

2013-07-25 Thread Gregor Jasny
Detected by Coverity. Signed-off-by: Gregor Jasny gja...@googlemail.com CC: Mauro Carvalho Chehab mche...@infradead.org --- lib/libdvbv5/descriptors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libdvbv5/descriptors.c b/lib/libdvbv5/descriptors.c index

[PATCH 4/4] libdvbv5: Fix copy and paste error in parse_service()

2013-07-25 Thread Gregor Jasny
Detected by Coverity. Signed-off-by: Gregor Jasny gja...@googlemail.com CC: Mauro Carvalho Chehab mche...@infradead.org CC: André Roth neol...@gmail.com --- lib/libdvbv5/descriptors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdvbv5/descriptors.c

[PATCH 3/4] rds-ctl: Always terminate strings properly

2013-07-25 Thread Gregor Jasny
Detected by Coverity. Signed-off-by: Gregor Jasny gja...@googlemail.com CC: Hans Verkuil hverk...@xs4all.nl --- utils/rds-ctl/rds-ctl.cpp | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index

Re: UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Devin Heitmueller
On Thu, Jul 25, 2013 at 5:10 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Not without dirty hacks. The UVC interfaces don't report whether the device has an audio function, the driver would need to look at all the interfaces of the parent USB device and find out whether they

Re: UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Laurent Pinchart
Hi Devin, On Thursday 25 July 2013 09:11:31 Devin Heitmueller wrote: On Thu, Jul 25, 2013 at 5:10 AM, Laurent Pinchart wrote: Not without dirty hacks. The UVC interfaces don't report whether the device has an audio function, the driver would need to look at all the interfaces of the parent

Re: [GIT PULL FOR v3.11]

2013-07-25 Thread Hans Verkuil
Hi Prabhakar, On Thu 11 July 2013 19:25:15 Prabhakar Lad wrote: Hi Hans, On Thu, Jun 27, 2013 at 12:25 PM, Hans Verkuil hverk...@xs4all.nl wrote: (Same as my previous git pull message, but with more cleanup patches and [snip] Lad, Prabhakar (9): media: i2c: ths8200: support

[PATCHv2 0/5] qv4l2: add OpenGL render and window fixes

2013-07-25 Thread Bård Eirik Winther
The qv4l2 test utility now supports OpenGL-accelerated display of video. This allows for using the graphics card to render the video content to screen and to perform color space conversion. The OpenGL implementation requires OpenGL and QtOpenGL libraries as well as an OpenGL driver (typically

[PATCHv2 4/5] qv4l2: new modular capture window design

2013-07-25 Thread Bård Eirik Winther
The display of video has been divided into classes to easier implement other ways to render frames on screen. Signed-off-by: Bård Eirik Winther bwint...@cisco.com --- utils/qv4l2/Makefile.am| 4 +- utils/qv4l2/capture-win-qt.cpp | 89

[PATCHv2 5/5] qv4l2: add OpenGL video display and render

2013-07-25 Thread Bård Eirik Winther
Adds OpenGL-accelerated display of video for the qv4l2 test utility. This allows for using the graphics card to render the video content to screen and to perform color space conversion. Signed-off-by: Bård Eirik Winther bwint...@cisco.com --- configure.ac | 8 +-

[PATCHv2 3/5] qv4l2: fix minimum size in capture win to frame size

2013-07-25 Thread Bård Eirik Winther
CaptureWin's setMinimumSize() sets the minimum size for the video frame viewport and not for the window itself. If the minimum size is larger than the monitor resolution, it will reduce the minimum size to match this. Signed-off-by: Bård Eirik Winther bwint...@cisco.com ---

[PATCHv2 1/5] qv4l2: move function ctrlEvent

2013-07-25 Thread Bård Eirik Winther
Moved the ctrlEvent() function in qv4l2.cpp to be grouped with GUI function and to group capFrame() and capVbiFrame() together. Signed-off-by: Bård Eirik Winther bwint...@cisco.com --- utils/qv4l2/qv4l2.cpp | 94 +-- 1 file changed, 47

[PATCHv2 2/5] qv4l2: add hotkeys for common operations

2013-07-25 Thread Bård Eirik Winther
CTRL + V : When main window is selected start capture. This gives an option other than the button to start recording, as this is a frequent operation when using the utility. CTRL + W : When CaptureWin is selected close capture window It makes it easier to deal with

Re: [PATCH 3/4] rds-ctl: Always terminate strings properly

2013-07-25 Thread Hans Verkuil
On Thu 25 July 2013 15:09:33 Gregor Jasny wrote: Detected by Coverity. Signed-off-by: Gregor Jasny gja...@googlemail.com CC: Hans Verkuil hverk...@xs4all.nl Reviewed-by: Hans Verkuil hans.verk...@cisco.com Thanks! Hans --- utils/rds-ctl/rds-ctl.cpp | 14 +++--- 1 file

Re: [PATCH v2 5/5] v4l: Renesas R-Car VSP1 driver

2013-07-25 Thread Sakari Ailus
Hi Laurent, On Thu, Jul 25, 2013 at 01:46:54PM +0200, Laurent Pinchart wrote: On Wed, Jul 17, 2013 at 04:54:42PM +0200, Laurent Pinchart wrote: ... +static void vsp1_device_init(struct vsp1_device *vsp1) +{ + unsigned int i; + u32 status; + + /* Reset any channel that

Re: [PATCH v3 1/5] media: Add support for circular graph traversal

2013-07-25 Thread Sakari Ailus
Hi Laurent, On Thu, Jul 25, 2013 at 03:00:09PM +0200, Laurent Pinchart wrote: From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com The graph traversal API (media_entity_graph_walk_*) doesn't support cyclic graphs and will fail to correctly walk a graph when circular links exist.

Re: [PATCH] V4L: Add driver for Samsung S5K5BAF camera sensor

2013-07-25 Thread Hans Verkuil
On Wed 24 July 2013 19:51:03 Sylwester Nawrocki wrote: From: Andrzej Hajda a.ha...@samsung.com This patch adds V4L2 subdev driver for Samsung S5K5BAF CMOS image sensor with embedded SoC ISP. The driver exposes two V4L2 subdevices: - S5K5BAF-CIS - pure CMOS Image Sensor, fixed 1600x1200

Re: [PATCH] V4L: Add driver for Samsung S5K5BAF camera sensor

2013-07-25 Thread Sylwester Nawrocki
Hi Hans, On 07/25/2013 04:42 PM, Hans Verkuil wrote: Would it be an idea to create a library with rectangle manipulation functions? Looking at this driver and similar ones as well that I had to deal with that support cropping/scaling/composing I see a lot of rectangle manipulation. Moving

Sat Multiswitch, AMP, Sat Finder---shdlink

2013-07-25 Thread Wu
Dear Sirs, Our factory SHDLink has release the newest satellite multiswitches series, AV sender, SMATV amplifiers, LNB, Sat Finder, AV to RF Modulator, disEqc switch etc. Come back for competitive price and more products information. Tks. Look forward to receiving your reply soon! Best

[patch] [media] bt8xx: info leak in ca_get_slot_info()

2013-07-25 Thread Dan Carpenter
p_ca_slot_info was allocated with kmalloc() so we need to clear it before passing it to the user. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/pci/bt8xx/dst_ca.c b/drivers/media/pci/bt8xx/dst_ca.c index 0e788fc..6b9dc3f 100644 ---

Re: [patch] [media] bt8xx: info leak in ca_get_slot_info()

2013-07-25 Thread walter harms
Am 25.07.2013 18:46, schrieb Dan Carpenter: p_ca_slot_info was allocated with kmalloc() so we need to clear it before passing it to the user. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/pci/bt8xx/dst_ca.c b/drivers/media/pci/bt8xx/dst_ca.c index

Re: [patch] [media] bt8xx: info leak in ca_get_slot_info()

2013-07-25 Thread Dan Carpenter
On Thu, Jul 25, 2013 at 07:29:09PM +0200, walter harms wrote: Am 25.07.2013 18:46, schrieb Dan Carpenter: p_ca_slot_info was allocated with kmalloc() so we need to clear it before passing it to the user. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

cron job: media_tree daily build: WARNINGS

2013-07-25 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: Thu Jul 25 19:00:20 CEST 2013 git branch: test git hash: c859e6ef33ac0c9a5e9e934fe11a2232752b4e96 gcc

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

2013-07-25 Thread Sergei Shtylyov
From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy phil.edwor...@renesas.com. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com [Sergei: removed deprecated IRQF_DISABLED flag,

Re: occasional problems with Technotrend TT-connect CT3650+CI - additional logs

2013-07-25 Thread Martin Maurer
Hi, I took some logs with debug flags enabled: options dvb-usb debug=81 options dvb-usb-ttusb2 debug=1 debug_ci=1 After the DVB CAM link initialization failed I won't get more logs for a few hours. At some time the TV card recovers without any intervention. Do you have any ideas what is wrong

Re: [GIT PULL FOR v3.11]

2013-07-25 Thread Prabhakar Lad
Hi Hans, On Thu, Jul 25, 2013 at 6:55 PM, Hans Verkuil hverk...@xs4all.nl wrote: Hi Prabhakar, On Thu 11 July 2013 19:25:15 Prabhakar Lad wrote: Hi Hans, On Thu, Jun 27, 2013 at 12:25 PM, Hans Verkuil hverk...@xs4all.nl wrote: (Same as my previous git pull message, but with more cleanup