Re: [linux-sunxi] [PATCH v5 0/3] ARM: sunxi: Add support for consumer infrared devices

2014-04-30 Thread Priit Laes
Ühel kenal päeval, K, 30.04.2014 kell 21:16, kirjutas Alexander Bersenev: > This patch introduces Consumer IR(CIR) support for sunxi boards. > > This is based on Alexsey Shestacov's work based on the original driver > supplied by Allwinner. > > Signed-off-by: Alexander Bersenev > Signed-off-by:

-- Kedves felhasználó, az e-mail;

2014-04-30 Thread Administrador WebMail
-- Kedves felhasználó, az e-mail; Túllépte a 23.432 box set Webszolgáltatásról /, és akkor nem lesz gond a küldő és a az e-maileket kapni az újraellenőrzés-ig. Kérjük, frissítse, kattintson a gomb link, és kitölt a információ, amely a fiók igazolására Kérjük, kövesse az alábbi linkre, és máso

Re: [PATCH v2 01/26] omap3isp: stat: Rename IS_COHERENT_BUF to ISP_STAT_USES_DMAENGINE

2014-04-30 Thread Laurent Pinchart
Hi Sakari, On Thursday 01 May 2014 01:45:47 Sakari Ailus wrote: > Hi Laurent, > > Thanks for the set! I've been looking forward to see this! :) > > On Mon, Apr 21, 2014 at 02:28:47PM +0200, Laurent Pinchart wrote: > > The macro is meant to test whether the statistics engine uses an > > external

Re: [PATCH v2 01/26] omap3isp: stat: Rename IS_COHERENT_BUF to ISP_STAT_USES_DMAENGINE

2014-04-30 Thread Sakari Ailus
Hi Laurent, Thanks for the set! I've been looking forward to see this! :) On Mon, Apr 21, 2014 at 02:28:47PM +0200, Laurent Pinchart wrote: > The macro is meant to test whether the statistics engine uses an > external DMA engine to transfer data or supports DMA directly. As both > cases will be s

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

2014-04-30 Thread Russell King - ARM Linux
On Wed, Apr 30, 2014 at 11:42:09PM +0200, Andrzej Hajda wrote: > The main problem with component framework is that componentization > significantly changes every driver and changes it in a way which is not > compatible with traditional drivers, so devices which are intended to > work with dif

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

2014-04-30 Thread Andrzej Hajda
Hi Greg, Thanks for comments. I CC Laurent, I hope it could be interesting for him also. Greg Kroah-Hartman wrote, On 30.04.2014 17:49: On Wed, Apr 30, 2014 at 04:02:50PM +0200, Andrzej Hajda wrote: Generic framework for tracking internal interfaces ==

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

2014-04-30 Thread Laurent Pinchart
Hi Peter, Thank you for the patch. On Wednesday 30 April 2014 10:13:30 Peter Meerwald wrote: > 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

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

2014-04-30 Thread Laurent Pinchart
Hi Liu, Thank you for the patch. On Wednesday 30 April 2014 12:25:21 Liu Ying wrote: > 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

[PATCH] media: parport: Fix format string mismatch in bw-qcam.c

2014-04-30 Thread Masanari Iida
Fix format string mismatch in bw-qcam.c Signed-off-by: Masanari Iida --- drivers/media/parport/bw-qcam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/parport/bw-qcam.c b/drivers/media/parport/bw-qcam.c index 8a0e84c..416507a 100644 --- a/drivers/media/parport

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

2014-04-30 Thread Greg Kroah-Hartman
On Wed, Apr 30, 2014 at 04:02:50PM +0200, Andrzej Hajda wrote: > Generic framework for tracking internal interfaces > == > > Summary > --- > > interface_tracker is a generic framework which allows to track appearance > and disappearance of diffe

[PATCH v5 1/3] ARM: sunxi: Add documentation for sunxi consumer infrared devices

2014-04-30 Thread Alexander Bersenev
This patch adds documentation for Device-Tree bindings for sunxi IR controller. Signed-off-by: Alexander Bersenev Signed-off-by: Alexsey Shestacov --- .../devicetree/bindings/media/sunxi-ir.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentati

[PATCH v5 3/3] ARM: sunxi: Add IR controller support in DT on A20

2014-04-30 Thread Alexander Bersenev
This patch adds IR controller in A20 Device-Tree: - Two IR devices found in A20 user manual - Pins for two devices - One IR device physically found on Cubieboard 2 - One IR device physically found on Cubietruck Signed-off-by: Alexander Bersenev Signed-off-by: Alexsey Shestacov --- arch/arm/boot

[PATCH v5 2/3] ARM: sunxi: Add driver for sunxi IR controller

2014-04-30 Thread Alexander Bersenev
This patch adds driver for sunxi IR controller. It is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev Signed-off-by: Alexsey Shestacov --- drivers/media/rc/Kconfig| 10 ++ drivers/media/rc/Makefile | 1 + drivers/m

[PATCH v5 0/3] ARM: sunxi: Add support for consumer infrared devices

2014-04-30 Thread Alexander Bersenev
This patch introduces Consumer IR(CIR) support for sunxi boards. This is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev Signed-off-by: Alexsey Shestacov --- Changes since version 1: - Fix timer memory leaks - Fix rac

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

2014-04-30 Thread Hans Verkuil
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 reached a point in the stream, >>> at which the resolution changes. The user

Logitech c920 exposure settings with V4L2

2014-04-30 Thread Asanka
Hello, I am not sure my previous message was posted. So I am reposting with outputs. I am trying to change exposure settings to manual and then to aperture priority. I want to read the exposure absolute value set by the camera when its in auto (aperture priority) mode. However after I switched fro

[RFC PATCH 3/4] drm/exynos/dpi: add interface tracker support

2014-04-30 Thread Andrzej Hajda
exynos_dpi uses connector polling for tracking panel presence, this solution introduces unnecessary 10s delay before panel activation. Moreover it is unsafe, module unloading or driver unbinding can cause system crash. interface_tracker support solves both problems. Signed-off-by: Andrzej Hajda -

[RFC PATCH 4/4] drm/panel/ld9040: do not power off panel on removal

2014-04-30 Thread Andrzej Hajda
Panel is powered off already by connector during drm_panel_remove call. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/panel/panel-ld9040.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-ld9040.c b/drivers/gpu/drm/panel/panel-ld9040.c index 1f1f837..1def4b0 100

[RFC PATCH 2/4] drm/panel: add interface tracker support

2014-04-30 Thread Andrzej Hajda
drm_panel framework allows only query for presence of given panel. It also does not protect panel module from unloading and does not provide solution for driver unbinding. interface_tracker should solve both issues. Signed-off-by: Andrzej Hajda --- --- drivers/gpu/drm/drm_panel.c | 5 +

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

2014-04-30 Thread Andrzej Hajda
Generic framework for tracking internal interfaces == Summary --- interface_tracker is a generic framework which allows to track appearance and disappearance of different interfaces provided by kernel/driver code inside the kernel. Examples of s

[RFC PATCH 1/4] drivers/base: add interface tracker framework

2014-04-30 Thread Andrzej Hajda
interface_tracker is a generic framework which allows to track appearance and disappearance of different interfaces provided by kernel/driver code inside the kernel. Examples of such interfaces: clocks, phys, regulators, drm_panel... Interface is specified by a pair of object pointer and interface

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

2014-04-30 Thread Arun Kumar K
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 reached a point in the stream, >> at which the resolution changes. The userspace is expected to provide a new >> set of CAPTURE buff

Re: [PATCH v4 02/03] ARM: sunxi: Add driver for sunxi IR controller

2014-04-30 Thread Mauro Carvalho Chehab
Em Wed, 30 Apr 2014 03:58:18 -0700 (PDT) Александр Берсенев escreveu: > [PATCH v4 02/03] ARM: sunxi: Add driver for sunxi IR controller > > This patch adds driver for sunxi IR controller. > It is based on Alexsey Shestacov's work based on the original driver > supplied by Allwinner. > > Signed

[patch v3] [media] em28xx-cards: fix indenting in probe()

2014-04-30 Thread Dan Carpenter
There was a mix of 4 space and tab indenting here which was confusing. Signed-off-by: Dan Carpenter --- v3: Just fix all the surrounding indents as well. v2: At first I thought the code was buggy and was missing curly braces but it was just the indenting which was confusing. diff --git a/dri

Re: [PATCH] omap3isp: Make isp_register_entities() fail when sensor registration fails

2014-04-30 Thread Sakari Ailus
On Wed, Apr 30, 2014 at 11:04:14AM +0200, Peter Meerwald wrote: > Hi, > > > On Wed, Apr 30, 2014 at 10:14:31AM +0200, Peter Meerwald wrote: > > > isp_register_entities() ignores registration failure of the sensor, > > > /dev/video* devices are created nevertheless > > > > > > if the sensor fails,

Re: [PATCH] omap3isp: Make isp_register_entities() fail when sensor registration fails

2014-04-30 Thread Peter Meerwald
Hi, > On Wed, Apr 30, 2014 at 10:14:31AM +0200, Peter Meerwald wrote: > > isp_register_entities() ignores registration failure of the sensor, > > /dev/video* devices are created nevertheless > > > > if the sensor fails, all entities should not be created > Why? In some cases it'd be nice to be a

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

2014-04-30 Thread Rahul Sharma
Sure (5250, 5420). I will wait for the same to update DT patches, if any. Regards, Rahul Sharma. On 30 April 2014 14:02, Tomasz Stanislawski wrote: > Hi Rahul, > I will prepare we v3 version. > Do you want me to add your patches for exynos5?50 to the patchset? > Regards, > Tomasz Stanislawski >

Re: [PATCH] omap3isp: Make isp_register_entities() fail when sensor registration fails

2014-04-30 Thread Sakari Ailus
Hi Peter, On Wed, Apr 30, 2014 at 10:14:31AM +0200, Peter Meerwald wrote: > isp_register_entities() ignores registration failure of the sensor, > /dev/video* devices are created nevertheless > > if the sensor fails, all entities should not be created Why? In some cases it'd be nice to be able to

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

2014-04-30 Thread Tomasz Stanislawski
Hi Rahul, I will prepare we v3 version. Do you want me to add your patches for exynos5?50 to the patchset? Regards, Tomasz Stanislawski On 04/30/2014 08:37 AM, Rahul Sharma wrote: > Hi Tomasz, > > I have tested your patches for exynos5250 and 5420. Works fine. Are > you planning to post v3? If yo

[PATCH] omap3isp: Make isp_register_entities() fail when sensor registration fails

2014-04-30 Thread Peter Meerwald
isp_register_entities() ignores registration failure of the sensor, /dev/video* devices are created nevertheless if the sensor fails, all entities should not be created Signed-off-by: Peter Meerwald --- I'm not too sure about the ENODEV error code drivers/media/platform/omap3isp/isp.c |6 +

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

2014-04-30 Thread Peter Meerwald
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= [3.220031] Internal error: Oop