[PATCH]: staging: media: css2400: fix checkpatch error

2017-03-28 Thread Haim Daniel
>From 41d35b455f8eb139912909639e914469ef5e06fb Mon Sep 17 00:00:00 2001 From: Haim Daniel Date: Tue, 28 Mar 2017 19:27:57 +0300 Subject: [PATCH] [media] staging: css2400: fix checkpatch error isp_capture_defs.h: enclose macro with complex values in parentheses.

Re: [PATCH] staging: media: atomisp: i2c: removed unnecessary white space before comma in memset()

2017-03-28 Thread vk
Corrected all comments. Thanks, Vaibhav On Tuesday 28 March 2017 10:53 AM, Greg KH wrote: On Tue, Mar 28, 2017 at 10:44:44AM +0530, vaibhavd...@gmail.com wrote: gc2235.c Why is this file name here? Removed extra space before comma in memset() as a part of checkpatch.pl fix-up. Why

[PATCH 1/2] staging: media: atomisp: i2c: removed unnecessary white space before comma in memset()

2017-03-28 Thread vaibhavddit
From: Vaibhav Kothari Removed extra space before comma in memset() as a part of checkpatch.pl fix-up. Signed-off-by: Vaibhav Kothari --- drivers/staging/media/atomisp/i2c/gc2235.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

cron job: media_tree daily build: ERRORS

2017-03-28 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: Wed Mar 29 05:00:17 CEST 2017 media-tree git hash:c3d4fb0fb41f4b5eafeee51173c14e50be12f839 media_build

[PATCH] Remove atomisp/i2c style errors.

2017-03-28 Thread Daniel Cashman
From: Dan Cashman Remove two ' , ' issues and change spaces to tabs found by poking around in drivers/staging/. Warnings left untouched. Test: Run checkpatch script in drivers/staging/media/atomisp/i2c before and after change. Errors go from 3 to 0. Signed-off-by: Dan

Re: [PATCH 1/3] [media] mceusb: RX -EPIPE (urb status = -32) lockup failure fix

2017-03-28 Thread A Sun
On 3/28/2017 4:25 PM, Sean Young wrote: > >> The unused EVENT_TX_HALT and the apparently extra _kevent functions and >> kevent_flags are necessary for a later: >> [PATCH] [media] mceusb: TX -EPIPE lockup fix >> ...not yet written, transmit side equivalent bug. I respectfully recommend >>

Re: [PATCH v6 02/39] [media] dt-bindings: Add bindings for i.MX media driver

2017-03-28 Thread Steve Longerbeam
On 03/28/2017 05:21 PM, Rob Herring wrote: On Mon, Mar 27, 2017 at 7:40 PM, Steve Longerbeam wrote: Add bindings documentation for the i.MX media driver. + +mipi_csi2 node +-- + +This is the device node for the MIPI CSI-2 Receiver, required for MIPI

Re: [PATCH v6 02/39] [media] dt-bindings: Add bindings for i.MX media driver

2017-03-28 Thread Rob Herring
On Mon, Mar 27, 2017 at 7:40 PM, Steve Longerbeam wrote: > Add bindings documentation for the i.MX media driver. > > Signed-off-by: Steve Longerbeam > --- > Documentation/devicetree/bindings/media/imx.txt | 74 > + > 1

Re: [PATCH] staging: atomisp: avoid false-positive maybe-uninitialized warning

2017-03-28 Thread Arnd Bergmann
On Tue, Mar 28, 2017 at 10:10 PM, kbuild test robot <l...@intel.com> wrote: > Hi Arnd, > > [auto build test ERROR on staging/staging-testing] > [also build test ERROR on next-20170328] > [cannot apply to linuxtv-media/master v4.11-rc4] > [if your patch is applied to the wro

Re: [PATCH v7] [media] vimc: Virtual Media Controller core, capture and sensor

2017-03-28 Thread Sakari Ailus
Hi Mauro, On Tue, Mar 28, 2017 at 12:25:50PM -0300, Mauro Carvalho Chehab wrote: ... > The (very few) of non-MC app that doesn't fail if without those ioctl > will keep running. > > The only difference on implementing it is that other non-MC > applications will start to run if the driver passes

Re: [PATCH v7] [media] vimc: Virtual Media Controller core, capture and sensor

2017-03-28 Thread Sakari Ailus
Hi Mauro, On Tue, Mar 28, 2017 at 08:38:26AM -0300, Mauro Carvalho Chehab wrote: > Em Tue, 28 Mar 2017 12:00:36 +0200 > Hans Verkuil escreveu: > > > On 27/03/17 20:09, Mauro Carvalho Chehab wrote: > > > Em Mon, 27 Mar 2017 12:19:51 -0300 > > > Helen Koike

Re: [PATCH 1/3] [media] mceusb: RX -EPIPE (urb status = -32) lockup failure fix

2017-03-28 Thread Sean Young
On Mon, Mar 27, 2017 at 04:18:33AM -0400, A Sun wrote: > On 3/26/2017 4:31 PM, Sean Young wrote: > > On Sun, Mar 26, 2017 at 02:28:08PM -0400, A Sun wrote: > >> commit > >> https://github.com/asunxx/linux/commit/17fe3b51f4ad5202a876ea4c92b5d99d4e166823 > >> Author: A Sun >

Re: [PATCH] staging: atomisp: avoid false-positive maybe-uninitialized warning

2017-03-28 Thread kbuild test robot
Hi Arnd, [auto build test ERROR on staging/staging-testing] [also build test ERROR on next-20170328] [cannot apply to linuxtv-media/master v4.11-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

[PATCH v2] staging: media: atomisp: compress return logic

2017-03-28 Thread Arushi Singhal
Simplify function returns by merging assignment and return. Signed-off-by: Arushi Singhal --- changes in v2 *correct the error. drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c | 8 ++--

Re: [PATCH v7] [media] vimc: Virtual Media Controller core, capture and sensor

2017-03-28 Thread Mauro Carvalho Chehab
Em Tue, 28 Mar 2017 17:23:40 +0300 Sakari Ailus escreveu: > Hi Hans, > > On Tue, Mar 28, 2017 at 12:00:36PM +0200, Hans Verkuil wrote: > > On 27/03/17 20:09, Mauro Carvalho Chehab wrote: > > > Em Mon, 27 Mar 2017 12:19:51 -0300 > > > Helen Koike

Re: [PATCH v7] [media] vimc: Virtual Media Controller core, capture and sensor

2017-03-28 Thread Sakari Ailus
Hi Hans, On Tue, Mar 28, 2017 at 12:00:36PM +0200, Hans Verkuil wrote: > On 27/03/17 20:09, Mauro Carvalho Chehab wrote: > > Em Mon, 27 Mar 2017 12:19:51 -0300 > > Helen Koike escreveu: > > > >> Hi Sakari, > >> > >> On 2017-03-26 10:31 AM, Sakari Ailus wrote: > >>>

Re: [PATCH v6 17/39] platform: add video-multiplexer subdevice driver

2017-03-28 Thread Vladimir Zapolskiy
Hi Steve, On 03/28/2017 03:40 AM, Steve Longerbeam wrote: > From: Philipp Zabel > > This driver can handle SoC internal and external video bus multiplexers, > controlled either by register bit fields or by a GPIO. The subdevice > passes through frame interval and mbus

Re: [PATCH v4 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-28 Thread Neil Armstrong
On 03/22/2017 02:53 PM, Jose Abreu wrote: > Hi Neil, > > > On 21-03-2017 15:12, Neil Armstrong wrote: >> From: Laurent Pinchart >> >> In preparation for adding PHY operations to handle RX SENSE and HPD, >> group all the PHY interrupt setup code in a

Re: [RFC v2 03/11] vb2: Move cache synchronisation from buffer done to dqbuf handler

2017-03-28 Thread Laurent Pinchart
Hi Shuah, On Monday 27 Mar 2017 15:27:36 Shuah Khan wrote: > On Thu, Dec 15, 2016 at 6:24 PM, Laurent Pinchart wrote: > > From: Sakari Ailus > > > > The cache synchronisation may be a time consuming operation and thus not > > best performed in an interrupt which is

Re: [PATCH v7] [media] vimc: Virtual Media Controller core, capture and sensor

2017-03-28 Thread Mauro Carvalho Chehab
Em Tue, 28 Mar 2017 12:00:36 +0200 Hans Verkuil escreveu: > On 27/03/17 20:09, Mauro Carvalho Chehab wrote: > > Em Mon, 27 Mar 2017 12:19:51 -0300 > > Helen Koike escreveu: > > > >> Hi Sakari, > >> > >> On 2017-03-26 10:31 AM, Sakari Ailus

Re: [PATCH 0/3] Handling of reduced FPS in V4L2

2017-03-28 Thread Hans Verkuil
On 27/03/17 13:58, Jose Abreu wrote: > Hi Hans, > > > On 24-03-2017 12:28, Hans Verkuil wrote: >> On 03/24/17 13:21, Jose Abreu wrote: >>> Hi Hans, >>> >>> >>> On 24-03-2017 12:12, Hans Verkuil wrote: On 03/24/17 12:52, Jose Abreu wrote: > Hi Hans, > > >>> Can you please

[PATCH] staging: atomisp: avoid false-positive maybe-uninitialized warning

2017-03-28 Thread Arnd Bergmann
In combination with CONFIG_PROFILE_ANNOTATED_BRANCHES=y, the unlikely() inside of the WARN() macro becomes too complex for gcc to see that we don't use the output arguments of mt9m114_to_res() are used correctly: drivers/staging/media/atomisp/i2c/mt9m114.c: In function 'mt9m114_get_fmt':

Re: [PATCH v7] [media] vimc: Virtual Media Controller core, capture and sensor

2017-03-28 Thread Hans Verkuil
On 27/03/17 20:09, Mauro Carvalho Chehab wrote: > Em Mon, 27 Mar 2017 12:19:51 -0300 > Helen Koike escreveu: > >> Hi Sakari, >> >> On 2017-03-26 10:31 AM, Sakari Ailus wrote: >>> Hi Helen, >>> >>> ... +static int vimc_cap_enum_input(struct file *file, void

Re: [PATCH 2/8] [media] staging: st-cec: Use cec_get_drvdata()

2017-03-28 Thread Hans Verkuil
On 28/03/17 11:17, Benjamin Gaignard wrote: > 2017-03-24 17:47 GMT+01:00 Jose Abreu : >> Use helper function to get driver private data from CEC >> adapter. > > That looks good for me but does it make sense to merge that now ? or > should we wait until > cec drivers as

Re: [PATCH 2/8] [media] staging: st-cec: Use cec_get_drvdata()

2017-03-28 Thread Benjamin Gaignard
2017-03-24 17:47 GMT+01:00 Jose Abreu : > Use helper function to get driver private data from CEC > adapter. That looks good for me but does it make sense to merge that now ? or should we wait until cec drivers as move out of staging ? Hans what is your view on that ? >

[PATCHv6 10/14] ov2640: update bindings

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Update the bindings for this device based on a working DT example. Signed-off-by: Hans Verkuil Acked-by: Rob Herring Acked-by: Sakari Ailus ---

[PATCHv6 09/14] ov2640: fix colorspace handling

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil The colorspace is independent of whether YUV or RGB is sent to the SoC. Fix this. Signed-off-by: Hans Verkuil Acked-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/ov2640.c | 23

[PATCHv6 14/14] em28xx: drop last soc_camera link

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil The em28xx driver still used the soc_camera.h header for the ov2640 driver. Since this driver no longer uses soc_camera, that include can be removed. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus

[PATCHv6 12/14] ov2640: use standard clk and enable it.

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Convert v4l2_clk to normal clk and enable the clock. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/i2c/ov2640.c | 31 ++- 1 file changed, 14

[PATCHv6 13/14] ov2640: add MC support

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil The MC support is needed by the em28xx driver. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/i2c/ov2640.c | 22 -- 1 file changed, 20 insertions(+), 2

[PATCHv6 06/14] atmel-isi: update device tree bindings documentation

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil The original bindings documentation was incomplete (missing pinctrl-names, missing endpoint node properties) and the example was out of date. Add the missing information and tidy up the text. Signed-off-by: Hans Verkuil

[PATCHv6 08/14] atmel-isi: move out of soc_camera to atmel

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Move this out of the soc_camera directory into the atmel directory where it belongs. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/platform/Makefile

[PATCHv6 01/14] ov7670: document device tree bindings

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Add binding documentation and add that file to the MAINTAINERS entry. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus Acked-by: Rob Herring ---

[PATCHv6 00/14] atmel-isi/ov7670/ov2640: convert to standalone drivers

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil This patch series converts the soc-camera atmel-isi to a standalone V4L2 driver. The same is done for the ov7670 and ov2640 sensor drivers: the ov7670 was used to test the atmel-isi driver. The ov2640 is needed because the em28xx driver has a

[PATCHv6 03/14] ov7670: fix g/s_parm

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Drop unnecesary memset. Drop the unnecessary extendedmode check and set the V4L2_CAP_TIMEPERFRAME capability. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/i2c/ov7670.c | 4

[PATCHv6 11/14] ov2640: convert from soc-camera to a standard subdev sensor driver.

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Convert ov2640 to a standard subdev driver. The soc-camera driver no longer uses this driver, so it can safely be converted. Note: the s_power op has been dropped: this never worked. When the last open() is closed, then the power is turned off, and

[PATCHv6 05/14] ov7670: add devicetree support

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Add DT support. Use it to get the reset and pwdn pins (if there are any). Tested with one sensor requiring reset/pwdn and one sensor that doesn't have reset/pwdn pins. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus

[PATCHv6 02/14] ov7670: call v4l2_async_register_subdev

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Add v4l2-async support for this driver. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/i2c/ov7670.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-)

[PATCHv6 04/14] ov7670: get xclk

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil Get the clock for this sensor. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/i2c/ov7670.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff

[PATCHv6 07/14] atmel-isi: remove dependency of the soc-camera framework

2017-03-28 Thread Hans Verkuil
From: Hans Verkuil This patch converts the atmel-isi driver from a soc-camera driver to a driver that is stand-alone. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/platform/soc_camera/Kconfig

pull request: linux-firmware: Update Mediatek MT8173 VPU firmware

2017-03-28 Thread Andrew-CT Chen
Hi linux-firmware maintainers, The following changes since commit 44d8e8d4fdcdff56e9e21208d4b4aa7cd6962656: Merge branch 'master' of https://github.com/Netronome/linux-firmware (2017-03-24 09:43:35 -0700) are available in the git repository at: