[PATCH] [media] ir-spi: add SPDX identifier

2017-12-11 Thread Andi Shyti
Replace the original license statement with the SPDX identifier. Update also the copyright owner adding myself as co-owner of the copyright. Signed-off-by: Andi Shyti --- drivers/media/rc/ir-spi.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/media

Re: [PATCH 0/2] uvcvideo: Refactor code to ease metadata implementation

2017-12-11 Thread Guennadi Liakhovetski
Hi Laurent, Thanks for the patches. Please feel free to add either or both of Reviewed-by: Guennadi Liakhovetski Tested-by: Guennadi Liakhovetski to both of the patches. Whereas in fact strictly speaking your current tree has updated improved versions of the patches, at least of the first of

Re: [PATCH v2 4/7] media: usb: add SPDX identifiers to some code I wrote

2017-12-11 Thread Andi Shyti
Hi Mauro, > diff --git a/drivers/media/usb/tm6000/tm6000-usb-isoc.h > b/drivers/media/usb/tm6000/tm6000-usb-isoc.h > index 6a13a27c55d7..e69f5cf8fe9f 100644 > --- a/drivers/media/usb/tm6000/tm6000-usb-isoc.h > +++ b/drivers/media/usb/tm6000/tm6000-usb-isoc.h > @@ -1,17 +1,7 @@ > -/* > - * tm6000

[PATCH 0/2] Rockchip: Add rk1608 driver and DT-bindings

2017-12-11 Thread Leo Wen
For RK1608 driver ,you can use the v4l2-ctl command to capture frames. Add DT bindings documentation for Rockchip RK1608. Add the information of the maintainer. Leo Wen (2): [media] Add Rockchip RK1608 driver dt-bindings: Document the Rockchip RK1608 bindings Documentation/devicetree/binding

[PATCH 2/2] dt-bindings: Document the Rockchip RK1608 bindings

2017-12-11 Thread Leo Wen
Add DT bindings documentation for Rockchip RK1608. Signed-off-by: Leo Wen --- Documentation/devicetree/bindings/media/rk1608.txt | 143 + MAINTAINERS| 1 + 2 files changed, 144 insertions(+) create mode 100644 Documentation/devicetre

[PATCH 1/2] [media] Add Rockchip RK1608 driver

2017-12-11 Thread Leo Wen
Rk1608 is used as a PreISP to link on Soc, which mainly has two functions. One is to download the firmware of RK1608, and the other is to match the extra sensor such as camera and enable sensor by calling sensor's s_power. use below v4l2-ctl command to capture frames. v4l2-ctl --verbose -d /d

Re: [PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2017-12-11 Thread Dhaval Shah
Hi Laurent Pinchart, Thanks a lot for the review. On Mon, Dec 11, 2017 at 7:17 PM, Laurent Pinchart wrote: > > Hi Dhaval, > > Thank you for the patch. > > On Friday, 8 December 2017 14:35:37 EET Dhaval Shah wrote: > > SPDX-License-Identifier is used for the Xilinx Video IP and > > related driver

cron job: media_tree daily build: ERRORS

2017-12-11 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: Tue Dec 12 05:00:16 CET 2017 media-tree git hash:72c27a68a2a3f650f0dc7891ee98f02283fc11af media_build git

Re: [Patch v6 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-12-11 Thread Smitha T Murthy
On Sat, 2017-12-09 at 20:48 +0200, Stanimir Varbanov wrote: > Hi Smitha, > > Thanks for the patches! > > On 12/08/2017 11:08 AM, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > drivers/media/v4l2-c

[PATCH RESEND] media: dvb-frontends: Add delay to Si2168 restart.

2017-12-11 Thread Ron Economos
On faster CPUs a delay is required after the resume command and the restart command. Without the delay, the restart command often returns -EREMOTEIO and the Si2168 does not restart. Note that this patch fixes the same issue as https://patchwork.linuxtv.org/patch/44304/, but I believe my udelay(

[PATCH v5 1/4] media: dt: bindings: Add binding for NVIDIA Tegra Video Decoder Engine

2017-12-11 Thread Dmitry Osipenko
Add binding documentation for the Video Decoder Engine which is found on NVIDIA Tegra20/30/114/124/132 SoC's. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring --- .../devicetree/bindings/media/nvidia,tegra-vde.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 10

[PATCH v5 0/4] NVIDIA Tegra video decoder driver

2017-12-11 Thread Dmitry Osipenko
VDE driver provides accelerated video decoding to NVIDIA Tegra SoC's, it is a result of reverse-engineering efforts. Driver has been tested on Toshiba AC100 and Acer A500, it should work on any Tegra20 device. In userspace this driver is utilized by libvdpau-tegra [0] that implements VDPAU interfa

[PATCH v5 4/4] ARM: dts: tegra20: Add video decoder node

2017-12-11 Thread Dmitry Osipenko
Add Video Decoder Engine device node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 36909df653c3..864a95872b8d 100644 --- a/a

[PATCH v5 3/4] ARM: dts: tegra20: Add device tree node to describe IRAM

2017-12-11 Thread Dmitry Osipenko
From: Vladimir Zapolskiy All Tegra20 SoCs contain 256KiB IRAM, which is used to store resume code and by a video decoder engine. Signed-off-by: Vladimir Zapolskiy Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch

[PATCH v5 2/4] staging: media: Introduce NVIDIA Tegra video decoder driver

2017-12-11 Thread Dmitry Osipenko
NVIDIA Tegra20/30/114/124/132 SoC's have video decoder engine that supports standard set of video formats like H.264 / MPEG-4 / WMV / VC1. Signed-off-by: Dmitry Osipenko --- MAINTAINERS |9 + drivers/staging/media/Kconfig |2 + drivers/stagin

Re: [PATCH] media: pxa_camera: disable and unprepare the clock source on error

2017-12-11 Thread Flavio Ceolin
Laurent Pinchart writes: > Hi Flavio, > > On Monday, 11 December 2017 23:05:46 EET Flavio Ceolin wrote: >> > On Wednesday, 6 December 2017 18:38:50 EET Flavio Ceolin wrote: >> >> pxa_camera_probe() was not calling pxa_camera_deactivate(), >> >> responsible to call clk_disable_unprepare(), on the

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

2017-12-11 Thread Jasmin J.
Hi! > I don't know if you are also waiting for a comment from me. All positive ones are welcome ;) > I am fine with those changes. They are even desperately needed > to get some "problem CAMs" working. THX, so we can interpret this as an "Acked-by"? BR, Jasmin

Re: [PATCH v2 08/26] media: v4l2-async: shut up an unitialized symbol warning

2017-12-11 Thread Laurent Pinchart
Hi Mauro, On Monday, 11 December 2017 20:10:58 EET Mauro Carvalho Chehab wrote: > Em Thu, 02 Nov 2017 04:51:40 +0200 Laurent Pinchart escreveu: > > On Wednesday, 1 November 2017 23:05:45 EET Mauro Carvalho Chehab wrote: > >> Smatch reports this warning: > >>drivers/media/v4l2-core/v4l2-async.c

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

2017-12-11 Thread Ralph Metzler
Hi, I don't know if you are also waiting for a comment from me. I am fine with those changes. They are even desperately needed to get some "problem CAMs" working. Regards, Ralph Jasmin J. writes: > Ping 2! > > On 10/15/2017 03:59 PM, Jasmin J. wrote: > > Ping! > > -- --

Re: [PATCH v8] uvcvideo: Add a metadata device node

2017-12-11 Thread Laurent Pinchart
Hi Guennadi, On Monday, 11 December 2017 23:44:09 EET Guennadi Liakhovetski wrote: > On Mon, 11 Dec 2017, Laurent Pinchart wrote: > > On Monday, 11 December 2017 22:16:23 EET Laurent Pinchart wrote: > >> On Wednesday, 6 December 2017 17:15:40 EET Guennadi Liakhovetski wrote: > >>> From: Guennadi L

Re: [PATCH v8] uvcvideo: Add a metadata device node

2017-12-11 Thread Guennadi Liakhovetski
Hi Laurent, On Mon, 11 Dec 2017, Laurent Pinchart wrote: > Hi Guennadi, > > On Monday, 11 December 2017 22:16:23 EET Laurent Pinchart wrote: > > On Wednesday, 6 December 2017 17:15:40 EET Guennadi Liakhovetski wrote: > > > From: Guennadi Liakhovetski > > > > > > Some UVC video cameras contain

Re: [PATCH] media: pxa_camera: disable and unprepare the clock source on error

2017-12-11 Thread Laurent Pinchart
Hi Flavio, On Monday, 11 December 2017 23:05:46 EET Flavio Ceolin wrote: > > On Wednesday, 6 December 2017 18:38:50 EET Flavio Ceolin wrote: > >> pxa_camera_probe() was not calling pxa_camera_deactivate(), > >> responsible to call clk_disable_unprepare(), on the failure path. This > >> was leading

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

2017-12-11 Thread Jasmin J.
Ping 2! On 10/15/2017 03:59 PM, Jasmin J. wrote: > Ping! >

Re: [PATCH v2] kernel-doc: parse DECLARE_KFIFO and DECLARE_KFIFO_PTR()

2017-12-11 Thread Jonathan Corbet
On Fri, 8 Dec 2017 09:05:12 -0500 Mauro Carvalho Chehab wrote: > So, teach kernel-doc how to parse DECLARE_KFIFO() and DECLARE_KFIFO_PTR(). > > While here, relax at the past DECLARE_foo() macros, accepting a random > number of spaces after comma. Applied, thanks. jon

Re: [PATCH] tuners: tda8290: reduce stack usage with kasan

2017-12-11 Thread Michael Ira Krufky
On Mon, Dec 11, 2017 at 2:34 PM, Joe Perches wrote: > On Mon, 2017-12-11 at 13:06 +0100, Arnd Bergmann wrote: >> With CONFIG_KASAN enabled, we get a relatively large stack frame in one >> function >> >> drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': >> drivers/media/tuners/tda8

Re: [PATCH v8] uvcvideo: Add a metadata device node

2017-12-11 Thread Laurent Pinchart
Hi Guennadi, On Monday, 11 December 2017 22:16:23 EET Laurent Pinchart wrote: > On Wednesday, 6 December 2017 17:15:40 EET Guennadi Liakhovetski wrote: > > From: Guennadi Liakhovetski > > > > Some UVC video cameras contain metadata in their payload headers. This > > patch extracts that data, add

Re: [PATCH] media: pxa_camera: disable and unprepare the clock source on error

2017-12-11 Thread Flavio Ceolin
Hi Laurent, > Hi Flavio, > > Thank you for the patch. > > On Wednesday, 6 December 2017 18:38:50 EET Flavio Ceolin wrote: >> pxa_camera_probe() was not calling pxa_camera_deactivate(), >> responsible to call clk_disable_unprepare(), on the failure path. This >> was leading to unbalancing source cl

Re: [PATCH v2 13/14] drm: rcar-du: Restrict DPLL duty cycle workaround to H3 ES1.x

2017-12-11 Thread Laurent Pinchart
Hi Kieran, I found this e-mail already written and sitting in my outbox, so even if it's quite outdated I decided to still send it. On Tuesday 01 Aug 2017 15:06:20 Kieran Bingham wrote: > On 26/06/17 19:12, Laurent Pinchart wrote: > > The H3 ES1.x exhibits dot clock duty cycle stability issues.

Re: [PATCH v8] uvcvideo: Add a metadata device node

2017-12-11 Thread Laurent Pinchart
Hi Guennadi, Thank you for the patch. On Wednesday, 6 December 2017 17:15:40 EET Guennadi Liakhovetski wrote: > From: Guennadi Liakhovetski > > Some UVC video cameras contain metadata in their payload headers. This > patch extracts that data, adding more clock synchronisation information, > on

[PATCH] [media] ddbridge: stv09xx: detach frontends on lnb failure

2017-12-11 Thread Daniel Scheller
From: Daniel Scheller While the failure handling in dvb_input_attach() has been improved lately so any tuner failure won't result in demod driver modules with a usecount > 0 anymore (thus requiring rmmod -f), there's still an issue with stv090x and stv0910 based tuner modules, in that LNB driver

Re: [PATCH 3/3 v7] uvcvideo: add a metadata device node

2017-12-11 Thread Laurent Pinchart
Hi Guennadi, On Wednesday, 6 December 2017 17:08:14 EET Guennadi Liakhovetski wrote: > Hi Laurent, > > While testing the new patch version, we did introduce a couple of > differences: > > 1. We cannot (easily) reuse .vidioc_querycap() - the metadata node uses > v4l2_fh_open() directly, so, it ha

Re: [PATCH v12 2/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2017-12-11 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Wednesday, 29 November 2017 21:32:35 EET Niklas Söderlund wrote: > A V4L2 driver for Renesas R-Car MIPI CSI-2 receiver. The driver > supports the rcar-vin driver on R-Car Gen3 SoCs where separate CSI-2 The driver supports the driver ? > hardware blocks are

Re: [PATCH] tuners: tda8290: reduce stack usage with kasan

2017-12-11 Thread Joe Perches
On Mon, 2017-12-11 at 13:06 +0100, Arnd Bergmann wrote: > With CONFIG_KASAN enabled, we get a relatively large stack frame in one > function > > drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': > drivers/media/tuners/tda8290.c:310:1: warning: the frame size of 1520 bytes > is la

Re: [PATCH v10 4/4] [media] platform: Add Synopsys DesignWare HDMI RX Controller Driver

2017-12-11 Thread Philippe Ombredanne
On Mon, Dec 11, 2017 at 6:41 PM, Jose Abreu wrote: > This is an initial submission for the Synopsys DesignWare HDMI RX > Controller Driver. This driver interacts with a phy driver so that > a communication between them is created and a video pipeline is > configured. > > The controller + phy pipel

Re: [PATCH v10 3/4] [media] platform: Add Synopsys DesignWare HDMI RX PHY e405 Driver

2017-12-11 Thread Philippe Ombredanne
On Mon, Dec 11, 2017 at 6:41 PM, Jose Abreu wrote: > This adds support for the Synopsys DesignWare HDMI RX PHY e405. This > phy receives and decodes HDMI video that is delivered to a controller. > > Main features included in this driver are: > - Equalizer algorithm that chooses the phy bes

[PATCH v6 1/6] [media] vb2: add is_unordered callback for drivers

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Explicit synchronization benefits a lot from ordered queues, they fit better in a pipeline with DRM for example so create a opt-in way for drivers notify videobuf2 that the queue is unordered. Drivers don't need implement it if the queue is ordered. Signed-off-by: Gustavo

[PATCH v6 3/6] [media] vb2: add explicit fence user API

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Turn the reserved2 field into fence_fd that we will use to send an in-fence to the kernel and return an out-fence from the kernel to userspace. Two new flags were added, V4L2_BUF_FLAG_IN_FENCE, that should be used when sending a fence to the kernel to be waited on, and V4L2

[PATCH v6 0/6] V4L2 Explicit Synchronization

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Hi, One more iteration of the explicit fences patches, please refer to the previous version[1] for more details about the general mechanism This version makes the patchset and the implementation much more simple, to start we are not using a ordered capability anymore, but

[PATCH v6 5/6] [media] vb2: add out-fence support to QBUF

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan If V4L2_BUF_FLAG_OUT_FENCE flag is present on the QBUF call we create an out_fence and send its fd to userspace on the fence_fd field as a return arg for the QBUF call. The fence is signaled on buffer_done(), when the job on the buffer is finished. v7: - merge patc

[PATCH v6 6/6] [media] v4l: Document explicit synchronization behavior

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Add section to VIDIOC_QBUF about it v5: - Remove V4L2_CAP_ORDERED - Add doc about V4L2_FMT_FLAG_UNORDERED v4: - Document ordering behavior for in-fences - Document V4L2_CAP_ORDERED capability - Remove doc about OUT_FENCE event

[PATCH v6 4/6] [media] vb2: add in-fence support to QBUF

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Receive in-fence from userspace and add support for waiting on them before queueing the buffer to the driver. Buffers can't be queued to the driver before its fences signal. And a buffer can't be queue to the driver out of the order they were queued from userspace. That mean

[PATCH v6 2/6] [media] v4l: add 'unordered' flag to format description ioctl

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan For explicit synchronization it important for userspace to know if the format being used by the driver can deliver the buffers back to userspace in the same order they were queued with QBUF. Ordered streams fits nicely in a pipeline with DRM for example, where ordered buffe

Re: [PATCH v2 08/26] media: v4l2-async: shut up an unitialized symbol warning

2017-12-11 Thread Mauro Carvalho Chehab
Em Thu, 02 Nov 2017 04:51:40 +0200 Laurent Pinchart escreveu: > Hi Mauro, > > Thank you for the patch. > > On Wednesday, 1 November 2017 23:05:45 EET Mauro Carvalho Chehab wrote: > > Smatch reports this warning: > > drivers/media/v4l2-core/v4l2-async.c:597 v4l2_async_register_subdev() > > e

Re: [PATCH v12 1/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver documentation

2017-12-11 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Wednesday, 29 November 2017 21:32:34 EET Niklas Söderlund wrote: > Documentation for Renesas R-Car MIPI CSI-2 receiver. The CSI-2 receivers > are located between the video sources (CSI-2 transmitters) and the video > grabbers (VIN) on Gen3 of Renesas R-Car S

[PATCH v10 1/4] dt-bindings: media: Document Synopsys DesignWare HDMI RX

2017-12-11 Thread Jose Abreu
Document the bindings for the Synopsys DesignWare HDMI RX. Signed-off-by: Jose Abreu Acked-by: Rob Herring (v8) Cc: Joao Pinto Cc: Rob Herring Cc: Mark Rutland Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Sylwester Nawrocki Cc: devicet...@vger.kernel.org --- Changes from v7: - Re

[PATCH v10 4/4] [media] platform: Add Synopsys DesignWare HDMI RX Controller Driver

2017-12-11 Thread Jose Abreu
This is an initial submission for the Synopsys DesignWare HDMI RX Controller Driver. This driver interacts with a phy driver so that a communication between them is created and a video pipeline is configured. The controller + phy pipeline can then be integrated into a fully featured system that ca

[PATCH v10 3/4] [media] platform: Add Synopsys DesignWare HDMI RX PHY e405 Driver

2017-12-11 Thread Jose Abreu
This adds support for the Synopsys DesignWare HDMI RX PHY e405. This phy receives and decodes HDMI video that is delivered to a controller. Main features included in this driver are: - Equalizer algorithm that chooses the phy best settings according to the detected HDMI cable chara

[PATCH v10 2/4] MAINTAINERS: Add entry for Synopsys DesignWare HDMI drivers

2017-12-11 Thread Jose Abreu
Add an entry for Synopsys DesignWare HDMI Receivers drivers and phys. Signed-off-by: Jose Abreu Cc: Joao Pinto --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7a52a66..a1675bc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13108,6 +1310

[PATCH v10 0/4] Synopsys DesignWare HDMI Video Capture Controller + PHY

2017-12-11 Thread Jose Abreu
The Synopsys DesignWare HDMI RX controller is an HDMI receiver controller that is responsible to process digital data that comes from a phy. The final result is a stream of RAW video data that can then be connected to a video DMA, for example, and transfered into RAM so that it can be displayed. T

[PATCH] staging: atomisp2: replace DEVICE_ATTR with DEVICE_ATTR_RO

2017-12-11 Thread Aishwarya Pant
This is a clean-up patch which replaces DEVICE_ATTR() macro with file permission specific DEVICE_ATTR_RO() macro for compaction and readability. Done using coccinelle: @r@ identifier attr, show_fn; declarer name DEVICE_ATTR; @@ DEVICE_ATTR(attr, \(S_IRUGO\|0444\), show_fn, NULL); @script: pytho

[PATCH] media: ddbridge: shut up a new warning

2017-12-11 Thread Mauro Carvalho Chehab
drivers/media/pci/ddbridge/ddbridge-ci.c:321:5: warning: no previous prototype for 'ddb_ci_attach' [-Wmissing-prototypes] int ddb_ci_attach(struct ddb_port *port, u32 bitrate) ^ Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/ddbridge/ddbridge-ci.c | 1 + 1 file cha

Re: [PATCH] media: pxa_camera: disable and unprepare the clock source on error

2017-12-11 Thread Laurent Pinchart
Hi Flavio, Thank you for the patch. On Wednesday, 6 December 2017 18:38:50 EET Flavio Ceolin wrote: > pxa_camera_probe() was not calling pxa_camera_deactivate(), > responsible to call clk_disable_unprepare(), on the failure path. This > was leading to unbalancing source clock. > > Found by Linux

Re: [PATCH v3 07/12] dt-bindings: Document the Rockchip MIPI RX D-PHY bindings

2017-12-11 Thread Laurent Pinchart
Hello Jacob, Thank you for the patch. On Wednesday, 6 December 2017 13:19:34 EET Jacob Chen wrote: > From: Jacob Chen > > Add DT bindings documentation for Rockchip MIPI D-PHY RX > > Signed-off-by: Jacob Chen > --- > .../bindings/media/rockchip-mipi-dphy.txt | 71 +++

Re: [PATCH]media: dvb-frontends: Add delay to Si2168 restart

2017-12-11 Thread Mauro Carvalho Chehab
Em Tue, 10 Oct 2017 18:13:30 -0700 Ron Economos escreveu: > On faster CPUs a delay is required after the POWER_UP/RESUME command and > the DD_RESTART command. Without the delay, the DD_RESTART command often > returns -EREMOTEIO and the Si2168 does not restart. You forgot to add your signed-off

[PATCH 3/3] media: dvb-core: allow users to enable DVB net ULE debug

2017-12-11 Thread Mauro Carvalho Chehab
This debug option is there for a long time, but it is only enabled by editing the source code. Due to that, a breakage inside its code was only noticed years after a change at the ULE handling logic. Make it a Kconfig parameter, as it makes easier for advanced users to enable, and allow test if th

[PATCH 2/3] media: dvb_net: let dynamic debug enable some DVB net handling

2017-12-11 Thread Mauro Carvalho Chehab
pr_debug() and netdev_dbg() can be enabled/disabled dynamically via sysfs. So, stop hidding them under ULE_DEBUG config macro. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/dvb_net.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/media/dvb-core/dvb_net.c b/drive

[PATCH 1/3] media: dvb_net: ensure that dvb_net_ule_handle is fully initialized

2017-12-11 Thread Mauro Carvalho Chehab
changeset efb9ab67255f ("[media] dvb_net: prepare to split a very complex function") changed the ULE handling logic, simplifying it. However, it forgot to keep the initialization for .priv and to zero .ule_hist fields. The lack of .priv cause crashes if dvb_net_ule() is called, as the function ass

Re: [PATCH 1/2] usb: gadget: restore tristate-choice for legacy gadgets

2017-12-11 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 5:09 PM, Bart Van Assche wrote: > On Mon, 2017-12-11 at 12:30 +0100, Arnd Bergmann wrote: >> One patch that was meant as a cleanup apparently did more than it intended, >> allowing all combinations of legacy gadget drivers to be built into the >> kernel, and leaving an empt

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:55:56 EET Jacopo Mondi wrote: > Add driver for Renesas Capture Engine Unit (CEU). > > The CEU interface supports capturing 'data' (YUV422) and 'images' > (NV[12|21|16|61]). > > This driver aims to replace the soc_camera based

Re: [PATCH 1/2] usb: gadget: restore tristate-choice for legacy gadgets

2017-12-11 Thread Bart Van Assche
On Mon, 2017-12-11 at 12:30 +0100, Arnd Bergmann wrote: > One patch that was meant as a cleanup apparently did more than it intended, > allowing all combinations of legacy gadget drivers to be built into the > kernel, and leaving an empty 'choice' statement behind: > > drivers/usb/gadget/Kconfig:4

Re: [PATCH v2 5/6] [media] cxusb: implement Medion MD95700 digital / analog coexistence

2017-12-11 Thread Maciej S. Szmigiero
On 11.12.2017 16:45, Mauro Carvalho Chehab wrote: > Em Tue, 10 Oct 2017 23:36:55 +0200 > "Maciej S. Szmigiero" escreveu: > >> This patch prepares cxusb driver for supporting the analog part of >> Medion 95700 (previously only the digital - DVB - mode was supported). >> >> Specifically, it adds su

Re: [PATCH v2 5/6] [media] cxusb: implement Medion MD95700 digital / analog coexistence

2017-12-11 Thread Mauro Carvalho Chehab
Em Tue, 10 Oct 2017 23:36:55 +0200 "Maciej S. Szmigiero" escreveu: > This patch prepares cxusb driver for supporting the analog part of > Medion 95700 (previously only the digital - DVB - mode was supported). > > Specifically, it adds support for: > * switching the device between analog and digi

Re: [PATCH v2 1/6] cx25840: add pin to pad mapping and output format configuration

2017-12-11 Thread Mauro Carvalho Chehab
Em Tue, 10 Oct 2017 23:34:45 +0200 "Maciej S. Szmigiero" escreveu: > This commit adds pin to pad mapping and output format configuration support > in CX2584x-series chips to cx25840 driver. > > This functionality is then used to allow disabling ivtv-specific hacks > (called a "generic mode"), so

Re: [PATCH] tuners: tda8290: reduce stack usage with kasan

2017-12-11 Thread Michael Ira Krufky
On Mon, Dec 11, 2017 at 7:06 AM, Arnd Bergmann wrote: > With CONFIG_KASAN enabled, we get a relatively large stack frame in one > function > > drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': > drivers/media/tuners/tda8290.c:310:1: warning: the frame size of 1520 bytes > is larg

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-11 Thread Laurent Pinchart
Hi Sakari, On Friday, 17 November 2017 02:36:51 EET Sakari Ailus wrote: > On Wed, Nov 15, 2017 at 03:25:11PM +0100, jacopo mondi wrote: > > On Wed, Nov 15, 2017 at 02:45:51PM +0200, Sakari Ailus wrote: > >> Hi Jacopo, > >> > >> Could you remove the original driver and send the patch using git > >

Re: [PATCH v1 10/10] media: i2c: tw9910: Remove soc_camera dependencies

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:03 EET Jacopo Mondi wrote: > Remove soc_camera framework dependencies from tw9910 sensor driver. > - Handle clock directly > - Register async subdevice > - Add platform specific enable/disable functions > - Adjust build syst

Re: [PATCH v1 09/10] v4l: i2c: Copy tw9910 soc_camera sensor driver

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:02 EET Jacopo Mondi wrote: > Copy the soc_camera based driver in v4l2 sensor driver directory. > This commit just copies the original file without modifying it. As for patch 07/10, you might want to explain why you're not p

Re: [PATCH v1 07/10] v4l: i2c: Copy ov772x soc_camera sensor driver

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:00 EET Jacopo Mondi wrote: > Copy the soc_camera based driver in v4l2 sensor driver directory. > This commit just copies the original file without modifying it. You might want to explain why you're not patching the Kconfig

Re: [PATCH v1 08/10] media: i2c: ov772x: Remove soc_camera dependencies

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:01 EET Jacopo Mondi wrote: > Remove soc_camera framework dependencies from ov772x sensor driver. > - Handle clock directly > - Register async subdevice > - Add platform specific enable/disable functions > - Adjust build syst

Re: [PATCH v3 3/5] media: dt-bindings: ov5640: add support of DVP parallel interface

2017-12-11 Thread Hugues FRUCHET
Hi Sakari, On 12/07/2017 02:59 PM, Sakari Ailus wrote: > Hi Hugues, > > On Thu, Dec 07, 2017 at 01:40:51PM +0100, Hugues Fruchet wrote: >> Add bindings for OV5640 DVP parallel interface support. >> >> Signed-off-by: Hugues Fruchet >> --- >> .../devicetree/bindings/media/i2c/ov5640.txt |

Re: [PATCH v1 05/10] arch: sh: migor: Use new renesas-ceu camera driver

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:55:58 EET Jacopo Mondi wrote: > Migo-R platform uses sh_mobile_ceu camera driver, which is now being > replaced by a proper V4L2 camera driver named 'renesas-ceu'. > > Move Migo-R platform to use the v4l2 renesas-ceu camera dr

Re: [PATCH v1 02/10] include: media: Add Renesas CEU driver interface

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, On Monday, 11 December 2017 16:26:27 EET Laurent Pinchart wrote: > On Wednesday, 15 November 2017 14:36:33 EET Sakari Ailus wrote: > > On Wed, Nov 15, 2017 at 11:55:55AM +0100, Jacopo Mondi wrote: > >> Add renesas-ceu header file. > >> > >> Do not remove the existing sh_mobile_ceu.h on

Re: [PATCH v1 02/10] include: media: Add Renesas CEU driver interface

2017-12-11 Thread Laurent Pinchart
Hi Sakari, On Wednesday, 15 November 2017 14:36:33 EET Sakari Ailus wrote: > On Wed, Nov 15, 2017 at 11:55:55AM +0100, Jacopo Mondi wrote: > > Add renesas-ceu header file. > > > > Do not remove the existing sh_mobile_ceu.h one as long as the original > > driver does not go away. > > Hmm. This is

Re: [PATCH v1 01/10] dt-bindings: media: Add Renesas CEU bindings

2017-12-11 Thread Laurent Pinchart
Hello, On Wednesday, 15 November 2017 14:33:12 EET Sakari Ailus wrote: > On Wed, Nov 15, 2017 at 11:55:54AM +0100, Jacopo Mondi wrote: > > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > > > Signed-off-by: Jacopo Mondi > > --- > > > > .../devicetree/bindings/media/renesas

Urgent Message.

2017-12-11 Thread Samuel Amar
Dear Friend, How are you with your family? I hope fine. I'm happy to inform you about my success in getting those funds transferred under the cooperation of a new partner from India, Presently I’m in India, meanwhile I didn't forget your past efforts to assist me in transferring those funds des

Re: [PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2017-12-11 Thread Laurent Pinchart
Hi Dhaval, Thank you for the patch. On Friday, 8 December 2017 14:35:37 EET Dhaval Shah wrote: > SPDX-License-Identifier is used for the Xilinx Video IP and > related drivers. > > Signed-off-by: Dhaval Shah > --- > drivers/media/platform/xilinx/xilinx-dma.c | 5 + > drivers/media/platform

Re: [PATCH] media: xilinx-video: fix bad of_node_put() on endpoint error

2017-12-11 Thread Laurent Pinchart
Hi Akinobu, Thank you for the patch. On Thursday, 12 October 2017 19:04:44 EET Akinobu Mita wrote: > When iterating through all endpoints using of_graph_get_next_endpoint(), > the refcount of the returned endpoint node is incremented and the refcount > of the node which is passed as previous endp

[PATCH] tuners: tda8290: reduce stack usage with kasan

2017-12-11 Thread Arnd Bergmann
With CONFIG_KASAN enabled, we get a relatively large stack frame in one function drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': drivers/media/tuners/tda8290.c:310:1: warning: the frame size of 1520 bytes is larger than 1024 bytes [-Wframe-larger-than=] With CONFIG_KASAN_EXTRA

[PATCH] em28xx: split up em28xx_dvb_init to reduce stack size

2017-12-11 Thread Arnd Bergmann
With CONFIG_KASAN, the init function uses a large amount of kernel stack: drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_init.part.4': drivers/media/usb/em28xx/em28xx-dvb.c:2061:1: error: the frame size of 3232 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] Using gc

Seasons greetings

2017-12-11 Thread Mr Sheng Li Hung
I am Mr.Sheng Li Hung, from china I got your information while search for a reliable person, I have a very profitable business proposition for you and i can assure you that you will not regret been part of this mutual beneficial transaction after completion. Kindly get back to me for more details o

[PATCH 2/2] usb: gadget: webcam: fix V4L2 Kconfig dependency

2017-12-11 Thread Arnd Bergmann
Configuring the USB_G_WEBCAM driver as built-in leads to a link error when CONFIG_VIDEO_V4L2 is a loadable module: drivers/usb/gadget/function/f_uvc.o: In function `uvc_function_setup': f_uvc.c:(.text+0xfe): undefined reference to `v4l2_event_queue' drivers/usb/gadget/function/f_uvc.o: In function

[PATCH 1/2] usb: gadget: restore tristate-choice for legacy gadgets

2017-12-11 Thread Arnd Bergmann
One patch that was meant as a cleanup apparently did more than it intended, allowing all combinations of legacy gadget drivers to be built into the kernel, and leaving an empty 'choice' statement behind: drivers/usb/gadget/Kconfig:487:warning: choice default symbol 'USB_ETH' is not contained in t

Re: [GIT PULL for v4.15-rc3] media fixes

2017-12-11 Thread Mauro Carvalho Chehab
Hi Linus, Em Fri, 8 Dec 2017 13:28:57 -0800 Linus Torvalds escreveu: > On Fri, Dec 8, 2017 at 7:56 AM, Mauro Carvalho Chehab > wrote: > > > > - The largest amount of fixes in this series is with regards to comments > > that aren't kernel-doc, but start with "/**". A new check added for > >

Re: [PATCH v9 0/2] media: ov7740: Add a V4L2 sensor-level driver

2017-12-11 Thread Philippe Ombredanne
On Mon, Dec 11, 2017 at 2:31 AM, Wenyou Yang wrote: > Add a Video4Linux2 sensor-level driver for the OmniVision OV7740 > VGA camera image sensor. > > Changes in v9: > - Use the new SPDX ids. Thank you for this Acked-by: Philippe Ombredanne -- Cordially Philippe Ombredanne

Re: [PATCHv5 0/3] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-12-11 Thread Hans Verkuil
Ping again. Added a CC to Ville whom I inexplicably forgot to add when I sent the v5 patch series. Regards, Hans On 01/12/17 08:23, Hans Verkuil wrote: > Ping! > > I really like to get this in for 4.16 so I can move forward with hooking > this up for nouveau/amd. > > Regards, > >

Re: cron job: media_tree daily build: WARNINGS

2017-12-11 Thread Hans Verkuil
Nice! It's working again! Jasmin, thank you for your help, much appreciated! Regards, Hans On 11/12/17 06:03, Hans Verkuil wrote: > 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