Re: [v3 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-25 Thread Hin-Tak Leung
--- On Fri, 24/8/12, Hiroshi Doyu hd...@nvidia.com wrote: From: Hiroshi Doyu hd...@nvidia.com Subject: [v3 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG To: gre...@linuxfoundation.org gre...@linuxfoundation.org Cc: linux-ker...@vger.kernel.org linux-ker...@vger.kernel.org,

Re: [RFC API] Renumber subdev ioctls

2012-08-25 Thread Sakari Ailus
Hi Hans, On Wed, Aug 22, 2012 at 10:52:02AM +0200, Hans Verkuil wrote: On Tue August 21 2012 12:44:15 Sakari Ailus wrote: Hi Hans, On Tue, Aug 21, 2012 at 08:39:53AM +0200, Hans Verkuil wrote: ... Currently I've chosen ioctl numbers that are not used by V4L2 (there are a number of

Re: [PATCH] [media] rc: do not sleep when the driver blocks on IR completion

2012-08-25 Thread David Härdeman
On Sat, Aug 25, 2012 at 12:26:25AM +0100, Sean Young wrote: On Sat, Aug 25, 2012 at 12:05:18AM +0200, David Härdeman wrote: On Thu, Aug 23, 2012 at 10:18:35PM +0100, Sean Young wrote: Some drivers wait for the IR device to complete sending before returning, so sleeping should not be done.

Re: [PATCH] [media] rc: do not sleep when the driver blocks on IR completion

2012-08-25 Thread Sean Young
On Sat, Aug 25, 2012 at 11:25:26AM +0200, David Härdeman wrote: On Sat, Aug 25, 2012 at 12:26:25AM +0100, Sean Young wrote: On Sat, Aug 25, 2012 at 12:05:18AM +0200, David Härdeman wrote: On Thu, Aug 23, 2012 at 10:18:35PM +0100, Sean Young wrote: Some drivers wait for the IR device to

[PATCH] [media] iguanair: do not modify transmit buffer

2012-08-25 Thread Sean Young
Since commit [media] rc-core: move timeout and checks to lirc, the incoming buffer is used after the driver transmits. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/iguanair.c | 51 +++-- 1 file changed, 21 insertions(+), 30 deletions(-)

[no subject]

2012-08-25 Thread llar...@gmx.net
unsubscribe -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 9/9] videobuf2-core: Change vb2_queue_init return type to void

2012-08-25 Thread Jonathan Corbet
On Sat, 25 Aug 2012 00:09:06 -0300 Ezequiel Garcia elezegar...@gmail.com wrote: -int vb2_queue_init(struct vb2_queue *q) +void vb2_queue_init(struct vb2_queue *q) { BUG_ON(!q); BUG_ON(!q-ops); If this change goes through in this form, you can add my ack for the Marvell piece.

Re: [PATCH 9/9] videobuf2-core: Change vb2_queue_init return type to void

2012-08-25 Thread Ezequiel Garcia
(Ccing videobuf2 authors) On Sat, Aug 25, 2012 at 12:28 PM, Jonathan Corbet cor...@lwn.net wrote: On Sat, 25 Aug 2012 00:09:06 -0300 Ezequiel Garcia elezegar...@gmail.com wrote: -int vb2_queue_init(struct vb2_queue *q) +void vb2_queue_init(struct vb2_queue *q) { BUG_ON(!q);

Re: [PATCH 9/9] videobuf2-core: Change vb2_queue_init return type to void

2012-08-25 Thread Jonathan Corbet
On Sat, 25 Aug 2012 13:12:01 -0300 Ezequiel Garcia elezegar...@gmail.com wrote: The mentioned BUG_ON() are these: void vb2_queue_init(struct vb2_queue *q) { BUG_ON(!q); BUG_ON(!q-ops); BUG_ON(!q-mem_ops); BUG_ON(!q-type); BUG_ON(!q-io_modes);

Compiling v4l-dvb.git-modules for stock kernel without media_build

2012-08-25 Thread Patrick Boettcher
Hi list, Not so long ago I used a special version of v4l-dvb.git (v3,2 + a patch) on my system together with a debian stock kernel. It worked. Now I update my system and thus the kernel and what I did last time doesn't seem to work any longer: 1) checkout v3.2 of v4l-dvb.git and apply my path

cron job: media_tree daily build: WARNINGS

2012-08-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:Sat Aug 25 19:00:20 CEST 2012 git hash:79e8c7bebb467bbc3f2514d75bba669a3f354324 gcc version: i686-linux-gcc

[PATCH 2/6] drivers/media/platform/mx2_emmaprp.c: adjust inconsistent IS_ERR and PTR_ERR

2012-08-25 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Change the call to IS_ERR to test the value that was just initialized and is returned using PTR_ERR. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression e,e1; @@ ( if (IS_ERR(e)) { ... PTR_ERR(e)

[PATCH 0/8] rc-core: patches for 3.7

2012-08-25 Thread David Härdeman
This is two minor winbond-cir fixes as well as the first six patches from my previous patchbomb. The latter have been modified so that backwards compatibility is retained as much as possible (the format of the sysfs files do not change for example). --- David Härdeman (8): winbond-cir:

[PATCH 1/8] winbond-cir: correctness fix

2012-08-25 Thread David Härdeman
This is a minor correctness fix for the duration calculation in winbond-cir (the read value should be incremented by one). Signed-off-by: David Härdeman da...@hardeman.nu --- drivers/media/rc/winbond-cir.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/8] winbond-cir: asynchronous tx

2012-08-25 Thread David Härdeman
Change winbond-cir's tx support to be asynchronous and not to mess with the TX buffer. Essentially the winbond-cir counterpart to the patch Sean Young sent for iguanair. Signed-off-by: David Härdeman da...@hardeman.nu --- drivers/media/rc/winbond-cir.c | 47

[PATCH 5/8] rc-core: use the full 32 bits for NEC scancodes

2012-08-25 Thread David Härdeman
Using the full 32 bits for all kinds of NEC scancodes simplifies rc-core and the nec decoder without any loss of functionality. In order to maintain backwards compatibility, some heuristics are added in rc-main.c to convert scancodes to NEC32 as necessary. No conversion is made for the newer

[PATCH 6/8] rc-core: merge rc5 and streamzap decoders

2012-08-25 Thread David Härdeman
Now that the protocol is part of the scancode, it is pretty easy to merge the rc5 and streamzap decoders. An additional advantage is that the decoder is now stricter as it waits for the trailing silence before determining that a command is a valid rc5/streamzap command (which avoids collisions

[PATCH 7/8] rc-core: rename ir_input_class to rc_class

2012-08-25 Thread David Härdeman
The name is already misleading and will be more so in the future as the connection to the input subsystem is obscured away further. Signed-off-by: David Härdeman da...@hardeman.nu --- drivers/media/rc/rc-main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 8/8] rc-core: initialize rc-core earlier if built-in

2012-08-25 Thread David Härdeman
rc-core is a subsystem so it should be registered earlier if built into the kernel. Signed-off-by: David Härdeman da...@hardeman.nu --- drivers/media/rc/rc-main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index