cron job: media_tree daily build: WARNINGS

2017-10-15 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 Oct 16 05:00:18 CEST 2017 media-tree git hash:8382e556b1a2f30c4bf866f021b33577a64f9ebf media_build gi

[PATCH v6 3/3] media: ov7670: Add the ov7670_s_power function

2017-10-15 Thread Wenyou Yang
Add the ov7670_s_power function which is responsible for manipulating the power dowm mode through the PWDN pin and the reset operation through the RESET pin, and keep it powered at all times. Signed-off-by: Wenyou Yang --- Changes in v6: - Remove .s_power callback to keep the ov7670 powered at

[PATCH v6 2/3] media: ov7670: Add the get_fmt callback

2017-10-15 Thread Wenyou Yang
Add the get_fmt callback, also enable V4L2_SUBDEV_FL_HAS_DEVNODE flag to make this subdev has device node. Signed-off-by: Wenyou Yang --- Changes in v6: None Changes in v5: - Fix the build warning on the declaration *mbus_fmt(ISO C90 forbids mixed). Changes in v4: - Fix the build error when n

[PATCH v6 1/3] media: ov7670: Add entity pads initialization

2017-10-15 Thread Wenyou Yang
Add the media entity pads initialization. Signed-off-by: Wenyou Yang --- Changes in v6: None Changes in v5: None Changes in v4: - Fix the build error when not enabling Media Controller API option. Changes in v3: None Changes in v2: None drivers/media/i2c/ov7670.c | 21 -

[PATCH v6 0/3] media: ov7670: Add entity init and power operation

2017-10-15 Thread Wenyou Yang
This patch set is to add the media entity pads initialization, the ov7670_s_power function and get_fmt callback support. Changes in v6: - Remove .s_power callback to keep the ov7670 powered at all times. - Update the commit log accordingly. Changes in v5: - Fix the build warning on the declara

Re: [PATCH 0/4] media: ov7670: add media controller support

2017-10-15 Thread Yang, Wenyou
Hi Sakari, On 2017/10/14 4:48, Sakari Ailus wrote: Hi Akinobu, On Fri, Oct 13, 2017 at 01:21:13AM +0900, Akinobu Mita wrote: This series adds media controller support and other related changes to the OV7670 which is cheap and highly available CMOS image sensor for hobbyists. This enables to

Re: [PATCH v4 02/12] [media] cxd2880-spi: Add support for CXD2880 SPI interface

2017-10-15 Thread Takiguchi, Yasunari
Hi Honza, > BTW, is there any device, preferable some devboard with this silicon > on the market? There is not devboard at this moment, but we are promoting this device. Takiguchi

Re: [PATCH] media: vb2: unify calling of set_page_dirty_lock

2017-10-15 Thread Nicolas Dufresne
Le dimanche 15 octobre 2017 à 23:40 +0300, Sakari Ailus a écrit : > Hi Nicolas, > > On Tue, Oct 10, 2017 at 11:40:10AM -0400, Nicolas Dufresne wrote: > > Le mardi 29 août 2017 à 14:26 +0300, Stanimir Varbanov a écrit : > > > Currently videobuf2-dma-sg checks for dma direction for > > > every singl

Re: [PATCH v2 08/14] [media] v4l: add support to BUF_QUEUED event

2017-10-15 Thread Sakari Ailus
Hi Gustavo, On Thu, Aug 31, 2017 at 10:50:35PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Implement the needed pieces to let userspace subscribe for > V4L2_EVENT_BUF_QUEUED events. Videobuf2 will queue the event for the > DQEVENT ioctl. > > v3: - Do not call v4l2 event API from

[PATCH 6/8] [media] ddbridge/max: prefix lnb_init_fmode() and fe_attach_mxl5xx()

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller Add a ddb_ prefix to the two functions to better avoid conflicts in the global namespace, ie. when building everything into the kernel image. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-core.c | 4 ++-- drivers/media/pci/ddbridge/ddbridge-max.c

[PATCH 5/8] [media] ddbridge/max: rename ddbridge-maxs8.[c|h] to ddbridge-max.[c|h]

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller Rename the MaxS4/8 support files following upstream. References to these files and descriptions have been updated aswell. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/Makefile | 2 +- drivers/media/pci/ddbridge/ddbridge-core.c

[PATCH 1/8] [media] ddbridge: remove unneeded *fe vars from attach functions

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller These are only used in C/T demod attach functions, don't add any real benefit (ie. line length savings) and in case of cxd28xx_attach aren't even used consequently. Remove them. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-core.c | 29 +++

[PATCH 3/8] [media] ddbridge: split off CI (common interface) from ddbridge-core

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller Move all CI device support related code from ddbridge-core to ddbridge-ci, following the previously split off MaxS4/8 support. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/Makefile| 4 +- drivers/media/pci/ddbridge/ddbridge-ci.c | 349

[PATCH 8/8] [media] ddbridge: update driver version number

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller Update the driver version number/string to 0.9.32-integrated. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/ddbridge/ddbridge.h b/drivers/media/pci/ddbridge/d

[PATCH 4/8] [media] ddbridge/ci: change debug printing to debug severity

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller slot_ts_enable_xo2() logged debug output to info instead of debug, so fix this up. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-ci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/ddbridge/ddbridge-ci.c b/d

[PATCH 7/8] [media] stv0910: read and update mod_cod in read_status()

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller Add missing state->modcod update from upstream driver which needs to be done when manage_matype_info() sets is_vcm on certain S2 transponders. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/stv0910.c | 13 + 1 file changed, 13 insertions(+) di

[PATCH 2/8] [media] ddbridge: fixup checkpatch-strict issues

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller Fixes several alignment, braces, space-before-cast, camelcase et al issues reported by checkpatch --strict, plus a few more checkpatch didn't report. Three checks are left after this though: - one CamelCase in ddbridge-core, related to defines/vars/enums referenced from t

[PATCH for 4.15] ddbridge update to 0.9.32

2017-10-15 Thread Daniel Scheller
From: Daniel Scheller For the 4.15 merge window. These patches update the mainline ddbridge driver to version 0.9.32, which was released ~3 weeks ago by upstream. Nothing really fancy in this series, in fact upstream applied many of the changes that went into the mainline driver, which was relea

Re: [PATCH] media: vb2: unify calling of set_page_dirty_lock

2017-10-15 Thread Sakari Ailus
Hi Nicolas, On Tue, Oct 10, 2017 at 11:40:10AM -0400, Nicolas Dufresne wrote: > Le mardi 29 août 2017 à 14:26 +0300, Stanimir Varbanov a écrit : > > Currently videobuf2-dma-sg checks for dma direction for > > every single page and videobuf2-dc lacks any dma direction > > checks and calls set_page_

[PATCH RESEND] media: mxl5xx: fix tuning logic

2017-10-15 Thread Daniel Scheller
From: Mauro Carvalho Chehab The tuning logic is broken with regards to status report: it relies on a previously-cached value that may not be valid if retuned. Change the logic to always read the status. Signed-off-by: Mauro Carvalho Chehab Acked-by: Daniel Scheller --- Resend (ref. https://pa

Re: [PATCH 0/2] Add timers to en50221 protocol driver

2017-10-15 Thread Jasmin J.
Ping!

Re: [PATCH] media: dvb_ca_en50221: sanity check slot number from userspace

2017-10-15 Thread Jasmin J.
Good catch! > Seems that this bug has been in the driver forever. Indeed ... and I overlooked it during my recent changes to that module. Reviewed-by: Jasmin Jessich BR, Jasmin

Re: [PATCH] build: Fixed patches partly for Kernel 2.6.32

2017-10-15 Thread Jasmin J.
Hello Hans! > Do you need build support for kernels < 2.6.36? I don't, but I have the headers laying around on my disk and I simply tried to fix the build ;) > I gave up supporting such old kernels 2 or 3 years ago. It seems so. I just learned, that RHEL 6.x does still use 2.6.32. But there is RH

Re: [PATCH 2/3] arm64: dts: rockchip: add the cec clk for dw-mipi-hdmi on rk3399

2017-10-15 Thread Heiko Stuebner
Am Samstag, 14. Oktober 2017, 00:53:36 CEST schrieb Pierre-Hugues Husson: > Signed-off-by: Pierre-Hugues Husson applied for 4.15 after adding a basic commit message. It is custom to always provide at least some sort of message there. Thanks Heiko

Re: [PATCH 3/3] arm64: dts: rockchip: enable cec pin for rk3399 firefly

2017-10-15 Thread Heiko Stuebner
Am Samstag, 14. Oktober 2017, 00:53:37 CEST schrieb Pierre-Hugues Husson: > Signed-off-by: Pierre-Hugues Husson applied for 4.15 after adding a basic commit message. It is custom to always provide at least some sort of message there. Thanks Heiko

Re: [PATCH] Simplify major/minor non-dynamic logic

2017-10-15 Thread Matthias Schwarzott
Am 11.10.2017 um 21:36 schrieb Mauro Carvalho Chehab: > changeset 6bbf7a855d20 ("media: dvbdev: convert DVB device types into an > enum") > added a new warning on gcc 6: > >>> drivers/media/dvb-core/dvbdev.c:86:1: warning: control reaches end of >>> non-void function [-Wreturn-type] > > That's

Re: [PATCH 0/3] Enable CEC on rk3399

2017-10-15 Thread Heiko Stuebner
Hi Hans, Am Sonntag, 15. Oktober 2017, 12:31:29 CEST schrieb Hans Verkuil: > On 10/14/2017 04:52 PM, Heiko Stuebner wrote: > > Am Samstag, 14. Oktober 2017, 15:14:40 CEST schrieb Pierre-Hugues Husson: > >>> Nice! I had a similar dw-hdmi.c patch pending but got around to posting > >>> it. > >>> >

Re: [PATCH] build: Fixed patches partly for Kernel 2.6.32

2017-10-15 Thread Hans Verkuil
Hi Jasmin, On 10/14/2017 02:00 AM, Jasmin J. wrote: > Hi! > > I have fixed the patches for 2.6.32 partly. > File rc-ir-raw.c is still missing, but I can't fix that. > Moreover, when compiling for 2.6.32, I get errors from compat.h: >implicit declaration of function 'ktime_to_ms' > So it seems

Re: [PATCH 0/3] Enable CEC on rk3399

2017-10-15 Thread Hans Verkuil
On 10/14/2017 04:52 PM, Heiko Stuebner wrote: > Am Samstag, 14. Oktober 2017, 15:14:40 CEST schrieb Pierre-Hugues Husson: >> Hi Hans, >> >>> Nice! I had a similar dw-hdmi.c patch pending but got around to posting it. >>> >>> I'll brush off my old rk3288 patches and see if I can get CEC enabled >>>