[PATCH] videobuf2: Add missing lock held on vb2_fop_relase

2013-10-14 Thread Ricardo Ribalda Delgado
vb2_fop_relase does not held the lock although it is modifying the queue-owner field. This could lead to race conditions on the vb2_perform_io function when multiple applications are accessing the video device via read/write API: [ 308.297741] BUG: unable to handle kernel NULL pointer

Re: Possible race condition on videobuf2?

2013-10-14 Thread Ricardo Ribalda Delgado
Hello Hans Thanks for your feedback. I have send a patch to the list with your suggestion. If I dont apply my patch, but your your branch I still get the error: Thanks! [ 57.567944] BUG: unable to handle kernel NULL pointer dereference at 0260 [ 57.567980] IP:

Re: [PATCH] videobuf2: Add missing lock held on vb2_fop_relase

2013-10-14 Thread Hans Verkuil
On 10/14/13 09:41, Ricardo Ribalda Delgado wrote: vb2_fop_relase does not held the lock although it is modifying the queue-owner field. This could lead to race conditions on the vb2_perform_io function when multiple applications are accessing the video device via read/write API: [

Re: Possible race condition on videobuf2?

2013-10-14 Thread Hans Verkuil
On 10/14/13 09:42, Ricardo Ribalda Delgado wrote: Hello Hans Thanks for your feedback. I have send a patch to the list with your suggestion. If I dont apply my patch, but your your branch I still get the error: Thanks for testing this. I suspected that might be the case. What exactly is

Re: Possible race condition on videobuf2?

2013-10-14 Thread Ricardo Ribalda Delgado
Hello Hans There is a java web server that broadcast the images. :S I can see that the server does open/read/close everytime it is asked for an image. The error was triggered once in a while. Now I can try to trigger the error faster by openning multiple client windows. I dont know how the

Re: Possible race condition on videobuf2?

2013-10-14 Thread Hans Verkuil
On 10/14/13 09:53, Ricardo Ribalda Delgado wrote: Hello Hans There is a java web server that broadcast the images. :S I can see that the server does open/read/close everytime it is asked for an image. The error was triggered once in a while. Now I can try to trigger the error faster by

Re: [PATCH] [media] sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED

2013-10-14 Thread Guennadi Liakhovetski
Hi Michael, Thanks for the patch. Since patches in the series are independent from each other, I can take this one via my tree, which would be preferred. Otherwise I can ack it and we can push it via another tree. Thanks Guennadi On Sun, 13 Oct 2013, Michael Opdenacker wrote: This patch

Re: [PATCH] [media] winbond-cir: remove deprecated IRQF_DISABLED

2013-10-14 Thread David Härdeman
On 2013-10-13 08:11, Michael Opdenacker wrote: This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com Acked-by: David Härdeman da...@hardeman.nu ---

Re: [PATCH] videobuf2: Add missing lock held on vb2_fop_relase

2013-10-14 Thread Marek Szyprowski
Hello, On 2013-10-14 09:41, Ricardo Ribalda Delgado wrote: vb2_fop_relase does not held the lock although it is modifying the queue-owner field. This could lead to race conditions on the vb2_perform_io function when multiple applications are accessing the video device via read/write API: [

Re: [PATCH] [media] sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED

2013-10-14 Thread Michael Opdenacker
Hi Guennadi, On 10/14/2013 12:03 PM, Guennadi Liakhovetski wrote: Hi Michael, Thanks for the patch. Since patches in the series are independent from each other, I can take this one via my tree, which would be preferred. Otherwise I can ack it and we can push it via another tree. It's fine

Re: [GIT PULL FOR v3.13] Various fixes

2013-10-14 Thread Mauro Carvalho Chehab
Em Fri, 04 Oct 2013 12:37:43 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, Just a bunch of various fixes. Most notably the solo fixes for big-endian systems: these fixes were removed when I did the large sync to the Bluecherry code base for the solo driver. Many thanks to

Re: [GIT PULL FOR v3.13] Various fixes

2013-10-14 Thread Mauro Carvalho Chehab
Em Fri, 04 Oct 2013 12:37:43 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, Just a bunch of various fixes. Most notably the solo fixes for big-endian systems: these fixes were removed when I did the large sync to the Bluecherry code base for the solo driver. Many thanks to

Re: [PATCH] [media] cx23885: Add Leadtek Winfast PxPVR2200 see avermadia 306 patch

2013-10-14 Thread Mauro Carvalho Chehab
Hi Remi, Em Sun, 15 Sep 2013 08:22:14 +0200 (CEST) remi r...@remis.cc escreveu: Hello I dont know if my emails are beeing flagged as spam, but device number Fourty has been reserved by me You should not be concerned about numbering conflicts there. I'll fix any such conflict when merging

Re: [PATCH] [media] az6027: Added remote control support

2013-10-14 Thread Mauro Carvalho Chehab
Hi David, Em Sun, 15 Sep 2013 22:16:55 +0200 David Jedelsky david.jedel...@gmail.com escreveu: Added remote control support and possibility to add more RC key tables. Added module parameter for key table selection or disabling the RC. Single RC key table is provided (for below mentioned

Re: WPC8769L (WEC1020) support in winbond-cir?

2013-10-14 Thread Mauro Carvalho Chehab
Hi Tom, Em Mon, 14 Oct 2013 15:16:20 +0200 Tom Gundersen t...@jklm.no escreveu: Hi David and Juan, I'm going through the various out-of-tree LIRC drivers to see if we can stop shipping them in Arch Linux [0]. So far it appears we can drop all except for lirc_wpc8769l [1] (PnP id WEC1020).

[GIT PULL] em28xx_drxk_tda18271

2013-10-14 Thread Antti Palosaari
The following changes since commit 4a10c2ac2f368583138b774ca41fac4207911983: Linux 3.12-rc2 (2013-09-23 15:41:09 -0700) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git em28xx_drxk_tda18271 for you to fetch changes up to

Re: WPC8769L (WEC1020) support in winbond-cir?

2013-10-14 Thread Tom Gundersen
On Mon, Oct 14, 2013 at 4:07 PM, Mauro Carvalho Chehab m.che...@samsung.com wrote: Hi Tom, Em Mon, 14 Oct 2013 15:16:20 +0200 Tom Gundersen t...@jklm.no escreveu: Hi David and Juan, I'm going through the various out-of-tree LIRC drivers to see if we can stop shipping them in Arch Linux

Re: WPC8769L (WEC1020) support in winbond-cir?

2013-10-14 Thread Sean Young
On Mon, Oct 14, 2013 at 11:07:48AM -0300, Mauro Carvalho Chehab wrote: Em Mon, 14 Oct 2013 15:16:20 +0200 Tom Gundersen t...@jklm.no escreveu: Not sure about lirc_wpc8769l. David/Sean/Juan can have a better view. I've just had a cursory look at lirc_wpc8769l. The device does look similar to

[RFC] general I2C RF-tuner model

2013-10-14 Thread Antti Palosaari
Currently there is multiple tuner models used withing V4L and DVB, most notably DVB tuners, analog tuners and hybrid tuners that implements both internal APIs. Now I need some more low level tuner properties for SDR usage. One possibility is to add new needed callbacks to analog and dvb

cuenta Advertencia.

2013-10-14 Thread HELP DESK
Su contraseña caducará en 3 días formulario llenar y enviar de inmediato para validar su dirección de e-mail. Nombre de Usuario: . Contraseña anterior: . Nueva Contraseña: gracias administrador del sistema -- To unsubscribe from this list: send the

[GIT PULL PATCHES for 3.13] gscpa_ov534_9: Add support for ov3610 sensor

2013-10-14 Thread Hans de Goede
Hi Mauro, Please pull from my tree for an update to the gscpa_ov534_9 driver which adds support for a new model camera / sensor. The following changes since commit 4699b5f34a09e6fcc006567876b0c3d35a188c62: [media] cx24117: prevent mutex to be stuck on locked state if FE init fails

Re: [PATCH] cx24117: Fix/enhance set_voltage function.

2013-10-14 Thread Michael Krufky
On Sat, Oct 12, 2013 at 4:54 AM, Luis Alves lja...@gmail.com wrote: Hi, On this patch: Added a few defines to describe what every constant in the set_voltage function. Added the description to the CX24117 GPIO control commands. Moved the GPIODIR setup to the initfe function. Luis, It is

UVC Gadget Test Application

2013-10-14 Thread Gary Mort
Is the UVC Gadget Test Application referred to in this patch request http://www.spinics.net/lists/linux-usb/msg84376.html published in a repository or is the best route to retrieve it to clone the original tool and apply these patches? Pardon me if this is the wrong list, my understanding is

Re: [GIT PULL FOR v3.13] Various fixes

2013-10-14 Thread Sylwester Nawrocki
On 10/14/2013 02:28 PM, Mauro Carvalho Chehab wrote: Sylwester Nawrocki (1): v4l2-ctrls: Correct v4l2_ctrl_get_int_menu() function prototype This patch is wrong or incomplete, as it calls hundreds of warnings (see below). I'll just drop it: $ make ARCH=i386

Re: [GIT PULL FOR v3.13] Various fixes

2013-10-14 Thread Sylwester Nawrocki
On 10/14/2013 02:28 PM, Mauro Carvalho Chehab wrote: Sylwester Nawrocki (1): v4l2-ctrls: Correct v4l2_ctrl_get_int_menu() function prototype This patch is wrong or incomplete, as it calls hundreds of warnings (see below). I'll just drop it: $ make ARCH=i386

[PATCH v2] v4l2-ctrls: Correct v4l2_ctrl_get_int_menu() function's return type

2013-10-14 Thread Sylwester Nawrocki
Remove the redundant 'const' qualifiers from the function signature and from the qmenu_int arrays' declarations. Reported-by: Fengguang Wu fengguang...@intel.com Cc: Arun Kumar arun...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/v4l2-core/v4l2-ctrls.c |

cron job: media_tree daily build: WARNINGS

2013-10-14 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 Oct 15 04:00:28 CEST 2013 git branch: test git hash: 4699b5f34a09e6fcc006567876b0c3d35a188c62 gcc

[PATCH] drivers: media: usb: Fix typo on variable name

2013-10-14 Thread Felipe Pena
The variable txlen was used instead of rxlen in a bound checking. (copy-paste error) Signed-off-by: Felipe Pena felipe...@gmail.com --- drivers/media/usb/dvb-usb/technisat-usb2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/technisat-usb2.c

Submitting kernel module device driver

2013-10-14 Thread Буди Романто
Hello I've developed a DVB device driver for Earthsoft PT3 (PCIE) card want to ask where/how to submit it. Thanks for your help -Bud -- 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