[PATCH] media: davinci_vpfe: dm365_resizer: fix sparse warning

2014-04-29 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch fixes following sparse warning, dm365_resizer.c:223:1: warning: symbol 'resizer_calculate_resize_ratios' was not declared. Should it be static? dm365_resizer.c:313:5: warning: symbol 'resizer_configure_output_win' was not declared.

Re: Fw: + media-videobuf2-dma-sg-call-find_vma-with-the-mmap_sem-held.patch added to -mm tree

2014-04-29 Thread Hans Verkuil
On 04/28/2014 11:51 PM, Mauro Carvalho Chehab wrote: Hi Hans, Could you please take a look at this patch? I was planning to do that, but I won't have time for it until Monday. I remember you had to revert a VB2 patch from Al Viro, as it caused some regressions. Not sure if this one is

Re: [PATCH 7/6] media: videobuf2-dma-sg: call find_vma with the mmap_sem held

2014-04-29 Thread Marek Szyprowski
Hello, On 2014-04-28 20:09, Davidlohr Bueso wrote: Performing vma lookups without taking the mm-mmap_sem is asking for trouble. While doing the search, the vma in question can be modified or even removed before returning to the caller. Take the lock in order to avoid races while iterating

Re: [PATCH] videobuf2-dma-sg: Fix NULL pointer dereference BUG

2014-04-29 Thread Marek Szyprowski
Hello, On 2014-04-25 18:11, Ricardo Ribalda Delgado wrote: vb2_get_vma() copy the content of the vma to a new structure but set some of its pointers to NULL. One of this pointer is used by follow_pte() called by follow_pfn() on io memory. This can lead to a NULL pointer derreference. The

Re: [PATCH] Kernel 3.15-rc2 : Peak DVB-T USB tuner device ids for rtl28xxu driver

2014-04-29 Thread Mauro Carvalho Chehab
Em Mon, 28 Apr 2014 22:40:00 +0100 Brian Healy healybr...@gmail.com escreveu: From: Brian Healy healybr...@gmail.com To: Antti Palosaari cr...@iki.fi, Mauro Carvalho Chehab m.che...@samsung.com Cc: Linus Torvalds torva...@linux-foundation.org, Linux Kernel Mailing List

Re: [RFC PATCH 2/2 with seqcount v3] reservation: add suppport for read-only access using rcu

2014-04-29 Thread Maarten Lankhorst
op 23-04-14 13:15, Maarten Lankhorst schreef: This adds 4 more functions to deal with rcu. reservation_object_get_fences_rcu() will obtain the list of shared and exclusive fences without obtaining the ww_mutex. reservation_object_wait_timeout_rcu() will wait on all fences of the

Re: [PATCH] media: coda: Use full device name for request_irq()

2014-04-29 Thread Philipp Zabel
Am Samstag, den 26.04.2014, 13:14 +0400 schrieb Alexander Shiyan: This will help to debug driver, allows us to see the full name of the device through /proc/interrupts. CPU0 ... 69: 0 mxc-avic 53 10023000.coda ... Signed-off-by: Alexander Shiyan shc_w...@mail.ru

Re: [PATCH 2/2] [media] coda: Propagate the correct error on devm_request_threaded_irq()

2014-04-29 Thread Philipp Zabel
Am Montag, den 28.04.2014, 13:57 -0300 schrieb Fabio Estevam: If devm_request_threaded_irq() fails, we should better propagate the real error. Also, print out the error code in the dev_err message. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Both look fine to me. Acked-by:

Re: [PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-29 Thread Sachin Kamat
Hi Arun, On 23 April 2014 18:27, Arun Kumar K arun...@samsung.com wrote: From: Kiran AVND avnd.ki...@samsung.com This patch adds variant data and core support for V8 decoder. This patch also adds the register definition file for new firmware version v8 for MFC. Signed-off-by: Kiran AVND

Re: Question about implementation of __qbuf_dmabuf() in videobuf2-core.c

2014-04-29 Thread n179911
Hi, Is there a work around for this bug without upgrading to 3.16 kernel? Is it safe to manually set the length to be data_offset + size + 1 to make sure planes[plane].length is greater than planes[plane].data_offset + q-plane_sizes[plane]? Thank you. On Wed, Apr 23, 2014

Re: [RFC PATCH 2/2 with seqcount v3] reservation: add suppport for read-only access using rcu

2014-04-29 Thread Thomas Hellstrom
On 04/29/2014 04:32 PM, Maarten Lankhorst wrote: op 23-04-14 13:15, Maarten Lankhorst schreef: This adds 4 more functions to deal with rcu. reservation_object_get_fences_rcu() will obtain the list of shared and exclusive fences without obtaining the ww_mutex.

[PATCH 2/4] media: dvb-fe changes to use tuner token

2014-04-29 Thread Shuah Khan
Add a new field tuner_tkn to struct dvb_frontend. Drivers can create tuner token using devm_token_create() and initialize the tuner_tkn when frontend is registered with the dvb-core. This change enables drivers to provide a token devres for tuner access control. Change dvb_frontend to lock tuner

[PATCH 4/4] media: em28xx dvb changes to initialze tuner token

2014-04-29 Thread Shuah Khan
Changes to em28xx-dvb to initialze dvb fe tuner token when dvb fe is registered. This will provide dvb fe the em28xx tuner token devres for sharing tuner across analog and digital functions. Signed-off-by: Shuah Khan shuah...@samsung.com --- drivers/media/usb/em28xx/em28xx-dvb.c |4 1

[PATCH 3/4] media/em28xx: changes to create token for tuner access

2014-04-29 Thread Shuah Khan
Changes add a new tuner_tkn field to struct em28xx and create a token devres to allow sharing tuner function across analog and digital functions. Tuner token is created during probe in em28xx_usb_probe() and destroyed during disconnect in em28xx_release_resources(). Signed-off-by: Shuah Khan

[PATCH 0/4] Add managed token devres interfaces and change media drivers to use it

2014-04-29 Thread Shuah Khan
Media drivers that control a single media TV stick are a diversified group. Analog and digital TV function drivers have to coordinate access to their shared functions. In some cases, snd-usb-audio is used to support audio function on media devices. A shared managed resource framework at

[PATCH 1/4] drivers/base: add managed token devres interfaces

2014-04-29 Thread Shuah Khan
Media devices often have hardware resources that are shared across several functions. These devices appear as a group of independent devices. Each device implements a function which could be shared by one or more functions supported by the same device. For example, tuner is shared by analog and

au0828 (950Q) kernel OOPS 3.10.30 imx6

2014-04-29 Thread Carl Michal
Hello, I'm trying to use a Hauppage HVR-950Q ATSC tv stick with a Cubox-i running geexbox. It works great, until it doesn't. After its been up and running for a few hours (sometimes minutes), I start to get kernel OOPs, example pasted in below. The 950Q generally doesn't work afterwards.

Re: au0828 (950Q) kernel OOPS 3.10.30 imx6

2014-04-29 Thread Fabio Estevam
On Tue, Apr 29, 2014 at 4:50 PM, Carl Michal mic...@physics.ubc.ca wrote: Hello, I'm trying to use a Hauppage HVR-950Q ATSC tv stick with a Cubox-i running geexbox. It works great, until it doesn't. After its been up and running for a few hours (sometimes minutes), I start to get kernel

Re: au0828 (950Q) kernel OOPS 3.10.30 imx6

2014-04-29 Thread Carl Michal
On Tue, 29 Apr 2014, Fabio Estevam wrote: On Tue, Apr 29, 2014 at 4:50 PM, Carl Michal mic...@physics.ubc.ca wrote: Hello, I'm trying to use a Hauppage HVR-950Q ATSC tv stick with a Cubox-i running geexbox. It works great, until it doesn't. After its been up and running for a few hours

Fwd: Bug#746404: dtv-scan-tables: /usr/share/dvb/dvb-t/fr-all file : invalid enum and no DVB-T services found

2014-04-29 Thread Jonathan McCrohan
Hi Oliver, Please find Debian bug report from fredboboss regarding dtv-scan-tables below. Thanks, Jon On Tue, 29 Apr 2014 19:50:57 +0200, fredboboss wrote: Package: dtv-scan-tables Version: 0+git20140326.cfc2975-1 Severity: normal Dear Maintainer, Dear Debian Maintainer, when

Re: [PATCH] Kernel 3.15-rc2 : Peak DVB-T USB tuner device ids for rtl28xxu driver

2014-04-29 Thread Brian Healy
Thanks Mauro, I'll know for next time. It's my first patch submission so wasn't aware of the formatting rules. Brian On 29 April 2014 15:16, Mauro Carvalho Chehab m.che...@samsung.com wrote: Em Mon, 28 Apr 2014 22:40:00 +0100 Brian Healy healybr...@gmail.com escreveu: From: Brian Healy

Re: [PATCH v3] sunxi: Add support for consumer infrared devices

2014-04-29 Thread Maxime Ripard
Hi, Thanks for contributing this patch. It seems like you're missing a few mailing lists / maintainers though. You should use the get_maintainer.pl script, and Cc every maintainer and mailing lists in there. On Tue, Apr 29, 2014 at 02:51:31PM -0700, Александр Берсенев wrote: This patch

DEAR FRIEND!

2014-04-29 Thread Mark Thompson
From: Mr. Mark Thompson Bank of Africa Burkina Faso. Dear Friend, I am the manager account/audit department (Annexe) Bank of African (BOA) in Burkina faso. I would like you to indicate your interest to receive this transfer of US$10.5 Million; as the beneficiary (next of kin) to our late

Re: [PATCH v3] sunxi: Add support for consumer infrared devices

2014-04-29 Thread Mauro Carvalho Chehab
Em Tue, 29 Apr 2014 18:14:54 -0700 Maxime Ripard maxime.rip...@free-electrons.com escreveu: Hi, Thanks for contributing this patch. It seems like you're missing a few mailing lists / maintainers though. You should use the get_maintainer.pl script, and Cc every maintainer and mailing

[PATCH] [media] v4l2-device: fix potential NULL pointer dereference for subdev unregister path

2014-04-29 Thread Liu Ying
The pointer 'sd-v4l2_dev' is likely to be NULL and dereferenced in the subdev unregister path. The issue should happen if CONFIG_MEDIA_CONTROLLER is defined. This patch fixes the issue by setting the pointer to be NULL after it will not be derefereneced any more in the path. Cc: Mauro Carvalho

Re: [PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-29 Thread Arun Kumar K
Hi Sachin, Thank you for the review. On 04/29/14 22:45, Sachin Kamat wrote: Hi Arun, On 23 April 2014 18:27, Arun Kumar K arun...@samsung.com wrote: From: Kiran AVND avnd.ki...@samsung.com This patch adds variant data and core support for V8 decoder. This patch also adds the register

Re: [PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-29 Thread Sachin Kamat
Hi Arun, On 30 April 2014 11:15, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Sachin, Thank you for the review. On 04/29/14 22:45, Sachin Kamat wrote: Hi Arun, On 23 April 2014 18:27, Arun Kumar K arun...@samsung.com wrote: From: Kiran AVND avnd.ki...@samsung.com This patch adds

Re: [PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-29 Thread Arun Kumar K
Hi Sachin, On Wed, Apr 30, 2014 at 11:19 AM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Arun, On 30 April 2014 11:15, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Sachin, Thank you for the review. On 04/29/14 22:45, Sachin Kamat wrote: Hi Arun, On 23 April 2014 18:27, Arun