Re: [PATCH/RFC v3 5/5] media: Add registration helpers for V4L2 flash sub-devices

2014-05-05 Thread Jacek Anaszewski
Hi Sakari, On 05/02/2014 01:06 PM, Sakari Ailus wrote: [...] +static inline enum led_brightness v4l2_flash_intensity_to_led_brightness( + struct led_ctrl *config, + u32 intensity) Fits on a single line. +{ +

cron job: media_tree daily build: OK

2014-05-05 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 6 04:00:27 CEST 2014 git branch: test git hash: 393cbd8dc532c1ebed60719da8d379f50d445f28 gcc versi

Re: [PATCH] cxd2820r: TS clock inversion in config

2014-05-05 Thread Antti Palosaari
That patch does more than it says and due to that I don't want it. Just implement cxd2820r clock inversion and nothing more. Put the rest stuff, which does not belong to cxd2820r, to another patch. Antti On 05.05.2014 23:46, CrazyCat wrote: TS clock inversion in config. Signed-off-by: Evge

[PATCH] dw2102: Geniatech T220 init fixed

2014-05-05 Thread CrazyCat
Geniatech T220 init fixed. Signed-off-by: Evgeny Plehov diff --git a/drivers/media/usb/dvb-usb/dw2102.c b/drivers/media/usb/dvb-usb/dw2102.c index ae0f56a..7135a3e 100644 --- a/drivers/media/usb/dvb-usb/dw2102.c +++ b/drivers/media/usb/dvb-usb/dw2102.c @@ -1109,6 +1109,7 @@ static struct ds3000

[PATCH] cxd2820r: TS clock inversion in config

2014-05-05 Thread CrazyCat
TS clock inversion in config. Signed-off-by: Evgeny Plehov diff --git a/drivers/media/dvb-frontends/cxd2820r.h b/drivers/media/dvb-frontends/cxd2820r.h index 82b3d93..6095dbc 100644 --- a/drivers/media/dvb-frontends/cxd2820r.h +++ b/drivers/media/dvb-frontends/cxd2820r.h @@ -52,6 +52,12 @@ stru

Re: [linuxtv-samsung:for-v3.16 45/81] drivers/media/dvb-frontends/si2168.c:47 si2168_cmd_execute() warn: add some parenthesis here?

2014-05-05 Thread Antti Palosaari
On 05.05.2014 22:02, Dan Carpenter wrote: tree: git://linuxtv.org/snawrocki/samsung.git for-v3.16 head: 13b46c7a03adbcc347b77a13ed27066bc92d515c commit: 192292403147877c7d5f737a3cc751ded397aef7 [45/81] [media] em28xx: add [2013:025f] PCTV tripleStick (292e) drivers/media/dvb-frontends/si21

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

2014-05-05 Thread Shuah Khan
On 05/05/2014 01:36 PM, Tejun Heo wrote: On Mon, May 05, 2014 at 03:30:34PM -0400, Devin Heitmueller wrote: On Mon, May 5, 2014 at 3:26 PM, Tejun Heo wrote: As such, please consider the patches nacked and try to find someone who can shepherd the code. Mauro, can you help out here? We actual

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

2014-05-05 Thread Devin Heitmueller
On Mon, May 5, 2014 at 3:36 PM, Tejun Heo wrote: > On Mon, May 05, 2014 at 03:30:34PM -0400, Devin Heitmueller wrote: >> On Mon, May 5, 2014 at 3:26 PM, Tejun Heo wrote: >> > As such, please consider the patches nacked and try to find someone >> > who can shepherd the code. Mauro, can you help o

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

2014-05-05 Thread Tejun Heo
On Mon, May 05, 2014 at 03:30:34PM -0400, Devin Heitmueller wrote: > On Mon, May 5, 2014 at 3:26 PM, Tejun Heo wrote: > > As such, please consider the patches nacked and try to find someone > > who can shepherd the code. Mauro, can you help out here? > > We actually discussed this proposal at le

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

2014-05-05 Thread Devin Heitmueller
Hi Tejun, On Mon, May 5, 2014 at 3:26 PM, Tejun Heo wrote: > As such, please consider the patches nacked and try to find someone > who can shepherd the code. Mauro, can you help out here? We actually discussed this proposal at length at the media summit last week. The patches are being pulled

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

2014-05-05 Thread Tejun Heo
Hello, Shuah. On Mon, May 05, 2014 at 01:16:46PM -0600, Shuah Khan wrote: > You are right that there is a need for an owner field to indicate who > has the token. Since the path is very long, I didn't want to use just > the mutex and keep it tied up for long periods of time. That is the > reason w

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

2014-05-05 Thread Shuah Khan
Hi Tejun, On 05/01/2014 08:53 AM, Tejun Heo wrote: + if (!mutex_trylock(&tkn_ptr->lock)) + return -EBUSY; How is this lock supposed to be used? Have you tested it with lockdep enabled? Does it ever get released by a task which is different from the one which locked it?

[linuxtv-samsung:for-v3.16 45/81] drivers/media/dvb-frontends/si2168.c:47 si2168_cmd_execute() warn: add some parenthesis here?

2014-05-05 Thread Dan Carpenter
tree: git://linuxtv.org/snawrocki/samsung.git for-v3.16 head: 13b46c7a03adbcc347b77a13ed27066bc92d515c commit: 192292403147877c7d5f737a3cc751ded397aef7 [45/81] [media] em28xx: add [2013:025f] PCTV tripleStick (292e) drivers/media/dvb-frontends/si2168.c:47 si2168_cmd_execute() warn: add some

v4l2: circular locking between mmap_sem and device mutex

2014-05-05 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following: [ 2179.111265] == [ 2179.112228] [ INFO: possible circular locking dependency detected ] [ 2179.113144] 3.15.0-rc3-next-2014

[GIT PULL] Samsung Exynos JPEG codec and FIMC driver updates

2014-05-05 Thread Sylwester Nawrocki
Hi Mauro, This includes a few bug fixes for the Samsung SoC FIMC m2m driver and fixes and cleanups at the s5p-jpeg driver, as a prerequisite to support JPEG codec IP found on the Exynos3250 SoCs. The following changes since commit 393cbd8dc532c1ebed60719da8d379f50d445f28: [media] smiapp: Use

[PATCH] [media] ivtv: Fix Oops when no firmware is loaded

2014-05-05 Thread Takashi Iwai
When ivtv PCM device is accessed at the state where no firmware is loaded, it oopses like: BUG: unable to handle kernel NULL pointer dereference at 0050 IP: [] try_mailbox.isra.0+0x11/0x50 [ivtv] Call Trace: [] ivtv_api_call+0x160/0x6b0 [ivtv] [] ivtv_api+0x16/0x40 [ivtv]

Re: [PATCH 0/2] Add support for sii9234 chip

2014-05-05 Thread Tomasz Stanislawski
On 05/04/2014 01:17 AM, Greg KH wrote: > On Fri, Apr 11, 2014 at 01:48:28PM +0200, Tomasz Stanislawski wrote: >> Hi everyone, >> This patchset adds support for sii9234 HD Mobile Link Bridge. The chip is >> used >> to convert HDMI signal into MHL. The driver enables HDMI output on Trats and >> Tr

Re: [PATCH v2] radio-bcm2048.c: fix wrong overflow check

2014-05-05 Thread Jiri Kosina
On Tue, 22 Apr 2014, Dan Carpenter wrote: > From: Pali Rohár > > This patch fixes an off by one check in bcm2048_set_region(). > > Reported-by: Dan Carpenter > Signed-off-by: Pali Rohár > Signed-off-by: Pavel Machek > Signed-off-by: Dan Carpenter > --- > v2: Send it to the correct list. Re

Re: [PATCH] omap3isp: Fix iommu domain use-after-free in isp_probe() error path

2014-05-05 Thread Peter Meerwald
Hello, > > isp_save_ctx() is called from omap3isp_put() after iommu_domain_free() in > > the isp_probe() error path > > > > [3.205047] Unable to handle kernel NULL pointer dereference at virtual > > address 003c [3.213470] pgd = c0004000 > > [3.216308] [003c] *pgd= > >

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

2014-05-05 Thread Hans Verkuil
On 04/29/2014 07:27 PM, n179911 wrote: > 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 + >

Re: [PATCH v2 1/2] v4l: Add resolution change event.

2014-05-05 Thread Hans Verkuil
On 05/05/2014 11:50 AM, Arun Kumar K wrote: > Hi Hans, > > On Wed, Apr 30, 2014 at 8:03 PM, Hans Verkuil wrote: >> On 04/30/2014 12:38 PM, Arun Kumar K wrote: >>> Hi Hans, >>> >>> >>> On 04/22/14 18:22, Hans Verkuil wrote: On 04/21/2014 11:26 AM, Arun Kumar K wrote: > From: Pawel Osciak

[ANN] Report on the San Jose V4L/DVB mini-summit

2014-05-05 Thread Hans Verkuil
Note: please reply with corrections if I made a mistake or missed something. In particular the DVB sections might contain inaccuracies since I am not a DVB expert. Report of the V4L/DVB mini-summit in San Jose, May

Re: [PATCH v2 1/2] v4l: Add resolution change event.

2014-05-05 Thread Arun Kumar K
Hi Hans, On Wed, Apr 30, 2014 at 8:03 PM, Hans Verkuil wrote: > On 04/30/2014 12:38 PM, Arun Kumar K wrote: >> Hi Hans, >> >> >> On 04/22/14 18:22, Hans Verkuil wrote: >>> On 04/21/2014 11:26 AM, Arun Kumar K wrote: From: Pawel Osciak This event indicates that the decoder has reac

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-05-05 Thread Kishon Vijay Abraham I
Hi, On Wednesday 09 April 2014 03:31 PM, Sylwester Nawrocki wrote: > Hi, > > On 09/04/14 11:12, Rahul Sharma wrote: >> Idea looks good. How about keeping compatible which is independent >> of SoC, something like "samsung,exynos-simple-phy" and provide Reg >> and Bit through phy provider node. Thi

Re: [PATCH] [media] s2255drv: fix memory leak s2255_probe()

2014-05-05 Thread Sakari Ailus
On Tue, Apr 15, 2014 at 07:54:43PM +0900, DaeSeok Youn wrote: > Hi, Sakari > > 2014-04-15 18:33 GMT+09:00 Sakari Ailus : > > Hi Daeseok, > > > > On Tue, Apr 15, 2014 at 01:49:34PM +0900, Daeseok Youn wrote: > >> > >> smatch says: > >> drivers/media/usb/s2255/s2255drv.c:2246 s2255_probe() warn: >

Re: [RFC PATCH 0/4] drivers/base: Generic framework for tracking internal interfaces

2014-05-05 Thread Andrzej Hajda
On 05/01/2014 11:11 AM, Russell King - ARM Linux wrote: > On Thu, May 01, 2014 at 09:04:19AM +0200, Andrzej Hajda wrote: >> 2. You replace calls of component_add and component_del with calls >> to interface_tracker_ifup(dev, INTERFACE_TRACKER_TYPE_COMPONENT, >> &specific_component_ops), >> or int