H3A module on omap4 iss

2014-08-20 Thread Sriram V
Hi, I am planning to work on getting the H3A support (Auto White balance, Auto Exposure and Auto Focus Support) for OMAP4 ISS. I wanted to check if anyone is working to get this module working. Is OMAP3 H3A similar or same as OMAP4 H3A. Can i make use of the OMAP3 code base for h3a or how

Re: [PATCH 2/2] usb: gadget: f_uvc: Move to video_ioctl2

2014-08-20 Thread Michael Grzeschik
On Mon, Aug 18, 2014 at 11:16:36PM +0200, Laurent Pinchart wrote: Hi Hans, On Monday 18 August 2014 18:24:26 Hans Verkuil wrote: On 08/18/2014 05:06 PM, Laurent Pinchart wrote: Simplify ioctl handling by using video_ioctl2. Are you able to test this on actual hardware? And if so, can

Re: [PATCH] videobuf2-core: make checking condition more strict

2014-08-20 Thread Sylwester Nawrocki
On 20/08/14 05:11, Zhaowei Yuan wrote: It's also invalid that plane_no equals to vb-num_planes The patch looks good to me but I would make the summary line more specific, e.g. vb2: fix plane index sanity check in vb2_plane_cookie(). I think this patch should be backported to the stable trees.

[PATCH/RFC v5 3/3] exynos4-is: Add support for v4l2-flash subdevs

2014-08-20 Thread Jacek Anaszewski
This patch adds suppport for external v4l2-flash devices. The support includes parsing camera-flash DT property and asynchronous subdevice registration. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki

[PATCH/RFC v5 2/3] media: Add registration helpers for V4L2 flash

2014-08-20 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED class flash devices as V4L2 subdevs. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be used.

[PATCH/RFC v5 09/10] DT: Add documentation for the Skyworks AAT1290

2014-08-20 Thread Jacek Anaszewski
This patch adds device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland

[PATCH/RFC v5 2/2] leds: Add Flash Manager functionality

2014-08-20 Thread Jacek Anaszewski
This patch adds Flash Manager functionality to the LED Flash Class. It allows for changing flash - strobe provider connections dynamically, if the flash led device has its external strobe signal routed through multiplexer(s). This is an optional feature. Available strobe signal providers are

[PATCH/RFC v5 08/10] of: Add Skyworks Solutions, Inc. vendor prefix

2014-08-20 Thread Jacek Anaszewski
Use skyworks as the vendor prefix for the Skyworks Solutions, Inc. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell

[PATCH/RFC v5 2/3] leds: Add support for max77693 mfd flash cell

2014-08-20 Thread Jacek Anaszewski
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface or through V4L2 subdevice when the support for V4L2 Flash sub-devices is enabled. Device supports up to two leds which can work in flash and torch mode. Leds can

[PATCH/RFC v5 4/4] leds: Add LED Flash Class wrapper to LED subsystem

2014-08-20 Thread Jacek Anaszewski
Some LED devices support two operation modes - torch and flash. This patch provides support for flash LED devices in the LED subsystem by introducing new sysfs attributes and kernel internal interface. The attributes being introduced are: flash_brightness, flash_strobe, flash_timeout,

ite-cir/nuvoton-cir circular locking dependency with v3.17-rc1-22-g480cadc2b7e0

2014-08-20 Thread Josh Boyer
Hi All, I've been seeing the following lockdep splat on all of the 3.17 kernels I've tried so far on my Celeron and i7 based NUC machines. Both the ite-cir and nuvoton-cir drivers seem to have similar issues, so the problem may be in rc_core itself? I'm hoping you all will have better ideas.

[PATCH/RFC v5 10/10] ARM: dts: add aat1290 current regulator device node

2014-08-20 Thread Jacek Anaszewski
Add device node for AAT1290 1.5A Step-Up Current Regulator for Flash LEDs along with flash_muxes node containing information about a multiplexer that is used for switching between software and external strobe signal source. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by:

[PATCH/RFC v5 2/4] leds: implement sysfs interface locking mechanism

2014-08-20 Thread Jacek Anaszewski
Add a mechanism for locking LED subsystem sysfs interface. This patch prepares ground for addition of LED Flash Class extension, whose API will be integrated with V4L2 Flash API. Such a fusion enforces introducing a locking scheme, which will secure consistent access to the LED Flash Class device.

[PATCH/RFC v5 3/4] leds: add API for setting torch brightness

2014-08-20 Thread Jacek Anaszewski
This patch prepares ground for addition of LED Flash Class extension to the LED subsystem. Since turning the torch on must have guaranteed immediate effect the brightness_set op can't be used for it. Drivers must schedule a work queue task in this op to be compatible with led-triggers, which call

[PATCH/RFC v5 0/4] LED / flash API integration - LED Flash Class

2014-08-20 Thread Jacek Anaszewski
This patch set is the follow-up of the LED / flash API integration series [1]. For clarity reasons the patchset has been split into five subsets: - LED Flash Class - Flash Manager - V4L2 Flash - LED Flash Class drivers - Documentation The series is based on linux-next-20140820. Thanks, Jacek

[PATCH/RFC v5 0/3] LED / flash API integration - V4L2 Flash

2014-08-20 Thread Jacek Anaszewski
This patch set is the follow-up of the LED / flash API integration series [1]. For clarity reasons the patchset has been split into five subsets: - LED Flash Class - Flash Manager - V4L2 Flash - LED Flash Class drivers - Documentation The series is based on linux-next-20140820. Thanks, Jacek

[PATCH/RFC v5 1/3] v4l2-ctrls: add control for flash strobe signal providers

2014-08-20 Thread Jacek Anaszewski
Add V4L2_CID_STROBE_PROVIDER of type menu, which allows for enumerating of available external flash strobe signal providers and setting the active one. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sakari Ailus sakari.ai...@iki.fi

[PATCH/RFC v5 1/4] leds: Improve and export led_update_brightness

2014-08-20 Thread Jacek Anaszewski
led_update_brightness helper function used to be exploited only locally in the led-class.c module, where its result was being passed to the brightness_show sysfs callback. With the introduction of v4l2-flash subdevice the same functionality becomes required for reading current brightness from a

[PATCH/RFC v5 0/2] LED / flash API integration - Flash Manager

2014-08-20 Thread Jacek Anaszewski
This patch set is the follow-up of the LED / flash API integration series [1]. For clarity reasons the patchset has been split into five subsets: - LED Flash Class - Flash Manager - V4L2 Flash - LED Flash Class drivers - Documentation The series is based on linux-next-20140820. Thanks, Jacek

[PATCH/RFC v5 1/2] of: add of_node_ncmp wrapper

2014-08-20 Thread Jacek Anaszewski
The wrapper for strnicmp is required for checking whether a node has expected prefix. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Grant Likely grant.lik...@linaro.org Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Michal

[PATCH/RFC v5 0/3] LED / flash API integration - LED Flash Class drivers

2014-08-20 Thread Jacek Anaszewski
This patch set is the follow-up of the LED / flash API integration series [1]. For clarity reasons the patchset has been split into five subsets: - LED Flash Class - Flash Manager - V4L2 Flash - LED Flash Class drivers - Documentation The series is based on linux-next-20140820. Thanks, Jacek

[PATCH/RFC v5 1/3] mfd: max77693: Fix register enum name

2014-08-20 Thread Jacek Anaszewski
According to the MAX77693 documentation the name of the register is FLASH_STATUS. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Lee Jones lee.jo...@linaro.org Cc: SangYoung Son hello@smasung.com Cc: Samuel Ortiz

[PATCH/RFC v5 05/10] DT: Add documentation for LED Class Flash Manger

2014-08-20 Thread Jacek Anaszewski
This patch documents LED Class Flash Manager related bindings. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll

[PATCH/RFC v5 01/10] Documentation: leds: Add description of LED Flash Class extension

2014-08-20 Thread Jacek Anaszewski
The documentation being added contains overall description of the LED Flash Class and the related sysfs attributes. There are also chapters devoted specifically to the Flash Manager feature. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH/RFC v5 03/10] Documentation: leds: add exemplary asynchronous mux driver

2014-08-20 Thread Jacek Anaszewski
Exemplary driver showing usage of the Flash Manager API for registering/unregistering asynchronous multiplexers Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCH/RFC v5 00/10] LED / flash API integration - documentation

2014-08-20 Thread Jacek Anaszewski
This patch set is the follow-up of the LED / flash API integration series [1]. For clarity reasons the patchset has been split into five subsets: - LED Flash Class - Flash Manager - V4L2 Flash - LED Flash Class drivers - Documentation The series is based on linux-next-20140820. Thanks, Jacek

[PATCH/RFC v5 02/10] Documentation: leds: Add description of Flash Manager

2014-08-20 Thread Jacek Anaszewski
The documentation being added contains overall description of the Flash Manager functionality and the related sysfs attributes. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie

[PATCH/RFC v5 3/3] leds: Add driver for AAT1290 current regulator

2014-08-20 Thread Jacek Anaszewski
This patch adds a driver for the 1.5A Step-Up Current Regulator for Flash LEDs. The device is programmed through a Skyworks' proprietary AS2Cwire serial digital interface. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH/RFC v5 04/10] DT: leds: Add flash led devices related properties

2014-08-20 Thread Jacek Anaszewski
Addition of a LED Flash Class extension entails the need for flash led specific device tree properties. The properties being added are: iout-torch, iout-flash, iout-indicator and flash-timeout. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park

[PATCH/RFC v5 06/10] DT: Add documentation for exynos4-is 'flashes' property

2014-08-20 Thread Jacek Anaszewski
This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc:

[PATCH/RFC v5 07/10] DT: Add documentation for the mfd Maxim max77693

2014-08-20 Thread Jacek Anaszewski
This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rob Herring

Re: H3A module on omap4 iss

2014-08-20 Thread Laurent Pinchart
Hi Sriram, On Wednesday 20 August 2014 11:55:12 Sriram V wrote: Hi, I am planning to work on getting the H3A support (Auto White balance, Auto Exposure and Auto Focus Support) for OMAP4 ISS. That would be great ! I wanted to check if anyone is working to get this module working. Not to

Re: [PATCH/RFC v4 15/21] media: Add registration helpers for V4L2 flash

2014-08-20 Thread Sakari Ailus
Hi Jacek, On Thu, Aug 14, 2014 at 10:25:28AM +0200, Jacek Anaszewski wrote: On 08/14/2014 06:34 AM, Sakari Ailus wrote: Hi Jacek, On Mon, Aug 11, 2014 at 03:27:22PM +0200, Jacek Anaszewski wrote: ... diff --git a/include/media/v4l2-flash.h b/include/media/v4l2-flash.h new file mode

Re: H3A module on omap4 iss

2014-08-20 Thread Sriram V
Thanks for your response. Going through the Datasheet omap3isp code. what i understand is The code enables the H3A engine for AF, AE and AWB. Now, the H3A produces co-efficients which need to be used for achieving actual AF, AE AWB. Now, I could not find any references where these

Re: [PATCH 2/2] usb: gadget: f_uvc: Move to video_ioctl2

2014-08-20 Thread Laurent Pinchart
Hi Michael, On Wednesday 20 August 2014 09:55:10 Michael Grzeschik wrote: On Mon, Aug 18, 2014 at 11:16:36PM +0200, Laurent Pinchart wrote: On Monday 18 August 2014 18:24:26 Hans Verkuil wrote: On 08/18/2014 05:06 PM, Laurent Pinchart wrote: Simplify ioctl handling by using

Re: [PATCH v2 2/3] usb: gadget/uvc: also handle v4l2 ioctl ENUM_FMT

2014-08-20 Thread Laurent Pinchart
Hi Hans and Michael, On Wednesday 20 August 2014 02:06:54 Hans Verkuil wrote: On 08/19/2014 05:01 PM, Laurent Pinchart wrote: Hi Michael, Thank you for the patch. (CC'ing Hans Verkuil and the linux-media mailing list) On Friday 08 August 2014 17:38:58 Michael Grzeschik wrote:

Re: H3A module on omap4 iss

2014-08-20 Thread Laurent Pinchart
Hi Sriram, On Wednesday 20 August 2014 21:01:30 Sriram V wrote: Thanks for your response. Going through the Datasheet omap3isp code. what i understand is The code enables the H3A engine for AF, AE and AWB. Now, the H3A produces co-efficients which need to be used for achieving actual

[PATCH] rcar_vin: fix error message in rcar_vin_get_formats()

2014-08-20 Thread Sergei Shtylyov
The dev_err() call is supposed to output widthxheight in decimal but one of the format specifiers is %x instead of %u (most probably due to a typo). Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com --- The patch is against the 'media_tree.git' repo's 'fixes' branch.

Re: [ANNOUNCE] Linux Kernel Media mini-summit on Oct, 16-17 in Düsseldorf, Germany

2014-08-20 Thread Guennadi Liakhovetski
On Wed, 13 Aug 2014, Mauro Carvalho Chehab wrote: Hi, As there are still too things to be discussed in order to improve media stuff, and most of the developers nowadays are located in Europe and usually go to ELCE, we're scheduling a two day mini-summit in DÃŒsseldorf, Germany, on

[PATCH resend] rcar_vin: fix error message in rcar_vin_get_formats()

2014-08-20 Thread Sergei Shtylyov
The dev_err() call is supposed to output widthxheight in decimal but one of the format specifiers is %x instead of %u (most probably due to a typo). Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com --- The patch is against the 'media_tree.git' repo's 'fixes' branch. Resending

[PATCH resend] rcar_vin: fix error message in rcar_vin_get_formats()

2014-08-20 Thread Sergei Shtylyov
The dev_err() call is supposed to output widthxheight in decimal but one of the format specifiers is %x instead of %u (most probably due to a typo). Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com --- The patch is against the 'media_tree.git' repo's 'fixes' branch. Resending

Re: [PATCH 4/8] of: Add for_each_endpoint_of_node helper macro

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:42 Philipp Zabel wrote: Note that while of_graph_get_next_endpoint decrements the reference count of the child node passed to it, of_node_put(child) still has to be called manually when breaking out of the loop. I think

[PATCH 4/5] [media] enable COMPILE_TEST for OMAP2 vout

2014-08-20 Thread Mauro Carvalho Chehab
We don't need anything special to enable COMPILE_TEST for this driver. Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com --- drivers/media/platform/Makefile | 2 +- drivers/media/platform/omap/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/5] [media] allow COMPILE_TEST for SAMSUNG_EXYNOS4_IS

2014-08-20 Thread Mauro Carvalho Chehab
That helps some static checks, so enable it. While there, it was noticed that linux/sizes.h was missing: drivers/media/platform/exynos4-is/mipi-csis.c: In function ‘s5pcsis_s_rx_buffer’: drivers/media/platform/exynos4-is/mipi-csis.c:114:31: error: ‘SZ_4K’ undeclared (first use in this function)

[PATCH 5/5] [media] enable COMPILE_TEST for media drivers

2014-08-20 Thread Mauro Carvalho Chehab
There are several arch-specific media drivers that don't require asm-specific includes and can be successfully compiled on x86. Add COMPILE_TEST dependency for them, in order to allow a broader test on those drivers. That helps static analysis tools like Coverity to discover eventual troubles

[PATCH 1/5] [media] enable COMPILE_TEST for MX2 eMMa-PrP driver

2014-08-20 Thread Mauro Carvalho Chehab
By allowing compilation on all archs, we can use static analysis tools to test this driver. In order to do that, replace asm/sizes.h by its generic name (linux/sizes.h), with should keep doing the right thing. Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com ---

[PATCH 2/5] [media] enable COMPILE_TEST for ti-vbe

2014-08-20 Thread Mauro Carvalho Chehab
Allowing COMPILE_TEST here is trivial, but there's one missing header to be added: drivers/media/platform/ti-vpe/vpe.c: In function ‘vpe_probe’: drivers/media/platform/ti-vpe/vpe.c:2266:56: error: ‘SZ_32K’ undeclared (first use in this function) dev-base = devm_ioremap(pdev-dev, dev-res-start,

Re: [PATCH 5/8] of: Add of_graph_get_port_by_id function

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:43 Philipp Zabel wrote: This patch adds a function to get a port device tree node by port id, or reg property value. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/of/base.c| 30

Re: [PATCH 6/8] drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:44 Philipp Zabel wrote: Using the for_each_... macro should make the code a bit shorter and easier to read. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH 00/29] Sparse fixes

2014-08-20 Thread Hans Verkuil
After attending a session on coccinelle, smatch and sparse I got inspired to clean up a lot of sparse warnings. Most are trivial, but I found a true bug in kinect. Also a lot of these fixes relate to big/little endian. -- To unsubscribe from this list: send the line unsubscribe linux-media in

[PATCH 01/29] img-ir: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/rc/img-ir/img-ir-nec.c:111:23: warning: symbol 'img_ir_nec' was not declared. Should it be static? drivers/media/rc/img-ir/img-ir-jvc.c:54:23: warning: symbol 'img_ir_jvc' was not declared. Should it be static?

[PATCH 02/29] solo6x10: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/pci/solo6x10/solo6x10-disp.c:184:24: warning: incorrect type in assignment (different base types) drivers/media/pci/solo6x10/solo6x10-disp.c:223:32: warning: incorrect type in assignment (different base types) Signed-off-by: Hans Verkuil

[PATCH 09/29] pctv452e: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/dvb-usb/pctv452e.c:886:64: warning: Using plain integer as NULL pointer drivers/media/usb/dvb-usb/pctv452e.c:903:63: warning: Using plain integer as NULL pointer drivers/media/usb/dvb-usb/pctv452e.c:968:19: warning: Using plain integer

[PATCH 23/29] dvb_usb_core: fix sparse warning

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:24:5: warning: symbol 'dvb_usbv2_disable_rc_polling' was not declared. Should it be static? Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 2 +- 1 file

[PATCH 24/29] pwc: fix sparse warning

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/pwc/pwc-v4l.c:55:12: warning: symbol 'pwc_auto_whitebal_qmenu' was not declared. Should it be static? Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/pwc/pwc-v4l.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 27/29] imon: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/rc/imon.c:1343:44: warning: cast to restricted __be32 drivers/media/rc/imon.c:1343:44: warning: cast to restricted __be32 drivers/media/rc/imon.c:1343:44: warning: cast to restricted __be32 drivers/media/rc/imon.c:1343:44: warning: cast to

[PATCH 13/29] ddbridge: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/pci/ddbridge/ddbridge-core.c:88:9: warning: incorrect type in argument 2 (different address spaces) drivers/media/pci/ddbridge/ddbridge-core.c:93:37: warning: incorrect type in argument 1 (different address spaces)

[PATCH 16/29] uvc: fix sparse warning

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/uvc/uvc_video.c:1466:38: warning: incorrect type in return expression (different base types) Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/uvc/uvc_video.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 08/29] opera1: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/dvb-usb/opera1.c:557:29: warning: restricted __le16 degrades to integer drivers/media/usb/dvb-usb/opera1.c:558:33: warning: restricted __le16 degrades to integer Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH 18/29] mb86a16/mb86a20s: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/dvb-frontends/mb86a16.c:31:14: warning: symbol 'verbose' was not declared. Should it be static? drivers/media/dvb-frontends/mb86a20s.c:36:4: warning: symbol 'mb86a20s_subchannel' was not declared. Should it be static?

[PATCH 11/29] dib7000p: fix sparse warning

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/dvb-frontends/dib7000p.c:2562:5: warning: symbol 'dib7090_set_diversity_in' was not declared. Should it be static? Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/dvb-frontends/dib7000p.c | 2 +- 1 file changed, 1

[PATCH 28/29] v4l2-ioctl: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/v4l2-core/v4l2-ioctl.c:1156:53: warning: incorrect type in initializer (different address spaces) drivers/media/v4l2-core/v4l2-ioctl.c:1158:42: warning: incorrect type in initializer (different address spaces)

[PATCH 29/29] lirc_dev: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/rc/lirc_dev.c:598:26: warning: incorrect type in argument 1 (different address spaces) drivers/media/rc/lirc_dev.c:606:26: warning: incorrect type in argument 1 (different address spaces) drivers/media/rc/lirc_dev.c:616:26: warning:

[PATCH 21/29] bcm3510: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/dvb-frontends/bcm3510.c:646:24: warning: cast to restricted __le16 drivers/media/dvb-frontends/bcm3510.c:647:24: warning: cast to restricted __le16 Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH 26/29] si2165: fix sparse warning

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/dvb-frontends/si2165.c:329:16: warning: odd constant _Bool cast (ffea becomes 1) Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/dvb-frontends/si2165.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 22/29] s2255drv: fix sparse warning

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/s2255/s2255drv.c:2248:20: warning: cast to restricted __le16 Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/s2255/s2255drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 25/29] stv0367: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/dvb-frontends/stv0367.c:557:5: warning: symbol 'stv0367cab_RF_LookUp1' was not declared. Should it be static? drivers/media/dvb-frontends/stv0367.c:569:5: warning: symbol 'stv0367cab_RF_LookUp2' was not declared. Should it be static?

[PATCH 17/29] usbtv: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/usbtv/usbtv-video.c:285:14: warning: cast to restricted __be32 drivers/media/usb/usbtv/usbtv-video.c:285:14: warning: cast to restricted __be32 drivers/media/usb/usbtv/usbtv-video.c:285:14: warning: cast to restricted __be32

[PATCH 10/29] go7007: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/go7007/go7007-usb.c:699:30: warning: cast to restricted __le16 drivers/media/usb/go7007/go7007-usb.c:769:38: warning: cast to restricted __le16 drivers/media/usb/go7007/go7007-usb.c:770:39: warning: cast to restricted __le16

[PATCH 15/29] drxj: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/dvb-frontends/drx39xyj/drxj.c:11768:25: warning: cast to restricted __be16 drivers/media/dvb-frontends/drx39xyj/drxj.c:11768:25: warning: cast to restricted __be16 drivers/media/dvb-frontends/drx39xyj/drxj.c:11768:25: warning: cast to

[PATCH 14/29] ngene: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/pci/ngene/ngene-core.c:188:27: warning: incorrect type in argument 1 (different address spaces) drivers/media/pci/ngene/ngene-core.c:190:25: warning: incorrect type in argument 2 (different address spaces)

[PATCH 07/29] mxl111sf: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/dvb-usb-v2/mxl111sf.c:34:5: warning: symbol 'dvb_usb_mxl111sf_isoc' was not declared. Should it be static? drivers/media/usb/dvb-usb-v2/mxl111sf.c:38:5: warning: symbol 'dvb_usb_mxl111sf_spi' was not declared. Should it be static?

[PATCH 03/29] dibusb: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/dvb-usb/dibusb-common.c:261:40: warning: restricted __le16 degrades to integer drivers/media/usb/dvb-usb/dibusb-common.c:262:52: warning: restricted __le16 degrades to integer drivers/media/usb/dvb-usb/dibusb-common.c:300:40: warning:

[PATCH 05/29] radio-tea5764: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/radio/radio-tea5764.c:168:24: warning: cast to restricted __be16 drivers/media/radio/radio-tea5764.c:168:24: warning: cast to restricted __be16 drivers/media/radio/radio-tea5764.c:168:24: warning: cast to restricted __be16

[PATCH 06/29] dw2102: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/dvb-usb/dw2102.c:670:65: warning: restricted __le16 degrades to integer drivers/media/usb/dvb-usb/dw2102.c:1601:32: warning: restricted __le16 degrades to integer drivers/media/usb/dvb-usb/dw2102.c:1644:40: warning: restricted __le16

[PATCH 04/29] af9015: fix sparse warning

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/dvb-usb-v2/af9015.c:422:38: warning: cast to restricted __le32 Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/dvb-usb-v2/af9015.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 19/29] mantis: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/pci/mantis/hopper_vp3028.c:37:23: warning: symbol 'hopper_vp3028_config' was not declared. Should it be static? drivers/media/pci/mantis/mantis_vp1033.c:38:4: warning: symbol 'lgtdqcs001f_inittab' was not declared. Should it be static?

[PATCH 12/29] kinect: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/gspca/kinect.c:151:19: warning: incorrect type in assignment (different base types) drivers/media/usb/gspca/kinect.c:152:19: warning: incorrect type in assignment (different base types) drivers/media/usb/gspca/kinect.c:153:19: warning:

Re: [PATCH 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-20 Thread Laurent Pinchart
Hi Mikhail, Thank you for the patch. On Tuesday 19 August 2014 16:50:53 Mikhail Ulyanov wrote: Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- .../devicetree/bindings/media/renesas,jpu.txt | 23 +++ 1 file changed, 23 insertions(+) create mode

[PATCH 20/29] wl128x: fix sparse warnings

2014-08-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com drivers/media/radio/wl128x/fmdrv_common.c:598:32: warning: cast to restricted __be16 drivers/media/radio/wl128x/fmdrv_common.c:598:32: warning: cast to restricted __be16 drivers/media/radio/wl128x/fmdrv_common.c:598:32: warning: cast to restricted

Re: [PATCH 2/6] ARM: shmobile: r8a7790: Add JPU clock dt and CPG define.

2014-08-20 Thread Laurent Pinchart
Hi Mikhail, Thank you for the patch. On Tuesday 19 August 2014 16:50:49 Mikhail Ulyanov wrote: A commit message would be nice. Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/boot/dts/r8a7790.dtsi

Re: [PATCH 4/6] ARM: shmobile: r8a7791: Add JPU clock dt and CPG define.

2014-08-20 Thread Laurent Pinchart
Hi Mikhail, Thank you for the patch. On Tuesday 19 August 2014 16:50:51 Mikhail Ulyanov wrote: A commit message would be nice. Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/boot/dts/r8a7791.dtsi

Re: [PATCH 01/29] img-ir: fix sparse warnings

2014-08-20 Thread James Hogan
On Thursday 21 August 2014 00:59:00 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com drivers/media/rc/img-ir/img-ir-nec.c:111:23: warning: symbol 'img_ir_nec' was not declared. Should it be static? drivers/media/rc/img-ir/img-ir-jvc.c:54:23: warning: symbol 'img_ir_jvc' was not

[PATCH 1/3] media: fix kernel deadlock due to tuner pull-out while playing

2014-08-20 Thread Changbing Xiong
Enviroment: odroidx2 + Hauppauge(WinTV-Aero-M) Normally, ADAP_STREAMING bit is set in dvb_usb_start_feed and cleared in dvb_usb_stop_feed. But in exceptional cases, for example, when the tv is playing programs, and the tuner is pulled out. then dvb_usbv2_disconnect is called, it will first call

[PATCH 2/3] media: correct return value in dvb_demux_poll

2014-08-20 Thread Changbing Xiong
Data type of return value is unsigned int, but in function of dvb_demux_poll, when the pointer of dmxdevfilter equals NULL, it will return -EINVAL, which is invalid. Signed-off-by: Changbing Xiong cb.xi...@samsung.com --- drivers/media/dvb-core/dmxdev.c |2 +- 1 file changed, 1 insertion(+),

[PATCH 3/3] media: check status of dmxdev-exit in poll functions of demuxdvr

2014-08-20 Thread Changbing Xiong
when usb-type tuner is pulled out, user applications did not close device's FD, and go on polling the device, we should return POLLERR directly. Signed-off-by: Changbing Xiong cb.xi...@samsung.com --- drivers/media/dvb-core/dmxdev.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

cron job: media_tree daily build: WARNINGS

2014-08-20 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: Thu Aug 21 04:00:16 CEST 2014 git branch: test git hash: 0f3bf3dc1ca394a8385079a5653088672b65c5c4 gcc