[PATCH v7] videodev2: Set vb2_rect's width and height as unsigned

2013-11-26 Thread Ricardo Ribalda Delgado
As discussed on the media summit 2013, there is no reason for the width and height to be signed. Therefore this patch is an attempt to convert those fields from __s32 to __u32. --- v7: Remove another obsolete !-- comment v6: Comments by Hans and rebase -Update version in doc to 3.14 -Remove

Re: [PATCH] videobuf2-dma-sg: Support io userptr operations on io memory

2013-11-26 Thread Marek Szyprowski
Hello, On 2013-11-06 20:48, Ricardo Ribalda Delgado wrote: Memory exported via remap_pfn_range cannot be remapped via get_user_pages. Other videobuf2 methods (like the dma-contig) supports io memory. This patch adds support for this kind of memory. Signed-off-by: Ricardo Ribalda Delgado

[PATCH v2] videobuf2-dma-sg: Support io userptr operations on io memory

2013-11-26 Thread Ricardo Ribalda Delgado
Memory exported via remap_pfn_range cannot be remapped via get_user_pages. Other videobuf2 methods (like the dma-contig) supports io memory. This patch adds support for this kind of memory. v2: Comments by Marek Szyprowski -Use vb2_get_vma and vb2_put_vma Signed-off-by: Ricardo Ribalda Delgado

[PATCH 1/2] staging: as102: Declare local variables as static

2013-11-26 Thread Mauro Dreissig
As pointed out by sparse: drivers/staging/media/as102/as102_fw.c:29:6: warning: symbol 'as102_st_fw1' was not declared. Should it be static? drivers/staging/media/as102/as102_fw.c:30:6: warning: symbol 'as102_st_fw2' was not declared. Should it be static?

[PATCH 0/2] staging: as102: Cleanups for the as102 driver

2013-11-26 Thread Mauro Dreissig
The first patch cleans sparse warnings and the second one removes useless code. Mauro Dreissig (2): staging: as102: Declare local variables as static staging: as102: Remove ENTER/LEAVE debugging macros drivers/staging/media/as102/as102_drv.c| 10 --

[PATCH 2/2] staging: as102: Remove ENTER/LEAVE debugging macros

2013-11-26 Thread Mauro Dreissig
Too much noise, also does not cover every possible code paths. Signed-off-by: Mauro Dreissig muk...@gmail.com Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/media/as102/as102_drv.c| 10 -- drivers/staging/media/as102/as102_drv.h| 8

Re: IPTV Newbie Question/Which Satellite Receiver to Use!

2013-11-26 Thread Oliver Schinagl
On 25-11-13 19:03, Golden Shadow wrote: Hello there! I am new to IPTV and Video4Linux. I need to implement an IPTV solution that would stream DVB satellite channels in a network. What is the satellite receiver do you recommend me to use on my Linux Centos 6.4 server? The satellite receiver

Re: [PATCH v2] videobuf2-dma-sg: Support io userptr operations on io memory

2013-11-26 Thread Marek Szyprowski
Hello, On 2013-11-26 13:58, Ricardo Ribalda Delgado wrote: Memory exported via remap_pfn_range cannot be remapped via get_user_pages. Other videobuf2 methods (like the dma-contig) supports io memory. This patch adds support for this kind of memory. v2: Comments by Marek Szyprowski -Use

Re: [RFC PATCH 1/8] vb2: push the mmap semaphore down to __buf_prepare()

2013-11-26 Thread Laurent Pinchart
Hi Hans, On Friday 22 November 2013 10:02:49 Hans Verkuil wrote: On 11/21/2013 08:04 PM, Laurent Pinchart wrote: On Thursday 21 November 2013 16:21:59 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Rather than taking the mmap semaphore at a relatively high-level

Re: [RFC PATCH 4/8] vb2: retry start_streaming in case of insufficient buffers.

2013-11-26 Thread Laurent Pinchart
Hi Hans, On Friday 22 November 2013 09:43:23 Hans Verkuil wrote: On 11/21/2013 08:09 PM, Laurent Pinchart wrote: On Thursday 21 November 2013 16:22:02 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com If start_streaming returns -ENODATA, then it will be retried the next

[GIT PULL FOR v3.14] OMAP3 ISP fix

2013-11-26 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 258d2fbf874c87830664cb7ef41f9741c1abffac: Merge tag 'v3.13-rc1' into patchwork (2013-11-25 05:57:23 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp/next for you to fetch changes up to

[GIT PULL FOR v3.14] Sensor fix

2013-11-26 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 258d2fbf874c87830664cb7ef41f9741c1abffac: Merge tag 'v3.13-rc1' into patchwork (2013-11-25 05:57:23 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git sensors/next for you to fetch changes up to

[GIT PULL FOR v3.14 v2] OMAP4 ISS driver

2013-11-26 Thread Laurent Pinchart
Hello, Here's a pull request for v3.14 that adds a driver for the OMAP4 ISS (camera interface). It supersedes the previous v3.14 pull request for the same driver. The driver has been posted for review on the linux-media@vger.kernel.org mailing list. I believe I have addressed all the review

Re: IPTV Newbie Question/Which Satellite Receiver to Use!

2013-11-26 Thread Golden Shadow
Hello Oliver, Thanks for your reply. I could not find the PCIe cards you mentioned (L4M-Flex CI or L4M-Flex-Twin C)  on the supported PCIe cards on: http://www.linuxtv.org/wiki/index.php/DVB-C_PCIe_Cards#Supported_DVB-C_PCIe_Cards: Perhaps it's better to go for a USB device as there are more

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Valentine
On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e4afa42af2daa12 No, I missed that one somehow, although I did search

re: [media] dib8000: enhancement

2013-11-26 Thread Dan Carpenter
Hello Patrick Boettcher, The patch 173a64cb3fcf: [media] dib8000: enhancement from Apr 22, 2013, leads to the following static checker warning: drivers/media/dvb-frontends/dib8000.c:2074 dib8000_get_init_prbs() error: buffer overflow 'lut_prbs_8k' 14 = 14

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Lars-Peter Clausen
On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e4afa42af2daa12 No, I

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Valentine
On 11/27/2013 01:43 AM, Lars-Peter Clausen wrote: On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver:

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Laurent Pinchart
Hi Lars, On Tuesday 26 November 2013 22:43:32 Lars-Peter Clausen wrote: On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver:

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Lars-Peter Clausen
On 11/26/2013 10:57 PM, Valentine wrote: [...] [...] I'd also appreciate your thoughts about the issues I've described, which have been replaced by [...] here. Those seem to be mostly issues that also apply to the adv7604 and should be fixed anyway. Hans knows the code much better than me

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Lars-Peter Clausen
On 11/26/2013 11:00 PM, Laurent Pinchart wrote: Hi Lars, On Tuesday 26 November 2013 22:43:32 Lars-Peter Clausen wrote: On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Laurent Pinchart
On Tuesday 26 November 2013 23:03:19 Lars-Peter Clausen wrote: On 11/26/2013 11:00 PM, Laurent Pinchart wrote: On Tuesday 26 November 2013 22:43:32 Lars-Peter Clausen wrote: On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Lars-Peter Clausen
On 11/26/2013 11:03 PM, Laurent Pinchart wrote: On Tuesday 26 November 2013 23:03:19 Lars-Peter Clausen wrote: On 11/26/2013 11:00 PM, Laurent Pinchart wrote: On Tuesday 26 November 2013 22:43:32 Lars-Peter Clausen wrote: On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM,

[PATCH] v4l: sh_vou: Fix warnings due to improper casts and printk formats

2013-11-26 Thread Laurent Pinchart
Use the %zu printk specifier to print size_t variables, and cast pointers to unsigned long instead of unsigned int where applicable. This fixes warnings on platforms where pointers and/or dma_addr_t have a different size than int. Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc:

[PATCH 06/15] v4l: sh_vou: Enable driver compilation with COMPILE_TEST

2013-11-26 Thread Laurent Pinchart
This helps increasing build testing coverage. Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com Acked-by: Simon Horman ho...@verge.net.au ---

[PATCH] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. Related warning (with allmodconfig under hexagon): CC [M] drivers/staging/media/go7007/go7007-usb.o drivers/staging/media/go7007/go7007-usb.c: In function 'go7007_usb_probe':

Re: [PATCH] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Joe Perches
On Wed, 2013-11-27 at 11:17 +0800, Chen Gang wrote: dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. [] diff --git a/drivers/staging/media/go7007/go7007-usb.c b/drivers/staging/media/go7007/go7007-usb.c [] @@ -1057,7 +1057,7 @@ static int

cron job: media_tree daily build: WARNINGS

2013-11-26 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 Nov 27 04:00:40 CET 2013 git branch: test git hash: 258d2fbf874c87830664cb7ef41f9741c1abffac gcc

Re: [PATCH] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
On 11/27/2013 11:21 AM, Joe Perches wrote: On Wed, 2013-11-27 at 11:17 +0800, Chen Gang wrote: dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. [] diff --git a/drivers/staging/media/go7007/go7007-usb.c

[PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. Related warning (with allmodconfig under hexagon): CC [M] drivers/staging/media/go7007/go7007-usb.o drivers/staging/media/go7007/go7007-usb.c: In function 'go7007_usb_probe':

Re: [PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Greg KH
On Wed, Nov 27, 2013 at 11:48:08AM +0800, Chen Gang wrote: dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. Related warning (with allmodconfig under hexagon): CC [M] drivers/staging/media/go7007/go7007-usb.o

Re: [PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
On 11/27/2013 12:03 PM, Greg KH wrote: On Wed, Nov 27, 2013 at 11:48:08AM +0800, Chen Gang wrote: dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. Related warning (with allmodconfig under hexagon): CC [M]

[PATCH] mceusb: Add RC support for Hauppauge WinTV-HVR-930C HD

2013-11-26 Thread Matthias Schwarzott
Add usb id of Hauppauge WinTV-HVR-930C HD. This device has no i2c transmitter (according to eeprom content decoded by tveeprom). Set the rc mapping to Hauppauge, every key of the deliviered remote control works correctly. Signed-off-by: Matthias Schwarzott z...@gentoo.org ---

Re: [RFC PATCH 1/8] vb2: push the mmap semaphore down to __buf_prepare()

2013-11-26 Thread Hans Verkuil
On 11/26/2013 04:42 PM, Laurent Pinchart wrote: Hi Hans, On Friday 22 November 2013 10:02:49 Hans Verkuil wrote: On 11/21/2013 08:04 PM, Laurent Pinchart wrote: On Thursday 21 November 2013 16:21:59 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Rather than taking the mmap

Re: [RFC PATCH 4/8] vb2: retry start_streaming in case of insufficient buffers.

2013-11-26 Thread Hans Verkuil
On 11/26/2013 04:46 PM, Laurent Pinchart wrote: Hi Hans, On Friday 22 November 2013 09:43:23 Hans Verkuil wrote: On 11/21/2013 08:09 PM, Laurent Pinchart wrote: On Thursday 21 November 2013 16:22:02 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com If start_streaming returns