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

2013-05-20 Thread Seung-Woo Kim
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: Seung-Woo Kim Acked-by: Marek Szyprowski --- drivers/

[RESEND][PATCH 1/2] media: vb2: return for polling if a buffer is available

2013-05-20 Thread Seung-Woo Kim
The vb2_poll() does not need to wait next vb_buffer_done() if there is already a buffer in done_list of queue, but current vb2_poll() always waits. So done_list is checked before calling poll_wait(). Signed-off-by: Seung-Woo Kim Acked-by: Marek Szyprowski --- drivers/media/v4l2-core/videobuf2-

[RESEND][PATCH 0/2] media: fix polling not to wait if a buffer is available

2013-05-20 Thread Seung-Woo Kim
As poll behavior described in following link, polling needs to just return if already some buffer is in done list. Link: http://www.spinics.net/lists/linux-media/msg34759.html But in current vb2 and v4l2_m2m, poll function always calls poll_wait(), so it needs to wait until next vb2_buffer_done()

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

2013-05-20 Thread Konke Radlow
Hi Hans, Thank you for your comments, they're very appreciated as always :) I will integrate the proposals and submit an updated version towards the end of this week. To my best knowledge I would say that the functionality of RDS/TMC as defined by the standards is completely implemented now. And

Re: Kernel freezing with RTL2832U+R820T

2013-05-20 Thread poma
On 20.05.2013 13:52, Karsten Malcher wrote: > Does this mean that it should work with Kernel 3.8.5 ? Honestly I don't know. Regarding 3.8.y kernel series[1]. poma [1] http://www.spinics.net/lists/kernel/msg1531126.html -- To unsubscribe from this list: send the line "unsubscribe linux-media"

Re: Introduce a new helper framework for buffer synchronization

2013-05-20 Thread Daniel Vetter
On Mon, May 20, 2013 at 11:13:04PM +0200, Daniel Vetter wrote: > On Sat, May 18, 2013 at 03:47:43PM +0900, Inki Dae wrote: > > 2013/5/15 Rob Clark > > > > > On Wed, May 15, 2013 at 1:19 AM, Inki Dae wrote: > > > > > > > > > > > >> -Original Message- > > > >> From: Rob Clark [mailto:robdc

Re: Can you take a look at these dvb-apps warnings/errors?

2013-05-20 Thread Mauro Carvalho Chehab
Hi Hans, Em Fri, 17 May 2013 10:30:57 +0200 Hans Verkuil escreveu: > Hi Mauro, > > Can you take a look at these? The daily build is failing because of this. > > Thanks! > > Hans > > test_video.c:322:2: warning: format ‘%d’ expects argument of type ‘int’, but > argument 2 has type ‘ssi

Re: Introduce a new helper framework for buffer synchronization

2013-05-20 Thread Daniel Vetter
On Sat, May 18, 2013 at 03:47:43PM +0900, Inki Dae wrote: > 2013/5/15 Rob Clark > > > On Wed, May 15, 2013 at 1:19 AM, Inki Dae wrote: > > > > > > > > >> -Original Message- > > >> From: Rob Clark [mailto:robdcl...@gmail.com] > > >> Sent: Tuesday, May 14, 2013 10:39 PM > > >> To: Inki Dae

Re: saa7115/gm7113c - device specific initialization

2013-05-20 Thread Mauro Carvalho Chehab
Em Mon, 20 May 2013 18:20:44 +0200 Jon Arne Jørgensen escreveu: > On Mon, May 20, 2013 at 06:33:20AM -0400, Andy Walls wrote: > > "Jon Arne Jørgensen" wrote: > > > > >Hi, > > >I've recently discovered that the smi2021 device have some pretty > > >specific > > >needs for the setup of the gm7113c

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-20 Thread Sergei Shtylyov
Hello. On 05/13/2013 11:21 PM, Sergei Shtylyov wrote: From: Vladimir Barinov Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Hans, what's your opinion of this version?

Re: InstantFM

2013-05-20 Thread Ted To
On 05/20/2013 11:42 AM, Ted To wrote: > Hi, > > On 05/20/2013 02:55 AM, Hans de Goede wrote: >> Hi, >> >> On 05/19/2013 10:18 PM, Ted To wrote: >>> Hi, >>> >>> I purchased this device and while the device driver loads and I can set >>> up gnomeradio to access it, it picks up no radio stations, des

cron job: media_tree daily build: ERRORS

2013-05-20 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: Mon May 20 19:00:20 CEST 2013 git branch: test git hash: 4237c09a63906b980741725da63f85e454caec02 gcc versi

Re: saa7115/gm7113c - device specific initialization

2013-05-20 Thread Andy Walls
"Jon Arne Jørgensen" wrote: >On Mon, May 20, 2013 at 06:33:20AM -0400, Andy Walls wrote: >> "Jon Arne Jørgensen" wrote: >> >> >Hi, >> >I've recently discovered that the smi2021 device have some pretty >> >specific >> >needs for the setup of the gm7113c chip. >> > >> >Both the smi2021 driver and

[PATCH -next] media: fix hdpvr kconfig/build errors

2013-05-20 Thread Randy Dunlap
odata+0x1b690): undefined reference to `v4l2_ctrl_log_status' drivers/built-in.o:(.rodata+0x1b6f8): undefined reference to `v4l2_ctrl_subscribe_event' drivers/built-in.o:(.rodata+0x1b700): undefined reference to `v4l2_event_unsubscribe' Signed-off-by: Randy Dunlap ---

Re: saa7115/gm7113c - device specific initialization

2013-05-20 Thread Jon Arne Jørgensen
On Mon, May 20, 2013 at 06:33:20AM -0400, Andy Walls wrote: > "Jon Arne Jørgensen" wrote: > > >Hi, > >I've recently discovered that the smi2021 device have some pretty > >specific > >needs for the setup of the gm7113c chip. > > > >Both the smi2021 driver and the stk1160 driver needs registers > >

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Chris Rankin
- Original Message - > No, just because it didn't change it isn't automatically correct. ;) It's Fedora 18's "haupp" keytable - so it must be correct :-). -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More

Re: InstantFM

2013-05-20 Thread Ted To
Hi, On 05/20/2013 02:55 AM, Hans de Goede wrote: > Hi, > > On 05/19/2013 10:18 PM, Ted To wrote: >> Hi, >> >> I purchased this device and while the device driver loads and I can set >> up gnomeradio to access it, it picks up no radio stations, despite being >> the model with an external antenna.

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Frank Schäfer
Am 20.05.2013 16:51, schrieb Chris Rankin: > - Original Message - > >> If I had to guess, I would say you should check your rc_maps.cfg / keytable. >> ;) > This is unchanged between 3.8.x and 3.9.x, and so is correct by definition. No, just because it didn't change it isn't automatically

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Chris Rankin
- Original Message - > If I had to guess, I would say you should check your rc_maps.cfg / keytable. > ;) This is unchanged between 3.8.x and 3.9.x, and so is correct by definition. Kernel Upgrades Do Not Break Userspace. Cheers, Chris -- To unsubscribe from this list: send the line "u

Re: [PATCH RFC v3 2/3] media: added managed v4l2 control initialization

2013-05-20 Thread Andrzej Hajda
Hi Sakari, Thanks for the review. On 17.05.2013 00:34, Sakari Ailus wrote: > Hi Andrzej, > > Thanks for the patchset! > > On Thu, May 16, 2013 at 10:14:33AM +0200, Andrzej Hajda wrote: >> This patch adds managed version of initialization >> function for v4l2 control handler. >> >> Signed-off-by:

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Frank Schäfer
Am 20.05.2013 15:01, schrieb Chris Rankin: > - Original Message - > >>> And this is me calling ir-keytable: >>> >>> [ 2183.812407] em28xx #0: Changing protocol: rc_type=1 >> So with 3.8 the same happens as with 3.9. > Yes, that does appear to be part of the RC core ABI. > >> Well, if ir-key

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

2013-05-20 Thread Sergei Shtylyov
Hello. On 20-05-2013 11:31, phil.edwor...@renesas.com wrote: Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver From: Vladimir Barinov Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy . I've seen old patches that add VIN to the Marzen bo

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Chris Rankin
- Original Message - >> And this is me calling ir-keytable: >> >> [ 2183.812407] em28xx #0: Changing protocol: rc_type=1 > So with 3.8 the same happens as with 3.9. Yes, that does appear to be part of the RC core ABI. > Well, if ir-keycode / the RC core requests RC_BIT_UNKNOWN, they get

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Chris Rankin
- Original Message - > This patch seems to "do the right thing"... I doubt it will apply cleanly > because of TAB/space issues, but you should get the idea :-). > > --- linux-3.9/drivers/media/usb/em28xx/em28xx-input.c.orig    2013-05-19 > 21:18:39.0 +0100 > +++ linux-3.9/drivers

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Frank Schäfer
Am 20.05.2013 14:38, schrieb Frank Schäfer: > ... > But there was a third change: > 3.) the scancode passed to the RC core with rc_keypress() in case of > RC_BIT_UNKNOWN changed from a 16 bit value to 32 bit value (e.g.: old: > 00 00 ab cd => new: ab cd xx xx). See commit 105e3687ada4ebe6dfbda7ab

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Frank Schäfer
Am 20.05.2013 02:45, schrieb Chris Rankin: > - Original Message - > >> I'm not familar with ir-keytable and the RC core. >> Mauro ? Can you take over ? ;) > This patch seems to "do the right thing"... I doubt it will apply cleanly > because of TAB/space issues, but you should get the idea

Re: 3.9.2 kernel - IR / em28xx_rc broken?

2013-05-20 Thread Frank Schäfer
Am 20.05.2013 01:04, schrieb Chris Rankin: > - Original Message - > >> What happens with kernel 3.8 ? Does ir-keytable trigger an >> em28xx_ir_change_protocol() call there, too, but with type=8 ? Or is this >> call missing ? > This is the dmesg output from 3.8, with an extra ex28xx_info()

Re: [PATCH 1/2] [media] soc_camera/sh_mobile_csi2: Remove redundant platform_set_drvdata()

2013-05-20 Thread Sachin Kamat
On 20 May 2013 17:30, Guennadi Liakhovetski wrote: > On Mon, 20 May 2013, Sachin Kamat wrote: > >> On 13 May 2013 14:49, Sachin Kamat wrote: >> > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no >> > driver is bound) removes the need to set driver data field to >> > NULL. >> > >> > S

Re: [PATCH 1/2] [media] soc_camera/sh_mobile_csi2: Remove redundant platform_set_drvdata()

2013-05-20 Thread Guennadi Liakhovetski
On Mon, 20 May 2013, Sachin Kamat wrote: > On 13 May 2013 14:49, Sachin Kamat wrote: > > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > > driver is bound) removes the need to set driver data field to > > NULL. > > > > Signed-off-by: Sachin Kamat Thanks, both queued for 3.11. G

Re: Kernel freezing with RTL2832U+R820T

2013-05-20 Thread Karsten Malcher
Am 20.05.2013 12:55, schrieb poma: On 18.05.2013 09:36, Karsten Malcher wrote: Hi Gianluca, the crash / freezing occurs before disconnect in normal operation. So the patch will not solve this problem. Although media_build/backports allows you to build certain modules for certain older *kernels

Re: [PATCH 1/2] [media] soc_camera/sh_mobile_csi2: Remove redundant platform_set_drvdata()

2013-05-20 Thread Sachin Kamat
On 13 May 2013 14:49, Sachin Kamat wrote: > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > > Signed-off-by: Sachin Kamat > --- > drivers/media/platform/soc_camera/sh_mobile_csi2.c |8 +--- > 1 file c

Re: [PATCH] videodev2.h: fix typos

2013-05-20 Thread Laurent Pinchart
Hi Prabhakar, Thank you for the patch. On Monday 20 May 2013 15:32:40 Lad Prabhakar wrote: > From: Lad, Prabhakar > > This patch fixes several typos in videodev2.h file > > Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart > --- > include/uapi/linux/videodev2.h |8 > 1

Re: Kernel freezing with RTL2832U+R820T

2013-05-20 Thread poma
On 18.05.2013 09:36, Karsten Malcher wrote: > Hi Gianluca, > > the crash / freezing occurs before disconnect in normal operation. > So the patch will not solve this problem. Although media_build/backports allows you to build certain modules for certain older *kernels*, it doesn't mean that these

Re: saa7115/gm7113c - device specific initialization

2013-05-20 Thread Andy Walls
"Jon Arne Jørgensen" wrote: >Hi, >I've recently discovered that the smi2021 device have some pretty >specific >needs for the setup of the gm7113c chip. > >Both the smi2021 driver and the stk1160 driver needs registers >0x14 -> 0x17 to be zeroed, this is what forced me to add the gm7113c >chip to

saa7115/gm7113c - device specific initialization

2013-05-20 Thread Jon Arne Jørgensen
Hi, I've recently discovered that the smi2021 device have some pretty specific needs for the setup of the gm7113c chip. Both the smi2021 driver and the stk1160 driver needs registers 0x14 -> 0x17 to be zeroed, this is what forced me to add the gm7113c chip to the saa7115 driver in the first place.

[PATCH] videodev2.h: fix typos

2013-05-20 Thread Lad Prabhakar
From: Lad, Prabhakar This patch fixes several typos in videodev2.h file Signed-off-by: Lad, Prabhakar --- include/uapi/linux/videodev2.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index f40b41c

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

2013-05-20 Thread phil . edworthy
Hi Sergei, Vladimir, > Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver > > From: Vladimir Barinov > > Add Renesas R-Car VIN (Video In) V4L2 driver. > > Based on the patch by Phil Edworthy . I've seen old patches that add VIN to the Marzen board, do you have an updated version?