[PATCH] [media] uvcvideo: zero seq number when disabling stream

2017-08-27 Thread Hans Yang
For bulk-based devices, when disabling the video stream, in addition to issue CLEAR_FEATURE(HALT), it is better to set alternate setting 0 as well or the sequnce number in host side will probably not reset to zero. Then in next time video stream start, the device will expect host starts packet fro

cron job: media_tree daily build: ERRORS

2017-08-27 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: Mon Aug 28 05:00:16 CEST 2017 media-tree git hash:9a45bf28bc39ff6ed45a008f7201289c8e9e60a6 media_build gi

Re: [PATCH v2] device property: preserve usecount for node passed to of_fwnode_graph_get_port_parent()

2017-08-27 Thread Sakari Ailus
Hi Rob, On Tue, Aug 22, 2017 at 02:42:10PM -0500, Rob Herring wrote: > On Tue, Aug 22, 2017 at 10:00 AM, Niklas Söderlund > wrote: > > Hi Rob, > > > > On 2017-08-22 09:49:35 -0500, Rob Herring wrote: > >> On Mon, Aug 21, 2017 at 7:19 PM, Niklas Söderlund > >> wrote: > >> > Using CONFIG_OF_DYNAMI

Re: [PATCH] v4l: use struct v4l2_buffer explicitly instead of void *

2017-08-27 Thread Mauro Carvalho Chehab
Em Fri, 28 Jul 2017 14:45:37 +0200 (CEST) Guennadi Liakhovetski escreveu: > A number of functions use void * for a struct v4l2_buffer parameter. > Avoid that to improve compile-time checking. Nack. The videbuf2-core should be be independent of videobuf2-v4l2. The plan is to use it for DVB too.

Re: [PATCH] staging: atomisp: constify v4l2_subdev_sensor_ops

2017-08-27 Thread Sakari Ailus
Hi Arvind, On Sun, Aug 27, 2017 at 11:26:39AM +0530, Arvind Yadav wrote: > v4l2_subdev_sensor_ops are not supposed to change at runtime. > v4l2_subdev_sensor_ops are working with const 'sensor' field of > sturct v4l2_subdev_ops. So mark the non-const v4l2_subdev_sensor_ops > structs as const. > >

[PATCH 1/4] [media] max2175: Propagate the real error on devm_clk_get() failure

2017-08-27 Thread Fabio Estevam
From: Fabio Estevam When devm_clk_get() fails we should return the real error code instead of always returning -ENODEV. This allows defer probe to happen in the case the clock provider has not been enabled by the time max2175 driver gets probed. Signed-off-by: Fabio Estevam --- drivers/media/

[PATCH 3/4] [media] ov2640: Propagate the real error on devm_clk_get() failure

2017-08-27 Thread Fabio Estevam
From: Fabio Estevam devm_clk_get() may return different error codes other than -EPROBE_DEFER, so it is better to return the real error code instead. Signed-off-by: Fabio Estevam --- drivers/media/i2c/ov2640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c

[PATCH 2/4] [media] mt9m111: Propagate the real error on v4l2_clk_get() failure

2017-08-27 Thread Fabio Estevam
From: Fabio Estevam v4l2_clk_get() may return different error codes other than -EPROBE_DEFER, so it is better to return the real error code instead. Signed-off-by: Fabio Estevam --- drivers/media/i2c/mt9m111.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2

[PATCH 4/4] [media] ov2640: Check the return value from clk_prepare_enable()

2017-08-27 Thread Fabio Estevam
From: Fabio Estevam clk_prepare_enable() may fail, so we should better check its return value and propagate it in the case of error. Signed-off-by: Fabio Estevam --- drivers/media/i2c/ov2640.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/ov2640.c b/d

Re: [PATCH v3 14/14] [media] cxd2880 : Update MAINTAINERS file for CXD2880 driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 17:02:05 +0900 "Takiguchi, Yasunari" escreveu: > From: Yasunari Takiguchi > > I add an e-mail address and re-send this mail again. > > This is MAINTAINERS file update about the driver for > the Sony CXD2880 DVB-T2/T tuner + demodulator. Patches 12-14 look OK to me (althoug

Re: [PATCH v3 11/14] [media] cxd2880: Add DVB-T2 monitor and integration layer functions

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:43:41 +0900 escreveu: > From: Yasunari Takiguchi > > Provide monitor and integration layer functions (DVB-T2) > for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_integ_dvbt2.c >

Re: [PATCH v3 10/14] [media] cxd2880: Add DVB-T2 control functions for the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:42:32 +0900 escreveu: > From: Yasunari Takiguchi > > Provide definitions, interfaces and functions needed for DVB-T2 > of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt2.h >

Re: [PATCH v3 09/14] [media] cxd2880: Add DVB-T monitor and integration layer functions

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:41:42 +0900 escreveu: > From: Yasunari Takiguchi > > Provide monitor and integration layer functions (DVB-T) > for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_integ_dvbt.c >

Re: [PATCH v3 08/14] [media] cxd2880: Add DVB-T control functions the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:40:37 +0900 escreveu: > From: Yasunari Takiguchi > > Provide definitions, interfaces and functions needed for DVB-T > of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt.h >

Re: [PATCH v3 07/14] [media] cxd2880: Add top level of the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:39:45 +0900 escreveu: > From: Yasunari Takiguchi > > This provides the main dvb frontend operation functions > for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_top.c > -adju

Re: [PATCH v3 05/14] [media] cxd2880: Add tuner part of the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Sun, 27 Aug 2017 11:45:44 -0300 Mauro Carvalho Chehab escreveu: > Em Wed, 16 Aug 2017 13:37:14 +0900 > escreveu: > > > From: Yasunari Takiguchi > > > > This part of the driver has the main routines to handle > > the tuner and demodulator functionality. The tnrdmd_mon.* files > > have moni

Re: [PATCH v3 05/14] [media] cxd2880: Add tuner part of the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:37:14 +0900 escreveu: > From: Yasunari Takiguchi > > This part of the driver has the main routines to handle > the tuner and demodulator functionality. The tnrdmd_mon.* files > have monitor functions for the driver. > This is part of the Sony CXD2880 DVB-T2/T tuner + dem

Re: [PATCH] [media] dvb-frontends/mxl5xx: fix lock check order

2017-08-27 Thread Daniel Scheller
Am Sun, 27 Aug 2017 09:18:07 -0300 schrieb Mauro Carvalho Chehab : Thanks for looking at this. > Em Sun, 20 Aug 2017 12:45:45 +0200 > Daniel Scheller escreveu: > > > From: Daniel Scheller > > > > Always add a description at the patch. Sorry. Will remember to do so even for these rather se

Re: [PATCH v4] drm/bridge/sii8620: add remote control support

2017-08-27 Thread Hans Verkuil
Hi Maciej, On 24/08/17 10:58, Maciej Purski wrote: > MHL specification defines Remote Control Protocol(RCP) to > send input events between MHL devices. > The driver now recognizes RCP messages and reacts to them > by reporting key events to input subsystem, allowing > a user to control a device us

Re: [PATCH v4] drm/bridge/sii8620: add remote control support

2017-08-27 Thread Mauro Carvalho Chehab
Em Thu, 24 Aug 2017 10:58:07 +0200 Maciej Purski escreveu: > MHL specification defines Remote Control Protocol(RCP) to > send input events between MHL devices. > The driver now recognizes RCP messages and reacts to them > by reporting key events to input subsystem, allowing > a user to control a

[PATCH] cx23885: Explicitly list Hauppauge model numbers of HVR-4400 and HVR-5500

2017-08-27 Thread Matthias Schwarzott
Add two new model numbers to suppress this message in kernel log: cx23885: cx23885[0]: warning: unknown hauppauge model #121029 Add these model numbers: * Model 121019 - WinTV-HVR4400 * Model 121029 - WinTV-HVR5500 For WinTV-HVR4400 the documentation and my hardware differ: Documentation says

Re: [PATCH] [media] dvb-frontends/mxl5xx: fix lock check order

2017-08-27 Thread Mauro Carvalho Chehab
Em Sun, 20 Aug 2017 12:45:45 +0200 Daniel Scheller escreveu: > From: Daniel Scheller > Always add a description at the patch. > Signed-off-by: Daniel Scheller > --- > When the mxl5xx driver together with the ddbridge glue gets merged ([1]), > this one should go in aswell - this fix is part

Re: [PATCH] [em28xx] add config for em28xx-based board by MAGIX

2017-08-27 Thread Mauro Carvalho Chehab
Em Fri, 18 Aug 2017 12:11:00 + panic escreveu: > Hi, > > the patch below adds the entries to the config arrays for a capture-only > board distributed by MAGIX [0]. The hardware itself (EM2860, SAA7113, > EMP202) is already supported. > This patch lacks the configuration for the GPIO pin, be

Re: [RFC PATCH v4 3/6] i2c: add docs to clarify DMA handling

2017-08-27 Thread Mauro Carvalho Chehab
Em Thu, 17 Aug 2017 16:14:46 +0200 Wolfram Sang escreveu: > Signed-off-by: Wolfram Sang > --- > Documentation/i2c/DMA-considerations | 50 > > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/i2c/DMA-considerations > > diff --git a/Docu

[PATCH V2 1/1] build: gpio-ir-tx backport

2017-08-27 Thread Jasmin J.
From: Jasmin Jessich - Added v3.16_gpio-ir-tx.patch - gpio_ir_tx needs 3.13. at least Signed-off-by: Jasmin Jessich --- backports/backports.txt | 1 + backports/v3.16_gpio-ir-tx.patch | 25 + v4l/versions.txt | 2 +- 3 files changed, 27 insert

[PATCH V2 0/1] build: gpio-ir-tx for 3.13

2017-08-27 Thread Jasmin J.
From: Jasmin Jessich Changes to V1: Moved IR_GPIO_TX from 4.10.0 to 3.13.0 instead of adding it. Kernel 3.17 introduces GPIOD_OUT_LOW/HIGH. gpio-ir-tx requires this definitions. This patch adds the API calls prior to 3.17 to be used by gpio-ir-tx. With that gpio-ir-tx can be compiled back to Ke

Re: [GIT PULL] SAA716x DVB driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Fri, 21 Jul 2017 22:44:42 +0200 Soeren Moch escreveu: > Hi Mauro, > > On 20.07.2017 07:49:36 -0300, Mauro Carvalho Chehab wrote: > >Hi Soeren, > > > >Em Sun, 16 Jul 2017 20:34:23 +0200 > >Soeren Moch escreveu: > > > >> This is a driver for DVB cards based on the SAA7160/62 PCIe bridges fro

Fwd: Aw: Fwd: [PATCH 1/2] cx23885: Fix use-after-free when unregistering the i2c_client for the dvb demod

2017-08-27 Thread Matthias Schwarzott
Forwarding a tested-by statement (using a HVR-5500). Regards Matthias Weitergeleitete Nachricht Betreff: Aw: Fwd: [PATCH 1/2] cx23885: Fix use-after-free when unregistering the i2c_client for the dvb demod Datum: Sun, 27 Aug 2017 12:18:55 +0200 Von: "Sven Müller" An: Matthias S