cron job: media_tree daily build: WARNINGS

2017-05-07 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 May 8 05:00:14 CEST 2017 media-tree git hash:3622d3e77ecef090b5111e3c5423313f11711dfa media_build gi

[PATCH] updated 'dvb-apps' source/headers to reflect FSF's new physical address

2017-05-07 Thread Andrew Siplas
Sources from https://linuxtv.org/hg/dvb-apps contain outdated address. Easily verifiable via fsf.org , etc. # HG changeset patch # User Andrew Siplas # Date 1494134745 14400 # Sun May 07 01:25:45 2017 -0400 # Node ID de11eebb3d835387a2d0a5c3622f4dd91f2b4bbd # Parent 3d43b280298c39a67d1d88

[PATCH] staging: media/atomisp: drop unused qos variable

2017-05-07 Thread Valentin Vidic
Fixes a sparse warning: drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c:35:5: warning: symbol 'qos' was not declared. Should it be static? Signed-off-by: Valentin Vidic --- drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c | 1 - 1 file changed, 1

Re: [PATCH v5] media: platform: Renesas IMR driver

2017-05-07 Thread Kuninori Morimoto
Hi Laurent > > >> Laurent: what do you think about the need for SoC-specific compatible > > >> values for the various IM* blocks? > > > > > > There's no documented IP core version register, but when dumping all > > > configuration registers on H3 and M3-W I noticed that register 0x002c, not > >

[PATCH v2 1/2] v4l: vsp1: Add support for colorkey alpha blending

2017-05-07 Thread Alexandru Gheorghe
The vsp2 hw supports changing of the alpha of pixels that match a color key, this patch adds support for this feature in order to be used by the rcar-du driver. The colorkey is interpreted different depending of the pixel format: * RGB - all color components have to match. * YCbCr

[PATCH] [media] pvrusb2: remove redundant check on cnt > 8

2017-05-07 Thread Colin King
From: Colin Ian King The 2nd check of cnt > 8 is redundant as cnt is already checked and thresholded to a maximum of 8 a few statements earlier. Remove this redundant 2nd check. Detected by CoverityScan, CID#114281 ("Logically dead code") Signed-off-by: Colin Ian King --- drivers/media/usb/pv

Re: [PATCH 2/2] drm: rcar-du: Add support for colorkey alpha blending

2017-05-07 Thread Gheorghe, Alexandru
Hi Laurent, On Thursday, May 4, 2017 3:44 PM Laurent Pinchart wrote: > Hi Alexandru, > > On Thursday 04 May 2017 13:53:33 agheorghe wrote: >> Add two new plane properties colorkey and colorkey_alpha for rcar gen3. >> * colorkey: >> - used for specifying the color on which the filtering is d

Re: [PATCH v3 00/13] stv0367/ddbridge: support CTv6/FlexCT hardware

2017-05-07 Thread Daniel Scheller
Am Wed, 12 Apr 2017 21:23:27 +0200 schrieb Daniel Scheller : > Am Wed, 29 Mar 2017 18:43:00 +0200 > schrieb Daniel Scheller : > > > From: Daniel Scheller > > > > Third iteration of the DD CineCTv6/FlexCT support patches with > > mostly all things cleaned up that popped up so far. Obsoletes V1 >

[PATCH] [media] ir-spi: Fix issues with lirc API

2017-05-07 Thread Anton Blanchard
From: Anton Blanchard The ir-spi driver has 2 issues which prevents it from working with lirc: 1. The ir-spi driver uses 16 bits of SPI data to create one cycle of the waveform. As such our SPI clock needs to be 16x faster than the carrier frequency. The driver is inconsistent in how it current

cron job: media_tree daily build: ERRORS

2017-05-07 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: Sun May 7 05:00:52 CEST 2017 media-tree git hash:3622d3e77ecef090b5111e3c5423313f11711dfa media_build gi

[PATCH v2 2/2] drm: rcar-du: Add support for colorkey alpha blending

2017-05-07 Thread Alexandru Gheorghe
Add two new plane properties colorkey and colorkey_alpha for rcar gen3. * colorkey: - used for specifying the color on which the filtering is done. - bits 0 to 23 are interpreted as RGB888 format, in case we are dealing with an YCbCr format, only the Y componenet is

Re: [PATCH] libdvbv5: T2 delivery descriptor: fix wrong size of bandwidth field

2017-05-07 Thread Mauro Carvalho Chehab
Em Fri, 5 May 2017 01:14:29 +0200 Reinhard Speyerer escreveu: > Hi Gregor and Mauro, > > For some reason several/most(?) programs from freenet.TV (connect) which > are distributed via the Internet instead of DVB-T2 have duplicate entries. Found the issue. There's a logic inside the scan algori

Re: [PATCH v3 1/2] em28xx: Ignore errors while reading from eeprom

2017-05-07 Thread Frank Schäfer
Am 03.05.2017 um 04:12 schrieb Mauro Carvalho Chehab: > While testing support for Terratec H6 rev. 2, it was noticed > that reading from eeprom there causes a timeout error. > > Apparently, this is due to the need of properly setting GPIOs. > > In any case, the driver doesn't really require eeprom

[PATCH 4/7] [staging] cxd2099/cxd2099.c/.h: Fixed buffer mode

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich The buffer mode was already implemented in this driver, but it did not work as expected. This has been fixed now, but it is still deactivated and can be activated by removing a comment at the begin of the file. Signed-off-by: Ralph Metzler Signed-off-by: Daniel Scheller Si

[PATCH 2/7] [media] dvb-core/dvb_ca_en50221.c: Increase timeout for link init

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Some CAMs do a really slow initialization, which requires a longer timeout for the first response. Signed-off-by: Ralph Metzler Signed-off-by: Daniel Scheller Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH 3/7] [media] dvb-core/dvb_ca_en50221.c: Add block read/write functions

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Some lower level drivers may work better when sending blocks of data instead byte per byte. For this we need new function pointers in the dvb_ca_en50221 protocol structure (read_data, write_data) and the protocol needs to execute them, if they are defined. Block data transmis

[PATCH 6/7] [staging] cxd2099/cxd2099.c: Removed useless printing in cxd2099 driver

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Signed-off-by: Jasmin Jessich --- drivers/staging/media/cxd2099/cxd2099.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c index ac01433..64de129 100644 ---

[PATCH 0/7] Add block read/write to en50221 CAM functions

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich These patch series implement a block read/write interface to the en50221 CAM control functions. The origin of this patches can be found in the Digital Devices Git on https://github.com/DigitalDevices/dddvb maintained by Ralph Metzler The relevant changes concerning dvb-core

[PATCH 10/11] [media] dvb-core/dvb_ca_en50221.c: Make checkpatch happy 6

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Fixed most of WARNING: line over 80 characters The remaining lines are printk strings, which should not be split. The WARNING: memory barrier without comment WARNING: Prefer [subsystem eg: netdev]_dbg will not be fixed. checkpatch result: total: 0 errors, 7 warnings

[PATCH 06/11] [media] dvb-core/dvb_ca_en50221.c: Make checkpatch happy 2

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Fixed all: ERROR: do not use assignment in if condition Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 130 +--- 1 file changed, 88 insertions(+), 42 deletions(-) diff --git a/drivers/media/dvb-core/dvb_ca_en50221

[PATCH 08/11] [media] dvb-core/dvb_ca_en50221.c: Make checkpatch happy 4

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Fixed all: WARNING: Missing a blank line after declarations WARNING: Block comments use * on subsequent lines Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff

[PATCH 5/7] [media] ddbridge/ddbridge-core.c: Set maximum cxd2099 block size to 512

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Signed-off-by: Ralph Metzler Signed-off-by: Daniel Scheller Signed-off-by: Jasmin Jessich --- drivers/media/pci/ddbridge/ddbridge-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/ddbridge/ddbridge-core.c b/drivers/media/pci/ddbridge/ddbridge-c

[PATCH 7/7] [staging] cxd2099/cxd2099.c: Activate cxd2099 buffer mode

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Now the cxd2099 buffer mode is activated, but can be deactivated by setting BUFFER_MODE to 0 at the compiler command line or by editiing the file. Signed-off-by: Jasmin Jessich --- drivers/staging/media/cxd2099/cxd2099.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletio

[PATCH 07/11] [media] dvb-core/dvb_ca_en50221.c: Make checkpatch happy 3

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Fixed all: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 48 + 1 file changed, 18 insertions(+), 30 deletions(-) diff --git a/drivers/media/dvb

[PATCH 03/11] [media] dvb-core/dvb_ca_en50221.c: Used a helper variable

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Used a helper variable "struct dvb_ca_slot *sl" instead of "ca->slot_info[slot]". This reduces the line lenght and simplifies code reading. Renamed "i" to "slot" in some functions to make the code more readable. Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_

[PATCH 02/11] [media] dvb-core/dvb_ca_en50221.c: Rename DVB_CA_SLOTSTATE_???

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Rename DVB_CA_SLOTSTATE_??? -> SLOT_STAT_??? to reduce the line length. Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 124 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/drivers/media/dvb-core/

[PATCH 05/11] [media] dvb-core/dvb_ca_en50221.c: Make checkpatch happy 1

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Fixed all: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/driver

[PATCH 11/11] [media] dvb-core/dvb_ca_en50221.c: Fixed wrong EXPORT_SYMBOL order

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c index ec9d63e..f4b87a0 100644 --- a

[PATCH 1/7] [media] dvb-core/dvb_ca_en50221.c: State UNINITIALISED instead of INVALID

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich In case of a linkinit failure change to state UNINITIALISED to re-init the CAM. Signed-off-by: Ralph Metzler Signed-off-by: Daniel Scheller Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 09/11] [media] dvb-core/dvb_ca_en50221.c: Make checkpatch happy 5

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Fixed all: WARNING: msleep < 20ms can sleep for up to 20ms by using usleep_range. Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/

[PATCH 00/11] Fix coding style in en50221 CAM functions

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich These patch series is a follow up to the series "Add block read/write to en50221 CAM functions". It fixed nearly all the style issues reported by checkpatch.pl in dvb-core/dvb_ca_en50221.c Please note, that there are 7 Warnings left, which I won't fix. Two of them are "WARNI

[PATCH 01/11] [media] dvb-core/dvb_ca_en50221.c: Rename STATUSREG_??

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Rename STATUSREG_?? -> STATREG_?? to reduce the line length. Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dvb_ca_en50221.c | 34 - 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/media/dvb-core/dvb_ca_en50

[PATCH 04/11] [media] dvb-core/dvb_ca_en50221.c: Refactored dvb_ca_en50221_thread

2017-05-07 Thread Jasmin J.
From: Jasmin Jessich Refactored "dvb_ca_en50221_thread" by moving the state machine into the new function "dvb_ca_en50221_thread_state_machine". This reduces the thread function size and reduces the structural complexity and of course gives us more space to meet the line length goal in the new fu

[PATCH] dw9714: Initial driver for dw9714 VCM

2017-05-07 Thread rajmohan . mani
From: Rajmohan Mani DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- drivers/media/i2c/Kconfig | 9 ++ drivers/media/i2c/Makefile | 1 + drivers/me

[PATCH] staging: media: atomisp: Make undeclared symbols static

2017-05-07 Thread Guru Das Srinagesh
Fix sparse warnings: "symbol not declared; should it be static?" Signed-off-by: Guru Das Srinagesh --- drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_f

[PATCH 2/2] drivers: staging: media: atomisp: fix coding style warnings

2017-05-07 Thread Avraham Shukron
Fix for warnings reported by checkpatch.pl: - Multiline comment style - Bare "unsigned" - Missing blank line after declarations - Un-needed braces around single-statement branch Signed-off-by: Avraham Shukron --- .../platform/intel-mid/atomisp_gmin_platform.c | 45 ++

Re: [PATCH] Fix spaces ERROR in atomisp_gmin_platform.c

2017-05-07 Thread Dan Carpenter
On Sat, May 06, 2017 at 03:56:23PM +0300, Gideon Sheril wrote: > int atomisp_register_i2c_module(struct v4l2_subdev *subdev, > -struct camera_sensor_platform_data > *plat_data, > -enum intel_v4l2_subdev_type type) > + struct came

Re: [PATCH v3 2/2] em28xx: add support for new of Terratec H6

2017-05-07 Thread Frank Schäfer
Am 03.05.2017 um 04:12 schrieb Mauro Carvalho Chehab: > There's a new version of Terratec H6 with uses USB ID > 0ccd:10b2. This version is similar to the old one (with is > supported via the HTC entry), except that this one has the > eeprom on the second bus. Last half of the sentence isn't true (

[PATCH v2 0/2] rcar-du, vsp1: rcar-gen3: Add support for colorkey alpha blending

2017-05-07 Thread Alexandru Gheorghe
Currently, rcar-du supports colorkeying only for rcar-gen2 and it uses some hw capability of the display unit(DU) which is not available on gen3. In order to implement colorkeying for gen3 we need to use the colorkey capability of the VSPD, hence the need to change both drivers rcar-du and vsp1.

[PATCH 1/2] drivers: staging: media: atomisp: fixed coding style errors

2017-05-07 Thread Avraham Shukron
Fix for error (not warnings) reported by checkpatch.pl Specifically: - missing whitespace around "=" and after "," - indentation with spaces instead of tabs - lines starting with a whitespace This patch does not affect the compiled code in any way. Signed-off-by: Avraham Shukron --- .../plat