Re: Zolid USB DVB-T Tuner Pictures

2012-10-24 Thread Jens Bauer
Hi Oliver (and who else might be interested) Regarding my posts about contributing to the list of devices on the page... http://linuxtv.org/wiki/index.php/DVB-T_USB_Devices ... I created an account, so that I could add an image of the device. Unfortunately, the Wiki didn't want me to do this; I

cron job: media_tree daily build: WARNINGS

2012-10-24 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 Oct 24 19:00:22 CEST 2012 git hash:74df06daf632ce2d321d01cb046004768352efc4 gcc version: i686-linux-gcc

[PATCH 1/3] [media] winbond-cir: fix idle mode

2012-10-24 Thread Sean Young
The receiver is never disabled by idle mode since rxstate never gets set to RXSTATE_ACTIVE, so we keep on getting interrupts after the first IR activity ends. Note that ir_raw_event_reset() already calls ir_raw_event_handle(). Signed-off-by: Sean Young s...@mess.org ---

[PATCH 2/3] [media] winbond-cir: increase IR receiver resolution

2012-10-24 Thread Sean Young
This is needed for carrier reporting. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/winbond-cir.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c index 6f0f5ef..1ff47eb 100644 ---

[PATCH 3/3] [media] winbond-cir: add carrier detection

2012-10-24 Thread Sean Young
The winbond hardware has a counter for leading edges, which increases as they are received. As we read raw IR from a fifo in an interrupt handler, we cannot correlate them to specific IR pulses so we simply count all pulses and edges until we go idle and disable the receiver. Signed-off-by: Sean

Re: [PATCH 2/2] drivers: media: video: Add support for Aptina ar0130 sensor

2012-10-24 Thread Sakari Ailus
Hi Prashanth, Thanks for the patch. On Fri, Sep 28, 2012 at 07:50:49PM +0530, Prashanth Subramanya wrote: This driver adds basic support for Aptina ar0130 1.2M sensor. Changes for v2: 1: Include new test pattern control as pointed by Hans and Lad. 2: Remove soc_camera.h as suggested by

Re: [PATCH 3/6] ARM: OMAP2+: Move plat/iovmm.h to include/linux/omap-iommu.h

2012-10-24 Thread Tony Lindgren
* Laurent Pinchart laurent.pinch...@ideasonboard.com [121019 02:41]: On Thursday 18 October 2012 13:28:42 Tony Lindgren wrote: --- a/arch/arm/mach-omap2/iommu2.c +++ b/arch/arm/mach-omap2/iommu2.c @@ -17,6 +17,7 @@ #include linux/module.h #include linux/slab.h #include

Re: [PATCH 01/23] uvc: Replace memcpy with struct assignment

2012-10-24 Thread Laurent Pinchart
Hi Ezequiel, Thanks for the patch. On Tuesday 23 October 2012 16:57:04 Ezequiel Garcia wrote: This kind of memcpy() is error-prone. Its replacement with a struct assignment is prefered because it's type-safe and much easier to read. Found by coccinelle. Hand patched and reviewed. Tested by

Re: [media-workshop] Tentative Agenda for the November workshop

2012-10-24 Thread Laurent Pinchart
Hi Sylwester, On Tuesday 23 October 2012 13:59:01 Sylwester Nawrocki wrote: On 10/23/2012 12:22 PM, Laurent Pinchart wrote: On Tuesday 23 October 2012 08:46:21 Hans Verkuil wrote: On Tue October 23 2012 03:03:35 Laurent Pinchart wrote: On Monday 22 October 2012 14:06:06 Hans Verkuil wrote:

Re: [PATCH 01/23] uvc: Replace memcpy with struct assignment

2012-10-24 Thread Andy Walls
Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Ezequiel, Thanks for the patch. On Tuesday 23 October 2012 16:57:04 Ezequiel Garcia wrote: This kind of memcpy() is error-prone. Its replacement with a struct assignment is prefered because it's type-safe and much easier to read.

Re: [PATCH 2/2] drivers: media: video: Add support for Aptina ar0130 sensor

2012-10-24 Thread Laurent Pinchart
Hi Sakari, On Thursday 25 October 2012 00:48:18 Sakari Ailus wrote: On Fri, Sep 28, 2012 at 07:50:49PM +0530, Prashanth Subramanya wrote: This driver adds basic support for Aptina ar0130 1.2M sensor. Changes for v2: 1: Include new test pattern control as pointed by Hans and Lad. 2:

[GIT PULL FOR v3.7] OMAP3 ISP fixes

2012-10-24 Thread Laurent Pinchart
Hi Mauro, Here are two regression fixes for v3.7 that get rid of compilation warnings. The following changes since commit 6f0c0580b70c89094b3422ba81118c7b959c7556: Linux 3.7-rc2 (2012-10-20 12:11:32 -0700) are available in the git repository at: git://linuxtv.org/pinchartl/media.git

Re: [PATCH 3/6] ARM: OMAP2+: Move plat/iovmm.h to include/linux/omap-iommu.h

2012-10-24 Thread Laurent Pinchart
Hi Tony, On Wednesday 24 October 2012 15:34:12 Tony Lindgren wrote: * Laurent Pinchart laurent.pinch...@ideasonboard.com [121019 02:41]: On Thursday 18 October 2012 13:28:42 Tony Lindgren wrote: --- a/arch/arm/mach-omap2/iommu2.c +++ b/arch/arm/mach-omap2/iommu2.c @@ -17,6 +17,7 @@

[PATCH 3/6] ARM: OMAP2+: Move plat/iovmm.h to include/linux/omap-iommu.h

2012-10-24 Thread Tony Lindgren
Looks like the iommu framework does not have generic functions exported for all the needs yet. The hardware specific functions are defined in files like intel-iommu.h and amd-iommu.h. Follow the same standard for omap-iommu.h. This is needed because we are removing plat and mach includes for ARM

[PATCH 4/6] ARM: OMAP2+: Move iommu2 to drivers/iommu/omap-iommu2.c

2012-10-24 Thread Tony Lindgren
This file should not be in arch/arm. Move it to drivers/iommu to allow making most of the header local to drivers/iommu. This is needed as we are removing plat and mach includes from drivers for ARM common zImage support. Cc: Joerg Roedel joerg.roe...@amd.com Cc: Ohad Ben-Cohen o...@wizery.com

Re: [PATCH 3/6] ARM: OMAP2+: Move plat/iovmm.h to include/linux/omap-iommu.h

2012-10-24 Thread Tony Lindgren
* Laurent Pinchart laurent.pinch...@ideasonboard.com [121024 16:54]: On Wednesday 24 October 2012 15:34:12 Tony Lindgren wrote: BTW, doing a test compile on v3.7-rc2, I'm seeing the following warnings for omap3isp for isp_video_ioctl_ops:

Re: [RFC] Timestamps and V4L2

2012-10-24 Thread Laurent Pinchart
Hi Chris, On Monday 15 October 2012 18:25:32 Chris MacGregor wrote: On 10/15/2012 12:59 PM, Sakari Ailus wrote: On Mon, Oct 15, 2012 at 11:53:56AM -0700, Chris MacGregor wrote: On 10/15/2012 11:45 AM, Laurent Pinchart wrote: On Monday 15 October 2012 19:05:49 Sakari Ailus wrote: Hi all,

[PATCH] adv7604: convert struct i2c_msg initialization to C99 format

2012-10-24 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/media/i2c/adv7604.c | 16 +--- 1 files

Re: [PATCH v3 2/2] [media]: mx2_camera: Fix regression caused by clock conversion

2012-10-24 Thread javier Martin
On 23 October 2012 00:17, Fabio Estevam feste...@gmail.com wrote: Hi Guennadi On Mon, Oct 22, 2012 at 7:07 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: ? I don't find a clock named per and associated with mx2-camera.0 in arch/arm/mach-imx/clk-imx27.c. I only find it in clk-imx25.c.

Re: [RFC/PATCH] v4l: Add V4L2_CID_FLASH_HW_STROBE_MODE control

2012-10-24 Thread Sylwester Nawrocki
Hi Sakari, On 10/23/2012 10:07 PM, Sakari Ailus wrote: On Tue, Oct 16, 2012 at 11:45:59PM +0200, Sylwester Nawrocki wrote: On 10/14/2012 08:30 PM, Sakari Ailus wrote: Currently the flash control reference states that The V4L2 flash controls are intended to provide generic access to flash

Re: [PATCH v2] ARM: dm365: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-24 Thread Sekhar Nori
On 10/23/2012 6:47 PM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com This patch replaces V4L2_OUT_CAP_CUSTOM_TIMINGS macro with V4L2_OUT_CAP_DV_TIMINGS. As V4L2_OUT_CAP_CUSTOM_TIMINGS is being phased out. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by:

Re: [PATCH v2] ARM: dm365: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-24 Thread Sergei Shtylyov
On 24.10.2012 15:19, Sekhar Nori wrote: This patch replaces V4L2_OUT_CAP_CUSTOM_TIMINGS macro with V4L2_OUT_CAP_DV_TIMINGS. As V4L2_OUT_CAP_CUSTOM_TIMINGS is being phased out. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sekhar

[PATCH] [media] vpif_capture: fix return value check in vpif_reqbufs()

2012-10-24 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function vb2_dma_contig_init_ctx() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generate this patch.

[PATCH] [media] vpif_display: fix return value check in vpif_reqbufs()

2012-10-24 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function vb2_dma_contig_init_ctx() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generate this patch.

Re: [PATCH 2/2] media: V4L2: support asynchronous subdevice registration

2012-10-24 Thread Sylwester Nawrocki
Hi Gueanndi, On 10/22/2012 04:48 PM, Guennadi Liakhovetski wrote: On Mon, 22 Oct 2012, Hans Verkuil wrote: On Mon October 22 2012 14:50:14 Guennadi Liakhovetski wrote: On Mon, 22 Oct 2012, Hans Verkuil wrote: On Mon October 22 2012 13:08:12 Guennadi Liakhovetski wrote: On Mon, 22 Oct 2012,

[PATCH] [media] ivtv: ivtv-driver: Replace 'flush_work_sync()'

2012-10-24 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Since commit 43829731d (workqueue: deprecate flush[_delayed]_work_sync()), flush_work() should be used instead of flush_work_sync(). Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/media/pci/ivtv/ivtv-driver.c |2 +- 1

[PATCH v3] ARM: davinci: dm365 evm: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-24 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com This patch replaces V4L2_OUT_CAP_CUSTOM_TIMINGS macro with V4L2_OUT_CAP_DV_TIMINGS. As V4L2_OUT_CAP_CUSTOM_TIMINGS is being phased out. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sekhar

[PATCH] [media] au0828: fix case where STREAMOFF being called on stopped stream causes BUG()

2012-10-24 Thread Mauro Carvalho Chehab
From: Devin Heitmueller dheitmuel...@kernellabs.com We weren't checking whether the resource was in use before calling res_free(), so applications which called STREAMOFF on a v4l2 device that wasn't already streaming would cause a BUG() to be hit (MythTV). Reported-by: Larry Finger

Re: [balbi-usb:i2c-transferred-bytes-on-NACK 7/9] drivers/media/i2c/adv7604.c:406:9: warning: initialization makes integer from pointer without a cast

2012-10-24 Thread Felipe Balbi
Hi, On Wed, Oct 24, 2012 at 09:23:23PM +0800, Fengguang Wu wrote: Sorry, this should really be CCed to the media list. I'll use the list recommended by get_maintainer.pl in future. Actually, I would suggest only testing the following branches from my tree: dwc3, musb, xceiv, gadget and fixes

Re: [PATCH 2/2] media: V4L2: support asynchronous subdevice registration

2012-10-24 Thread Guennadi Liakhovetski
Hi Greg On Sat, 20 Oct 2012, Guennadi Liakhovetski wrote: Currently bridge device drivers register devices for all subdevices synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor is attached to a video bridge device, the bridge driver will create an I2C device and wait

[PATCH 1/4] s5p-mfc: Move firmware allocation point to avoid allocation problems

2012-10-24 Thread Kamil Debski
Move firmware allocation from open to probe to avoid problems when using CMA for allocation. In certain circumstances CMA may allocate buffer that is not in the beginning of the MFC memory area. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 2/4] s5p-mfc: Correct check of vb2_dma_contig_init_ctx return value

2012-10-24 Thread Kamil Debski
vb2_dma_contig_init_ctx returns an error if failed, NULL check is not necessary. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 3/4] s5p-mfc: Fix vidioc_subscribe_event declaration

2012-10-24 Thread Kamil Debski
Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c

[PATCH 4/4] s5p-mfc: Change internal buffer allocation from vb2 ops to dma_alloc_coherent

2012-10-24 Thread Kamil Debski
Change internal buffer allocation from vb2 memory ops call to direct calls of dma_alloc_coherent. This change shortens the code and makes it much more readable. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH 3/4] s5p-mfc: Fix vidioc_subscribe_event declaration

2012-10-24 Thread Sachin Kamat
Hi Kamil, I have already submitted a similar patch [1] which Sylwester has applied to his tree. [1] http://www.mail-archive.com/linux-media@vger.kernel.org/msg53857.html -- With warm regards, Sachin On 24 October 2012 19:45, Kamil Debski k.deb...@samsung.com wrote: Signed-off-by: Kamil

Re: [PATCH] [media] ivtv: ivtv-driver: Replace 'flush_work_sync()'

2012-10-24 Thread Tejun Heo
On Wed, Oct 24, 2012 at 8:14 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Since commit 43829731d (workqueue: deprecate flush[_delayed]_work_sync()), flush_work() should be used instead of flush_work_sync(). Signed-off-by: Fabio Estevam

Re: [PATCH v2] omap3isp: preview: Add support for 8-bit formats at the sink pad

2012-10-24 Thread Sakari Ailus
On Tue, Oct 23, 2012 at 03:11:02PM +0200, Laurent Pinchart wrote: Support both grayscale (Y8) and Bayer (SBGGR8, SGBRG8, SGRBG8 and SRGGB8) formats. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Thanks!! Acked-by: Sakari Ailus sakari.ai...@iki.fi -- Sakari Ailus

Re: [PATCH 0/6] SMIA++ PLL and driver improvements

2012-10-24 Thread Sakari Ailus
On Wed, Oct 24, 2012 at 01:02:26AM +0200, Laurent Pinchart wrote: Hi Sakari, Thanks for the patches. On Tuesday 23 October 2012 18:42:32 Sakari Ailus wrote: Hi, Here's a few SMIA++ patches from me and Laurent. The set consists of cleanups, PLL calculator improvements and

Re: [balbi-usb:i2c-transferred-bytes-on-NACK 7/9] drivers/media/i2c/adv7604.c:406:9: warning: initialization makes integer from pointer without a cast

2012-10-24 Thread Fengguang Wu
On Wed, Oct 24, 2012 at 04:37:20PM +0300, Felipe Balbi wrote: Hi, On Wed, Oct 24, 2012 at 09:23:23PM +0800, Fengguang Wu wrote: Sorry, this should really be CCed to the media list. I'll use the list recommended by get_maintainer.pl in future. Actually, I would suggest only testing the

[RFC 0/4] Monotonic timestamps

2012-10-24 Thread Sakari Ailus
Hi all, Here's my first monotonic timestamps patch (RFC) series. It's quite experimental, not even compile tested, which doesn't matter much at this point anyway. What the patches do is that they 1. Add new buffer flags for timestamp type, and a mask, 2. convert all the drivers to use monotonic

[RFC 1/4] v4l: Define video buffer flags for timestamp types

2012-10-24 Thread Sakari Ailus
Define video buffer flags for different timestamp types. Everything up to now have used either realtime clock or monotonic clock, without a way to tell which clock the timestamp was taken from. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/io.xml | 25

[RFC 2/4] v4l: Helper function for obtaining timestamps

2012-10-24 Thread Sakari Ailus
v4l2_get_timestamp() produces a monotonic timestamp but unlike ktime_get_ts(), it uses struct timeval instead of struct timespec, saving the drivers the conversion job when getting timestamps for v4l2_buffer's timestamp field. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[RFC 4/4] v4l: Tell user space we're using monotonic timestamps

2012-10-24 Thread Sakari Ailus
Set buffer timestamp flags for videobuf, videobuf2 and drivers that use neither. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/pci/meye/meye.c |4 ++-- drivers/media/pci/zoran/zoran_driver.c|2 +- drivers/media/platform/omap3isp/ispqueue.c|

[RFC 3/4] v4l: Convert drivers to use monotonic timestamps

2012-10-24 Thread Sakari Ailus
Convert drivers using wall clock time (CLOCK_REALTIME) to timestamp from the monotonic timer (CLOCK_MONOTONIC). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/common/saa7146/saa7146_fops.c|2 +- drivers/media/pci/bt8xx/bttv-driver.c |6 +++---