Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-28 Thread Hans de Goede
Hi, On 11/27/2014 08:05 PM, Maxime Ripard wrote: Hi, On Thu, Nov 27, 2014 at 11:10:51AM +0100, Hans de Goede wrote: Hi, On 11/27/2014 10:28 AM, Chen-Yu Tsai wrote: Hi, On Thu, Nov 27, 2014 at 4:41 PM, Hans de Goede hdego...@redhat.com wrote: snip I notice that you've not responded

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-27 Thread Hans de Goede
Hi, On 11/26/2014 10:13 PM, Maxime Ripard wrote: Hi, On Tue, Nov 25, 2014 at 09:29:21AM +0100, Hans de Goede wrote: Hi, On 11/24/2014 11:03 PM, Maxime Ripard wrote: On Fri, Nov 21, 2014 at 10:13:10AM +0100, Hans de Goede wrote: Hi, On 11/21/2014 09:49 AM, Maxime Ripard wrote: Hi, On Thu

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-27 Thread Hans de Goede
Hi, On 11/27/2014 10:28 AM, Chen-Yu Tsai wrote: Hi, On Thu, Nov 27, 2014 at 4:41 PM, Hans de Goede hdego...@redhat.com wrote: snip I notice that you've not responded to my proposal to simple make the clock node a child node of the clocks node in the dt, that should work nicely, and avoid

Re: [PATCH v2 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-26 Thread Hans de Goede
Hi, On 11/25/2014 05:57 PM, Lee Jones wrote: On Sun, 23 Nov 2014, Hans de Goede wrote: Add a driver for mod0 clocks found in the prcm. Currently there is only one mod0 clocks in the prcm, the ir clock. Signed-off-by: Hans de Goede hdego...@redhat.com --- Documentation/devicetree/bindings

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-25 Thread Hans de Goede
Hi, On 11/24/2014 11:03 PM, Maxime Ripard wrote: On Fri, Nov 21, 2014 at 10:13:10AM +0100, Hans de Goede wrote: Hi, On 11/21/2014 09:49 AM, Maxime Ripard wrote: Hi, On Thu, Nov 20, 2014 at 04:55:22PM +0100, Hans de Goede wrote: Add a driver for mod0 clocks found in the prcm. Currently

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-25 Thread Hans de Goede
Hi, On 11/25/2014 09:29 AM, Hans de Goede wrote: snip Well one reasons why clocks are instantiated the way they are is to have them available as early as possible, which is really convenient and works really well. You are asking for a whole lot of stuff to be changed, arguably in a way which

[PATCH v2 2/9] clk: sunxi: Make sun4i_a10_mod0_data available outside of clk-mod0.c

2014-11-23 Thread Hans de Goede
The sun6i prcm has mod0 compatible clocks, these need a separate driver because the prcm uses the mfd framework, but we do want to re-use the standard mod0 clk handling from clk-mod0.c for this, export sun4i_a10_mod0_data, so that the prcm mod0 clk driver can use this. Signed-off-by: Hans de

[PATCH v2 0/9] sun6i / A31 ir receiver support

2014-11-23 Thread Hans de Goede
Hi All, Here is v2 of my sun6i ir receiver support patch-set as with v1, this touches clk, mfd (for the prcm clks), dts and media/rc code. Changes in v2: -clk: sunxi: Give sunxi_factors_register a registers parameter -Updated commit message to mention the removal of __init -Add error checking

[PATCH v2 7/9] ARM: dts: sun6i: Add ir node

2014-11-23 Thread Hans de Goede
Add a node for the ir receiver found on the A31. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 4aa628b..d33e758 100644

[PATCH v2 8/9] ARM: dts: sun6i: Add pinmux settings for the ir pins

2014-11-23 Thread Hans de Goede
Add pinmux settings for the ir receive pin of the A31. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index d33e758..90b7537

[PATCH v2 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-23 Thread Hans de Goede
Add a driver for mod0 clocks found in the prcm. Currently there is only one mod0 clocks in the prcm, the ir clock. Signed-off-by: Hans de Goede hdego...@redhat.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/Makefile| 2 +- drivers/clk

[PATCH v2 1/9] clk: sunxi: Give sunxi_factors_register a registers parameter

2014-11-23 Thread Hans de Goede
to the of_iomap calls. This commit also drops the __init function from sunxi_factors_register since platform driver probe functions are not __init. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/clk/sunxi/clk-factors.c| 10 -- drivers/clk/sunxi/clk-factors.h| 7 --- drivers

[PATCH v2 4/9] rc: sunxi-cir: Add support for an optional reset controller

2014-11-23 Thread Hans de Goede
On sun6i the cir block is attached to the reset controller, add support for de-asserting the reset if a reset controller is specified in dt. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com Acked-by: Maxime Ripard maxime.rip...@free

[PATCH v2 9/9] ARM: dts: sun6i: Enable ir receiver on the Mele M9

2014-11-23 Thread Hans de Goede
The Mele M9 has an ir receiver, enable it. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31-m9.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts index 4202c64..94ddf9c 100644

[PATCH v2 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-23 Thread Hans de Goede
-by: Hans de Goede hdego...@redhat.com Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/media/sunxi-ir.txt | 2 +- drivers/media/rc/sunxi-cir.c| 21 - 2

[PATCH v2 6/9] ARM: dts: sun6i: Add ir_clk node

2014-11-23 Thread Hans de Goede
Add an ir_clk sub-node to the prcm node. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index a01b215..4aa628b 100644 --- a/arch

Re: [PATCH 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 09:26 AM, Maxime Ripard wrote: Hi Mauro, On Thu, Nov 20, 2014 at 02:28:56PM -0200, Mauro Carvalho Chehab wrote: Em Thu, 20 Nov 2014 16:55:24 +0100 Hans de Goede hdego...@redhat.com escreveu: Add support for the larger fifo found on sun5i and sun6i, having a separate

Re: [PATCH 1/9] clk: sunxi: Give sunxi_factors_register a registers parameter

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 09:35 AM, Maxime Ripard wrote: Hi Hans, On Thu, Nov 20, 2014 at 04:55:20PM +0100, Hans de Goede wrote: Before this commit sunxi_factors_register uses of_iomap(node, 0) to get the clk registers. The sun6i prcm has factor clocks, for which we want to use

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 09:49 AM, Maxime Ripard wrote: Hi, On Thu, Nov 20, 2014 at 04:55:22PM +0100, Hans de Goede wrote: Add a driver for mod0 clocks found in the prcm. Currently there is only one mod0 clocks in the prcm, the ir clock. Signed-off-by: Hans de Goede hdego...@redhat.com

Re: [PATCH 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-21 Thread Hans de Goede
Hi, On 11/21/2014 10:59 AM, Maxime Ripard wrote: On Fri, Nov 21, 2014 at 09:42:09AM +0100, Hans de Goede wrote: Hi, On 11/21/2014 09:26 AM, Maxime Ripard wrote: Hi Mauro, On Thu, Nov 20, 2014 at 02:28:56PM -0200, Mauro Carvalho Chehab wrote: Em Thu, 20 Nov 2014 16:55:24 +0100 Hans de

[PATCH 2/9] clk: sunxi: Make sun4i_a10_mod0_data available outside of clk-mod0.c

2014-11-20 Thread Hans de Goede
The sun6i prcm has mod0 compatible clocks, these need a separate driver because the prcm uses the mfd framework, but we do want to re-use the standard mod0 clk handling from clk-mod0.c for this, export sun4i_a10_mod0_data, so that the prcm mod0 clk driver can use this. Signed-off-by: Hans de

[PATCH 1/9] clk: sunxi: Give sunxi_factors_register a registers parameter

2014-11-20 Thread Hans de Goede
are not part of the dt-node, instead they are added to the platform_device, as platform_device resources. This commit makes getting the registers the callers duty, so that sunxi_factors_register can be used with mfd instantiated platform device too. Signed-off-by: Hans de Goede hdego...@redhat.com

[PATCH 0/9] sun6i / A31 ir receiver support

2014-11-20 Thread Hans de Goede
Hi Maxime, et al, Here is a patch series adding support for the ir receiver found on sun6i, it is the same one as found on sun5i (which is very similar to the sun4i one we already support), except that as usual on sun6i it needs a reset to be de-asserted. More interesting is the clocking of it,

[PATCH 9/9] ARM: dts: sun6i: Enable ir receiver on the Mele M9

2014-11-20 Thread Hans de Goede
The Mele M9 has an ir receiver, enable it. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31-m9.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts index 4202c64..94ddf9c 100644

[PATCH 6/9] ARM: dts: sun6i: Add ir_clk node

2014-11-20 Thread Hans de Goede
Add an ir_clk sub-node to the prcm node. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index a01b215..4aa628b 100644 --- a/arch

[PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-20 Thread Hans de Goede
Add a driver for mod0 clocks found in the prcm. Currently there is only one mod0 clocks in the prcm, the ir clock. Signed-off-by: Hans de Goede hdego...@redhat.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/Makefile| 2 +- drivers/clk

[PATCH 7/9] ARM: dts: sun6i: Add ir node

2014-11-20 Thread Hans de Goede
Add a node for the ir receiver found on the A31. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 4aa628b..d33e758 100644

[PATCH 8/9] ARM: dts: sun6i: Add pinmux settings for the ir pins

2014-11-20 Thread Hans de Goede
Add pinmux settings for the ir receive pin of the A31. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index d33e758..90b7537

[PATCH 5/9] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

2014-11-20 Thread Hans de Goede
-by: Hans de Goede hdego...@redhat.com --- .../devicetree/bindings/media/sunxi-ir.txt | 2 +- drivers/media/rc/sunxi-cir.c| 21 - 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/media/sunxi

[PATCH 4/9] rc: sunxi-cir: Add support for an optional reset controller

2014-11-20 Thread Hans de Goede
On sun6i the cir block is attached to the reset controller, add support for de-asserting the reset if a reset controller is specified in dt. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/rc/sunxi-cir.c | 25 +++-- 1 file changed, 23 insertions(+), 2

Re: [linux-sunxi] [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-20 Thread Hans de Goede
Hi, On 11/20/2014 07:24 PM, Chen-Yu Tsai wrote: Hi, On Thu, Nov 20, 2014 at 7:55 AM, Hans de Goede hdego...@redhat.com wrote: Add a driver for mod0 clocks found in the prcm. Currently there is only one mod0 clocks in the prcm, the ir clock. Signed-off-by: Hans de Goede hdego...@redhat.com

Re: v4l-utils stable release 1.6.1

2014-11-20 Thread Hans de Goede
Hi, On 11/20/2014 04:31 PM, Gregor Jasny wrote: Hello, do you consider something from these commits as important enough for a bugfix release? snip Hans de Goede (2): rc_keymaps: allwinner: S/KEY_HOME/KEY_HOMEPAGE/ v4lconvert: Fix decoding of jpeg data with no vertical sub

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Hans de Goede
Hi, On 10/22/2014 11:47 AM, Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Hi Sakari, On 10/21/2014 12:40 PM, Sakari Ailus wrote: Hi, This is a tiny library for parsing text-based media link, V4L2 sub-device format (and selection) configurations as well as controls with limited

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Hans de Goede
Hi, On 10/23/2014 10:54 AM, Jacek Anaszewski wrote: Hi Hans, Sakari, On 10/23/2014 10:19 AM, Hans de Goede wrote: Hi, On 10/22/2014 11:47 AM, Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Hi Sakari, On 10/21/2014 12:40 PM, Sakari Ailus wrote: Hi, This is a tiny library

Re: [PATCH] [media] gspca_touptek: Add support for ToupTek UCMOS series USB cameras

2014-10-23 Thread Hans de Goede
Hi, On 10/05/2014 08:43 AM, John McMaster wrote: Adds support for AmScope MU800 / ToupTek UCMOS08000KPB USB microscope camera. First of all many thanks for writing this driver, and also for submitting it upstream. We always appreciate it a lot when people put in the effort to write a driver to

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-23 Thread Hans de Goede
Hi, On 10/23/2014 12:01 PM, Laurent Pinchart wrote: On Thursday 23 October 2014 12:40:12 Sakari Ailus wrote: Hi Hans, Hans de Goede wrote: Maybe we should merge libmediactl into v4l-utils then ? Rather then v4l-utils growing an external dependency on it. Sakari ? libmediactl is already

Re: [v4l-utils RFC 0/2] libmediatext library

2014-10-21 Thread Hans de Goede
Hi Sakari, On 10/21/2014 12:40 PM, Sakari Ailus wrote: Hi, This is a tiny library for parsing text-based media link, V4L2 sub-device format (and selection) configurations as well as controls with limited types. Hmm, we also have: [PATCH/RFC v2 1/4] Add a media device configuration file

Re: [PATCH/RFC 1/1] Add a libv4l plugin for Exynos4 camera

2014-10-09 Thread Hans de Goede
Hi, On 10/08/2014 03:22 PM, Jacek Anaszewski wrote: Hi Hans, On 10/08/2014 02:42 PM, Hans de Goede wrote: snip +} + +/* refresh device topology data after linking */ +release_entities(mdev); + +ret = get_device_topology(mdev); + +/* close media device fd

Re: [PATCH/RFC 1/1] Add a libv4l plugin for Exynos4 camera

2014-10-08 Thread Hans de Goede
Hi, On 10/08/2014 10:46 AM, Jacek Anaszewski wrote: The plugin provides support for the media device on Exynos4 SoC. Added is also a media device configuration file parser. The media configuration file is used for conveying information about media device links that need to be established as

Re: Regression: in v4l2 converter does not set the buffer.length anymore

2014-09-30 Thread Hans de Goede
Hi, On 09/29/2014 11:23 PM, Nicolas Dufresne wrote: This was initially reported to GStreamer project: https://bugzilla.gnome.org/show_bug.cgi?id=737521 We track this down to be a regression introduced in v4l2-utils from version 1.4.0. In recent GStreamer we make sure the buffer.length

[PATCH 1/3] libv4l2: Fix restoring of original dest-fmt after a VIDIOC_S_DV_TIMING

2014-09-30 Thread Hans de Goede
Read the original pixelformat from dest_fmt, before overwriting dest_fmt with the new src_fmt. Signed-off-by: Hans de Goede hdego...@redhat.com --- lib/libv4l2/libv4l2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/libv4l2/libv4l2.c b/lib/libv4l2/libv4l2.c index

[PATCH 2/3] libv4l2: Set convert_mmap_frame_size as soon as we've a dest_fmt

2014-09-30 Thread Hans de Goede
We need convert_mmap_frame_size well before we need the convert-mmap buffer itself, and thus well before we call v4l2_ensure_convert_mmap_buf. This fixes querybuf returning a length of 0 for fake buffers. Signed-off-by: Hans de Goede hdego...@redhat.com --- lib/libv4l2/libv4l2-priv.h | 1

[PATCH 3/3] libv4l2: Move alignment of dest_fmt resolution to v4l2_set_src_and_dest_format

2014-09-30 Thread Hans de Goede
that bytesperline and sizeimage get set correctly. Signed-off-by: Hans de Goede hdego...@redhat.com --- lib/include/libv4lconvert.h | 3 +++ lib/libv4l2/libv4l2.c | 25 ++--- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/lib/include/libv4lconvert.h b/lib/include

Re: Upcoming v4l-utils 1.6.0 release

2014-09-30 Thread Hans de Goede
Hi, On 09/30/2014 05:20 PM, Gregor Jasny wrote: Hello, On 27/09/14 13:54, Mauro Carvalho Chehab wrote: Em Sat, 27 Sep 2014 12:57:11 +0200 Gregor Jasny gja...@googlemail.com escreveu: As far as I understand the service_location feature should work but is an extension to the standard. Does it

[PULL patches for 3.18]: 2 more gspca cleanup patches

2014-09-10 Thread Hans de Goede
Hi Mauro, Please pull from my tree for 2 minor gspca cleanup patches: The following changes since commit f5281fc81e9a0a3e80b78720c5ae2ed06da3bfae: [media] vpif: Fix compilation with allmodconfig (2014-09-09 18:08:08 -0300) are available in the git repository at:

Re: [PATCH] [media] sn9c20x: refactor initialization functions and fix lint warnings/errors

2014-09-08 Thread Hans de Goede
Hi, On 09/08/2014 04:25 AM, Morgan Phillips wrote: Centralize redundant print messages and references to sensor names via macros. Change msleep time from 10ms to 20ms in order to address checkpatch.pl warning: msleep 20ms can sleep for up to 20ms. Refactor redundant sensor

[PULL patches for 3.18]: 2 gspca cleanup patches

2014-09-01 Thread Hans de Goede
Hi Mauro, Please pull from my tree for 2 minor gspca cleanup patches: The following changes since commit b250392f7b5062cf026b1423e27265e278fd6b30: [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV (2014-08-21 15:25:38 -0500) are available in the git repository

Re: [PATCH] videobuf: Allow reqbufs(0) to free current buffers

2014-09-01 Thread Hans de Goede
. Regards, Hans On 08/31/2014 12:19 PM, Hans de Goede wrote: All the infrastructure for this is already there, and despite our desires for the old videobuf code to go away, it is currently still in use in 18 drivers. Allowing reqbufs(0) makes these drivers behave consistent

[PATCH] videobuf: Allow reqbufs(0) to free current buffers

2014-08-31 Thread Hans de Goede
://bugzilla.gnome.org/show_bug.cgi?id=735660 Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/v4l2-core/videobuf-core.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/media/v4l2-core/videobuf-core.c b/drivers/media/v4l2-core/videobuf-core.c index

Re: 3.15.6 USB issue with pwc cam

2014-08-14 Thread Hans de Goede
Hi, On 08/12/2014 05:29 PM, Udo van den Heuvel wrote: On 2014-08-12 17:07, Hans de Goede wrote: lspci -nn # lspci -nn 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex [1022:1410] 00:00.2 IOMMU [0806]: Advanced Micro Devices

Re: 3.15.6 USB issue with pwc cam

2014-08-12 Thread Hans de Goede
Hi Udo, On 08/07/2014 04:49 PM, Udo van den Heuvel wrote: On 2014-08-04 11:17, Laurent Pinchart wrote: (CC'ing Hans de Goede, the pwc maintainer, and the linux-media mailing list) Thanks for the bug report. I've been looking into this, and there seem to be 2 problems: 1: xhci_hcd :02:00.0

Re: [PULL patches for 3.17]: 2 gspca patches + sunxi cir support

2014-08-04 Thread Hans de Goede
Hi, On 08/04/2014 03:47 PM, Александр Берсенев wrote: Hello, any news with this patch? I assume you mean the sunxi-cir patch ? It has been pulled into the media tree a while back, and should show up in 3.17-rc1. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe

lockdep warning with 3.16.0-rc6+ + bttv

2014-07-28 Thread Hans de Goede
Hi, I've upgraded my machine to 3.16.o-rc6+ with lockdep enabled and now I get the following bttv related lockdep warning: [4.797234] media: Linux media interface: v0.10 [4.810984] snd_bt87x :04:07.1: bt87x0: Using board 1, analog, digital (rate 32000 Hz) [4.836178] Linux video

Re: libv4lconvert: fix RGB32 conversion

2014-07-20 Thread Hans de Goede
Hi, On 07/19/2014 03:38 PM, Hans Verkuil wrote: On 07/19/2014 02:37 PM, Hans de Goede wrote: Hi, On 07/19/2014 09:18 AM, Hans Verkuil wrote: The RGB32 formats start with an alpha byte in memory. So before calling the v4lconvert_rgb32_to_rgb24 or v4lconvert_rgb24_to_yuv420 function skip

Re: libv4lconvert: fix RGB32 conversion

2014-07-19 Thread Hans de Goede
Hi, On 07/19/2014 09:18 AM, Hans Verkuil wrote: The RGB32 formats start with an alpha byte in memory. So before calling the v4lconvert_rgb32_to_rgb24 or v4lconvert_rgb24_to_yuv420 function skip that initial alpha byte so the src pointer is aligned with the first color component, since that is

Re: [PATCH] libv4lconvert: add support for new pixelformats

2014-07-18 Thread Hans de Goede
Hi, On 07/18/2014 12:27 AM, Hans Verkuil wrote: Support for alpha-channel aware pixelformats was added. Recognize those formats in libv4lconvert. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Looks good: Acked-by: Hans de Goede hdego...@redhat.com Feel free to push. Regards, Hans

[PULL patches for 3.17]: New gspca_pac7302 usb-id + qce button fix

2014-07-14 Thread Hans de Goede
) Hans de Goede (1): gspca_pac7302: Add new usb-id for Genius i-Look 317 drivers/media/usb/gspca/pac7302.c | 1 + 1 file changed, 1 insertion(+) Thanks Regards, Hans -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] gspca_stv06xx: enable button found on some Quickcam Express variant

2014-07-14 Thread Hans de Goede
Hi, On 07/11/2014 02:56 PM, Antonio Ospite wrote: Signed-off-by: Antonio Ospite a...@ao2.it Thanks, I've added this to my tree and send a pull-req for it to Mauro. Regards, Hans --- drivers/media/usb/gspca/stv06xx/stv06xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 1/2] libv4lconvert: add support for extended controls

2014-07-14 Thread Hans de Goede
to the driver. This patch adds support for this API. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Looks good, feel free to push: Reviewed by: Hans de Goede hdego...@redhat.com Regards, Hans --- lib/include/libv4lconvert.h | 6 ++ lib/libv4l2/libv4l2.c

Re: [PATCH 2/2] libv4lcontrol: sync control strings/flags with the kernel

2014-07-14 Thread Hans de Goede
to push: Reviewed by: Hans de Goede hdego...@redhat.com Regards, Hans --- lib/libv4lconvert/control/libv4lcontrol.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c

[PULL patches for 3.17]: New usb-id for gspca_pac7302

2014-07-09 Thread Hans de Goede
://linuxtv.org/hgoede/gspca.git media-for_v3.17 for you to fetch changes up to d2cfd7d0ce530928dfacd5cca0a544e1b071e925: gspca_pac7302: Add new usb-id for Genius i-Look 317 (2014-07-09 11:20:44 +0200) Hans de Goede (1

[PULL patches for 3.17]: 2 gspca patches + sunxi cir support

2014-06-30 Thread Hans de Goede
Hi Mauro, Please pull from my tree for 2 gspca patches + sunxi cir support (I'm a sunxi Linux support contributor and have reviewed and tested the cir driver on various a10 and a20 SoC boards). The following changes since commit b5b620584b9c4644b85e932895a742e0c192d66c: [media]

Re: [RFC 1/2] gspca: provide a mechanism to select a specific transfer endpoint

2014-06-24 Thread Hans de Goede
Hi, On 06/24/2014 03:35 PM, Antonio Ospite wrote: On Thu, 19 Jun 2014 16:27:59 +0200 Hans de Goede hdego...@redhat.com wrote: Hi Antonio, Thanks for working on this. On 06/04/2014 10:24 PM, Antonio Ospite wrote: Add a xfer_ep_index field to struct gspca_dev, and change alt_xfer() so

Re: [PATCH RESEND] libv4lconvert: Fix a regression when converting from Y10B

2014-06-19 Thread Hans de Goede
Hi, On 06/18/2014 04:40 PM, Antonio Ospite wrote: On Wed, 18 Jun 2014 15:59:13 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 06/18/2014 03:23 PM, Antonio Ospite wrote: On Wed, 18 Jun 2014 13:46:10 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 06/18/2014 01:43 PM, Hans

Re: [RFC 1/2] gspca: provide a mechanism to select a specific transfer endpoint

2014-06-19 Thread Hans de Goede
Hi Antonio, Thanks for working on this. On 06/04/2014 10:24 PM, Antonio Ospite wrote: Add a xfer_ep_index field to struct gspca_dev, and change alt_xfer() so that it accepts a parameter which represents a specific endpoint to look for. If a subdriver wants to specify a value for

Re: [RFC 2/2] gspca_kinect: add support for the depth stream

2014-06-19 Thread Hans de Goede
Hi, On 06/04/2014 10:24 PM, Antonio Ospite wrote: Add support for the depth mode at 10bpp, use a command line parameter to switch mode. NOTE: this is just a proof-of-concept, the final implementation will have to expose two v4l2 devices, one for the video stream and one for the depth

Re: [PATCH RESEND] libv4lconvert: Fix a regression when converting from Y10B

2014-06-18 Thread Hans de Goede
Hi, On 06/16/2014 05:00 PM, Antonio Ospite wrote: Fix a regression introduced in commit efc29f1764a30808ebf7b3e1d9bfa27b909bf641 (libv4lconvert: Reject too short source buffer before accessing it). The old code: case V4L2_PIX_FMT_Y10BPACK: ... if (result == 0 src_size

Re: [PATCH RESEND] libv4lconvert: Fix a regression when converting from Y10B

2014-06-18 Thread Hans de Goede
Hi, On 06/18/2014 01:43 PM, Hans de Goede wrote: Hi, On 06/16/2014 05:00 PM, Antonio Ospite wrote: Fix a regression introduced in commit efc29f1764a30808ebf7b3e1d9bfa27b909bf641 (libv4lconvert: Reject too short source buffer before accessing it). The old code: case

Re: [PATCH RESEND] libv4lconvert: Fix a regression when converting from Y10B

2014-06-18 Thread Hans de Goede
Hi, On 06/18/2014 03:23 PM, Antonio Ospite wrote: On Wed, 18 Jun 2014 13:46:10 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 06/18/2014 01:43 PM, Hans de Goede wrote: Hi, On 06/16/2014 05:00 PM, Antonio Ospite wrote: Fix a regression introduced in commit

Re: [PATCH] V4L: uvcvideo: Add support for relative pan/tilt controls

2014-06-17 Thread Hans de Goede
Hi, On 06/17/2014 02:38 AM, Vincent Palatin wrote: Map V4L2_CID_TILT_RELATIVE and V4L2_CID_PAN_RELATIVE to the standard UVC CT_PANTILT_ABSOLUTE_CONTROL terminal control request. s/ABSOLUTE/RELATIVE in the commit message here. Otherwise looks good to me. Regards, Hans Tested by plugging

Re: [PATCH/RFC v2 2/2] libv4l2: release the lock before doing a DQBUF

2014-06-09 Thread Hans de Goede
-t -b -s 2000 Signed-off-by: Thiago Santos ts.san...@sisa.samsung.com Looks good now: Acked-by: Hans de Goede hdego...@redhat.com I'll leave reviewing the 1st patch to someone else. Gregor and/or Mauro feel free to push this one. Regards, Hans --- lib/libv4l2/libv4l2-priv.h | 1 + lib

Re: [PATCH/RFC 2/2] libv4l2: release the lock before doing a DQBUF

2014-06-06 Thread Hans de Goede
Hi, On 06/05/2014 05:31 PM, Thiago Santos wrote: In blocking mode, if there are no buffers available the DQBUF will block waiting for a QBUF to be called but it will block holding the streaming lock which will prevent any QBUF from happening, causing a deadlock. Can be tested with: v4l2grab

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-06-06 Thread Hans de Goede
Hi, On 06/05/2014 02:23 PM, Laurent Pinchart wrote: The V4L2 specification states that When the application did not call VIDIOC_QBUF or VIDIOC_STREAMON yet the poll() function succeeds, but sets the POLLERR flag in the revents field. The vb2_poll() function sets POLLERR when the queued

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

2014-05-14 Thread Hans de Goede
Hi, snip On 05/13/2014 08:39 PM, Alexander Bersenev wrote: diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 0ae2b77..40ded74 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -724,6 +724,19 @@

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

2014-05-08 Thread Hans de Goede
Hi, On 04/30/2014 05:16 PM, Alexander Bersenev wrote: 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 b...@hackerdom.ru Signed-off-by: Alexsey

[PATCH 1/3] rc_keymaps: Add a keymap for the remote shipped with allwinner ba10 tv boxes

2014-05-08 Thread Hans de Goede
This is an unbranded remote found with unbranded allwinner a10 based android tv boxes, which are referred to as ba10 tv boxes since the pcb is marked ba10 (the ba10 name is also used in u-boot and for the devicetree files). Signed-off-by: Hans de Goede hdego...@redhat.com --- utils/keytable

[PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv

2014-05-08 Thread Hans de Goede
Hi All, These patches add keymaps for the remotes found with various allwinner android tv boxes. I've checked that these are not duplicate with existing configs. These tv-boxes can run regular Linux, and that is what these keymaps are intended for. If there are no objections I'm going to push

[PATCH 3/3] rc_keymaps: Add keymap for the remote shipped with the Wobo i5 tv box

2014-05-08 Thread Hans de Goede
The Wobo i5 is an allwinner based android tv box, with its own custom remote, this adds a keymap for this remote (like all allwinner devices, the wobo i5 can run plain Linux). Signed-off-by: Hans de Goede hdego...@redhat.com --- utils/keytable/rc_keymaps/wobo_i5 | 9 + 1 file changed, 9

[PATCH 2/3] rc_keymaps: Add a keymap for the remote shipped with allwinner i12-a20 tv boxes

2014-05-08 Thread Hans de Goede
This is an unbranded remote found with unbranded allwinner a20 based android tv boxes, which are referred to as i12 tv boxes since the pcb is marked i12 (the i12 name is also used in u-boot and for the devicetree files). Signed-off-by: Hans de Goede hdego...@redhat.com --- utils/keytable

Re: [Bugreport] v4l-utils/libv4lconvert/ov511-decomp does not shutdown on SIGTERM

2014-04-21 Thread Hans de Goede
Hi, Thanks for the bug report. I must say I don't really like the suggested fix. Can you try removing the kill altogether and moving the 2 close calls to above the waitpid call and see if that helps, I think that is a cleaner solution. Thanks Regards, Hans On 04/21/2014 03:11 PM, Andrey

Re: [PATCH 1/1] media:gspca:dtcs033 Clean sparse check warnings on endianess

2014-04-18 Thread Hans de Goede
Hi, On 04/16/2014 08:46 PM, Robert Butora wrote: Warnings due to __le16 / u16 conversions. Replace offending struct and so stay on cpu domain. Signed-off-by: Robert Butora robert.butora...@gmail.com Thanks, I'll include this in my next pull-req to Mauro. Regards, Hans ---

Re: [PATCH] [media] Prefer gspca_sonixb over sn9c102 for all devices

2014-04-13 Thread Hans de Goede
must migrate all the users of these devices to the gspca_sonixb driver now, so that it gets sufficient testing before the sn9c102 driver is finally phased out. Signed-off-by: Jean Delvare jdelv...@suse.de Cc: Hans de Goede hdego...@redhat.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc

Re: gspca second isoc endpoint / kinect depth

2014-04-09 Thread Hans de Goede
Hi, On 04/08/2014 08:13 PM, Alexander Sosna wrote: Hi, I took drivers/media/usb/gspca/kinect.c as skeleton to build a depth driver for the kinect camera. I needed to implement this feature because libfreenect performs so badly on the raspberry pi that you can't get a single frame. The

Re: [PATCH 1/1] media/usb/gspca: Add support for Scopium astro webcam (0547:7303)

2014-04-02 Thread Hans de Goede
Hi, On 03/24/2014 11:41 PM, Robert Butora wrote: This patch does not modify existing drivers. It adds subdriver to gspca for DTCS033 (Scopium) webcam for astrophotography. The patch adds dtcs033.c and modifies Kconfig and Makefile. Signed-off-by: Robert Butora robert.butora...@gmail.com

[GIT PULL new driver for 3.15] media/usb/gspca: Add support for Scopium astro webcam (0547:7303)

2014-04-02 Thread Hans de Goede
Hi Mauro, Please pull from my gspca git tree for a new gspca based webcam driver, since this is a new driver which does not touch anything else, I would like to see this go into 3.15 . The following changes since commit a83b93a7480441a47856dc9104bea970e84cda87: [media] em28xx-dvb: fix PCTV

Re: [PATCH] gspca_gl860: Clean up idxdata structs

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 02:21 PM, Hans Verkuil wrote: On 03/15/2014 11:08 AM, Hans de Goede wrote: Hi, Some better commit msg would be nice, otherwise this patch is: Acked-by: Hans de Goede hdego...@redhat.com Hans Verkuil has mailed me that he would like to pick this up through his tree. Hans

Re: [PATCH] gspca_gl860: Clean up idxdata structs

2014-03-15 Thread Hans de Goede
Hi, Some better commit msg would be nice, otherwise this patch is: Acked-by: Hans de Goede hdego...@redhat.com Hans Verkuil has mailed me that he would like to pick this up through his tree. Hans V. , I say go for it :) Regards, Hans On 03/14/2014 08:43 PM, Ismael Luceno wrote: Signed-off

Re: libv4lconvert: remove broken ALTERNATE handling

2014-03-14 Thread Hans de Goede
Hi, On 03/14/2014 01:39 PM, Hans Verkuil wrote: The V4L2 specification used to say that if field == V4L2_FIELD_ALTERNATE, the height would have to be divided by two. This is incorrect, the height is that of a single field. This has been corrected in the spec, now this code in libv4lconvert

Re: [APP-BUG] UVC camera not working with skype

2014-02-23 Thread Hans de Goede
Hi, On 02/23/2014 01:06 PM, Hans Petter Selasky wrote: Hi, I have debugged why a USB video class camera doesn't work with skype. Skype finds the device and opens /dev/video0. Skype tries to enumerate the device, but apparently does not care about the return value from the

Re: [APP-BUG] UVC camera not working with skype

2014-02-23 Thread Hans de Goede
Hi, On 02/23/2014 06:16 PM, Hans Petter Selasky wrote: On 02/23/14 14:51, Hans de Goede wrote: Ugh, if we add special code to libv4l for this the amount of libv4l skype specific fixes is going to become ridiculous (we also fake all cams doing 320x240 for skype). Have you tried contacting

Re: [PATCH 1/2] gspca_kinect: fix kinect_read() error path

2014-02-23 Thread Hans de Goede
Hi, Thanks I've added both to my gspca tree for 3.15 Regards, Hans On 12/30/2013 05:41 PM, Antonio Ospite wrote: The error checking code relative to the invocations of kinect_read() does not return the actual return code of the function just called, it returns res which still contains the

Re: [PATCH] media: gspca: sn9c20x: add ID for Genius Look 1320 V2

2014-02-23 Thread Hans de Goede
Hi, Thanks I've added this to my gspca tree for 3.15, with a Cc: sta...@vger.kernel.org For backporting it to older kernels. Regards, Hans On 02/01/2014 07:26 PM, Wolfram Sang wrote: Signed-off-by: Wolfram Sang w...@the-dreams.de --- Documentation/video4linux/gspca.txt | 1 +

Re: [patch] [media] gspca_stv06xx: remove an unneeded check

2014-02-23 Thread Hans de Goede
Hi, On 02/18/2014 04:00 PM, Dan Carpenter wrote: err is zero here so we don't need to check again. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c b/drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c index

Re: [media] gspca - topro: New subdriver for Topro webcams

2014-02-23 Thread Hans de Goede
Hi, On 01/30/2014 01:14 PM, Dan Carpenter wrote: Hello Jean-François Moine, The patch 8f12b1ab2fac: [media] gspca - topro: New subdriver for Topro webcams from Sep 22, 2011, leads to the following static checker warning: drivers/media/usb/gspca/topro.c:4642 sd_pkt_scan() warn:

[GIT PULL PATCHES for 3.15] Various small gspca fixes

2014-02-23 Thread Hans de Goede
) Antonio Ospite (2): gspca_kinect: fix kinect_read() error path gspca_kinect: fix messages about kinect_read() return value Dan Carpenter (1): gspca_stv06xx: remove an unneeded check Hans de Goede (1): gspca_topro: Add

Re: PWC webcam and setpwc tool no longer working with 3.12.11 kernel

2014-02-21 Thread Hans de Goede
Hi, On 02/20/2014 08:30 PM, Chris Rankin wrote: Hi, I have an old Logitech webcam, with USB IDs 046d:08b3. When I try to use this camera now, I see this error in the dmesg log: [ 2883.852464] pwc: isoc_init() submit_urb 0 failed with error -28 This error is apparently ENOSPC,

Re: [PATCH] media: gspaca: check pointer against NULL before using it in create_urbs()

2014-01-10 Thread Hans de Goede
Hi, Thanks for the patch, but the return value is already checked earlier on when building the ep_tb table, so it can never return NULL here. Regards, Hans On 01/10/2014 02:07 PM, Hans Verkuil wrote: Cc to linux-media and Hans de Goede (gspca maintainer). Regards, Hans On 01/07/14

Fwd: question about drivers/media/usb/gspca/kinect.c

2013-12-26 Thread Hans de Goede
Hi, Forwarding this to Antonio, the author of the kinect driver, who is the best person to answer this. Regards, Hans Original Message Subject: question about drivers/media/usb/gspca/kinect.c Date: Wed, 25 Dec 2013 20:00:34 +0100 (CET) From: Julia Lawall

Re: [RFC PATCH 1/2] sn9c102: prepare for removal by moving it to staging.

2013-12-15 Thread Hans de Goede
Hi, On 12/15/2013 12:18 PM, Hans Verkuil wrote: snip 4) Send the webcams that are not (or not correctly) supported by gscpa to Hans de Goede, and let him add support for them to gspca. I don't know if he wants to, though. He may well decide that it is not worth it, although I

[PATCH] gspca_sunplus: Add new usb-id for 06d6:0041

2013-11-24 Thread Hans de Goede
Reported-by: mjs mjst...@gmail.com Tested-by: mjs mjst...@gmail.com Cc: Geert Stappers stapp...@stappers.nl Cc: sta...@vger.linux.org Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/usb/gspca/sunplus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/gspca

<    1   2   3   4   5   6   7   8   9   10   >