Re: [PATCH 1/2] [media] soc_camera: Constify dev_pm_ops in mt9t031.c

2013-05-07 Thread Sachin Kamat
On 30 April 2013 14:59, Sachin Kamat sachin.ka...@linaro.org wrote: Silences the following warning: WARNING: struct dev_pm_ops should normally be const Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/i2c/soc_camera/mt9t031.c |2 +- 1 file changed, 1 insertion(+),

Re: [PATCH 1/7] soc_camera/mx1_camera: Fix warnings related to spacing

2013-05-07 Thread Guennadi Liakhovetski
On Wed, 3 Apr 2013, Sachin Kamat wrote: Fixes the following checkpatch warnings: WARNING: unnecessary whitespace before a quoted newline WARNING: please, no space before tabs Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Thanks, all 7 queued for 3.11 Guennadi ---

Re: [PATCH 1/2] [media] soc_camera: Constify dev_pm_ops in mt9t031.c

2013-05-07 Thread Guennadi Liakhovetski
On Tue, 30 Apr 2013, Sachin Kamat wrote: Silences the following warning: WARNING: struct dev_pm_ops should normally be const Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Thanks, both queued for 3.11 Guennadi --- drivers/media/i2c/soc_camera/mt9t031.c |2 +- 1 file changed,

Re: [PATCH RFC v3] media: i2c: mt9p031: add OF support

2013-05-07 Thread Prabhakar Lad
Hi Arnd, On Mon, May 6, 2013 at 8:29 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Arnd, On Fri, May 3, 2013 at 8:04 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 03 May 2013, Prabhakar Lad wrote: [snip] +} Ok, good. @@ -955,7 +998,17 @@ static int mt9p031_probe(struct

Re: [PATCH] [media] uvcvideo: Retry usb_submit_urb on -EPERM return

2013-05-07 Thread Laurent Pinchart
Hi Shawn, On Friday 03 May 2013 16:00:24 Shawn Nematbakhsh wrote: Hi Laurent, Thanks for the changes! I agree that your synchronization logic is correct. Just two small comments: On Mon, Apr 29, 2013 at 1:34 PM, Laurent Pinchart wrote: On Tuesday 23 April 2013 17:42:32 Shawn Nematbakhsh

[PATCH v2] uvcvideo: Fix open/close race condition

2013-05-07 Thread Laurent Pinchart
Maintaining the users count using an atomic variable makes sure that access to the counter won't be racy, but doesn't serialize access to the operations protected by the counter. This creates a race condition that could result in the status URB being submitted multiple times. Use a mutex to

[PATCH] [media] davinci: vpfe: fix error return code in vpfe_probe()

2013-05-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c | 6 -- 1 file

Re: omap3-isp : panic using previewer from V4L input

2013-05-07 Thread Laurent Pinchart
Hi Jean-Philippe, (CC'ed linux-omap) On Monday 06 May 2013 10:59:07 jean-philippe francois wrote: Hi, I am trying to use the previewer to debayer pictures coming from the filesystem instead of the capture hardware. The media-ctl links are as follows : preview V4L input - preview pad 0

[RFC PATCH for 3.10] Update Codec section in DocBook

2013-05-07 Thread Hans Verkuil
I had feedback from two companies recently that they thought V4L2 didn't support codec hardware because the Codec section in the spec said it was 'suspended'. That's really bad so I made a quick patch for this that I'd like to get into 3.10 because of the unintended high impact this outdated

Re: [RFC] Motion Detection API

2013-05-07 Thread Laurent Pinchart
Hi Hans, (CC'ing Sakari, I know he's missing reviewing V4L2 patches ;-)) On Monday 06 May 2013 15:41:41 Hans Verkuil wrote: On Mon April 29 2013 22:52:31 Laurent Pinchart wrote: On Friday 12 April 2013 17:36:16 Hans Verkuil wrote: This RFC looks at adding support for motion detection to

[PATCH] staging: strncpy issue, need always let NUL terminated string ended by zero.

2013-05-07 Thread Chen Gang
For NUL terminated string, need always let it ended by zero. The 'name' may be copied to user mode ('dvb_fe-ops.info' is 'struct dvb_frontend_info' which is defined in ./include/uapi/...), and its length is also known within as102_dvb_register_fe(), so need fully initialize it (not use strlcpy

Re: [PATCH] [media] davinci: vpfe: fix error return code in vpfe_probe()

2013-05-07 Thread Prabhakar Lad
Hi Wei, Thanks for the patch. On Tue, May 7, 2013 at 5:21 PM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun

Re: [RFC] Motion Detection API

2013-05-07 Thread Hans Verkuil
On Tue 7 May 2013 14:09:54 Laurent Pinchart wrote: Hi Hans, (CC'ing Sakari, I know he's missing reviewing V4L2 patches ;-)) On Monday 06 May 2013 15:41:41 Hans Verkuil wrote: On Mon April 29 2013 22:52:31 Laurent Pinchart wrote: On Friday 12 April 2013 17:36:16 Hans Verkuil wrote:

Re: omap3-isp : panic using previewer from V4L input

2013-05-07 Thread jean-philippe francois
2013/5/7 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Philippe, (CC'ed linux-omap) On Monday 06 May 2013 10:59:07 jean-philippe francois wrote: Hi, I am trying to use the previewer to debayer pictures coming from the filesystem instead of the capture hardware. The media-ctl

Re: [RFC][PATCH 2/2] media: v4l2-mem2mem: return for polling if a buffer is available

2013-05-07 Thread Marek Szyprowski
Hello, On 4/1/2013 8:40 AM, Seung-Woo Kim wrote: The v4l2_m2m_poll() does not need to wait if there is already a buffer in done_list of source and destination queues, but current v4l2_m2m_poll() always waits. So done_list of each queue is checked before calling poll_wait(). Signed-off-by:

Re: [RFC] Motion Detection API

2013-05-07 Thread Sylwester Nawrocki
On 05/07/2013 02:35 PM, Hans Verkuil wrote: A metadata plane works well if you have substantial amounts of data (e.g. histogram data) but it has the disadvantage of requiring you to use the MPLANE buffer types, something which standard apps do not support. I definitely think that is

Re: [RFC 0/2] V4L2 API for exposing flash subdevs as LED class device

2013-05-07 Thread Laurent Pinchart
On Tuesday 07 May 2013 02:11:27 Kim, Milo wrote: On Monday, May 06, 2013 6:34 PM Andrzej Hajda wrote: This RFC proposes generic API for exposing flash subdevices via LED framework. Rationale Currently there are two frameworks which are used for exposing LED flash to user space:

RE: [RFC PATCH for 3.10] Update Codec section in DocBook

2013-05-07 Thread Kamil Debski
Hi Hans, Thanks for this patch. I remember that there was some discussion about it and the conclusion was that a codec device is in fact a mem-2-mem device. This probably is the reason why codec documentation was not extended. Ack on my side. Hans, do you expect me to pull this or will you deal

[RFC PATCH 0/4] libv4l2rds: support for decoding RDS tuning information

2013-05-07 Thread Konke Radlow
This set of patches adds support to decode information about other networks and radio stations which can submitted as a part of the RDS and RDS-TMC data stream. RDS-EON: Enhanced Other Network information that can be used to update the information stored in the receiver about programme service

[RFC PATCH 1/4] libv4l2rds: added support to decode RDS-EON information

2013-05-07 Thread Konke Radlow
Signed-off-by: Konke Radlow korad...@gmail.com --- lib/include/libv4l2rds.h| 35 +++- lib/libv4l2rds/libv4l2rds.c | 190 --- 2 files changed, 208 insertions(+), 17 deletions(-) diff --git a/lib/include/libv4l2rds.h b/lib/include/libv4l2rds.h

[RFC PATCH 2/4] rds-ctl.cpp: added functionality to print RDS-EON information

2013-05-07 Thread Konke Radlow
Signed-off-by: Konke Radlow korad...@gmail.com --- utils/rds-ctl/rds-ctl.cpp | 29 + 1 file changed, 29 insertions(+) diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index de76d9f..51536cf 100644 --- a/utils/rds-ctl/rds-ctl.cpp +++

[RFC PATCH 3/4] libv4l2rds: added support to decode RDS-TMC tuning information

2013-05-07 Thread Konke Radlow
Signed-off-by: Konke Radlow korad...@gmail.com --- lib/include/libv4l2rds.h| 39 +++ lib/libv4l2rds/libv4l2rds.c | 159 +-- 2 files changed, 194 insertions(+), 4 deletions(-) diff --git a/lib/include/libv4l2rds.h b/lib/include/libv4l2rds.h

[RFC PATCH 4/4] rds-ctl.cpp: added functionality to print RDS-TMC tuning information

2013-05-07 Thread Konke Radlow
Signed-off-by: Konke Radlow korad...@gmail.com --- utils/rds-ctl/rds-ctl.cpp | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index 51536cf..445c11f 100644 --- a/utils/rds-ctl/rds-ctl.cpp +++

Re: [RFC PATCH for 3.10] Update Codec section in DocBook

2013-05-07 Thread Hans Verkuil
On Tue 7 May 2013 17:42:57 Kamil Debski wrote: Hi Hans, Thanks for this patch. I remember that there was some discussion about it and the conclusion was that a codec device is in fact a mem-2-mem device. This probably is the reason why codec documentation was not extended. Ack on my

cron job: media_tree daily build: WARNINGS

2013-05-07 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: Tue May 7 19:00:22 CEST 2013 git branch: test git hash: 02615ed5e1b2283db2495af3cf8f4ee172c77d80 gcc

Re: [RFC] Motion Detection API

2013-05-07 Thread Sakari Ailus
Hi Laurent, Hans and others, On Tue, May 07, 2013 at 02:09:54PM +0200, Laurent Pinchart wrote: (CC'ing Sakari, I know he's missing reviewing V4L2 patches ;-)) Thanks for cc'ing me! :-) I know I've been very quite recently, but it's not going to stay like that permanently. Let's say I've been

[PATCH] stb0899: sign extend raw CRL_FREQ value

2013-05-07 Thread Reinhard Nißl
Contrary to the chip's specs, the register's value is signed, so we need to sign extend the value before using it in calculations like when determining the offset frequency. Signed-off-by: Reinhard Nißl rni...@gmx.de --- drivers/media/dvb-frontends/stb0899_algo.c | 4 1 file changed, 4

[PATCH] [media] wl128x: do not call copy_to_user() while holding spinlocks

2013-05-07 Thread Alexey Khoroshilov
copy_to_user() must not be called with spinlocks held, but it is in fmc_transfer_rds_from_internal_buff(). The patch copies data to tmpbuf, releases spinlock and then passes it to userspace. By the way there is a small unification: replace a couple of hardcoded constants by a macro. Found by

Re: Hauppauge WinTV HVR 930C-HD - new USB ID 2040:b130 ?

2013-05-07 Thread Jan Kiszka
Hi there, On 2012-03-26 16:49, Devin Heitmueller wrote: On Mon, Mar 26, 2012 at 10:46 AM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: 2040:b130 isn't an em28xx based device. It uses cx231xx. That said, it's not supported under Linux not because of the cx231xx driver but because

Support of RTL2832U+R820T

2013-05-07 Thread Karsten Malcher
Hello, i want to ask how i can get the DVB-T RTL2832U with the new R820T Tuner supported? First i found this GitHub that i could compile, but it does not support the new Tuner. https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0 Here i found the tuner supported,

Re: Support of RTL2832U+R820T

2013-05-07 Thread poma
On 08.05.2013 01:12, Karsten Malcher wrote: Hello, i want to ask how i can get the DVB-T RTL2832U with the new R820T Tuner supported? First i found this GitHub that i could compile, but it does not support the new Tuner.

Re: Hauppauge WinTV HVR 930C-HD - new USB ID 2040:b130 ?

2013-05-07 Thread Devin Heitmueller
On Tue, May 7, 2013 at 6:39 PM, Jan Kiszka jan.kis...@web.de wrote: To pick up this old topic (as I just got the wrong 930C delivered :( ): What is blocking the development of a si2165 driver? Lacking specs (due to NDAs)? Or lacking interest / developer bandwidth? Probably a bit of both.

Re: [PATCH RFC v3] media: i2c: mt9p031: add OF support

2013-05-07 Thread Prabhakar Lad
HI Laurent, On Wed, May 8, 2013 at 7:31 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Prabhakar, Thank you for the patch. On Friday 03 May 2013 12:21:59 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the mt9p031 sensor driver.

Re: [PATCH RFC v3] media: i2c: mt9p031: add OF support

2013-05-07 Thread Prabhakar Lad
Hi Laurent, On Wed, May 8, 2013 at 7:32 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Prabhakar, On Tuesday 07 May 2013 15:10:36 Prabhakar Lad wrote: On Mon, May 6, 2013 at 8:29 PM, Prabhakar Lad wrote: On Fri, May 3, 2013 at 8:04 PM, Arnd Bergmann a...@arndb.de wrote: