cron job: media_tree daily build: OK

2018-04-13 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: Sat Apr 14 05:00:14 CEST 2018 media-tree git hash:b284d4d5a6785f8cd07eda2646a95782373cd01e media_build gi

Re: Charity Support

2018-04-13 Thread Mikhail Fridman
-- I Mikhail Fridman. has selected you specially as one of my beneficiaries for my Charitable Donation, Just as I have declared on May 23, 2016 to give my fortune as charity. Check the link below for confirmation: http://www.ibtimes.co.uk/russias-second-wealthiest-man-mikhail-fridman-plans-l

Re: Smatch and sparse errors

2018-04-13 Thread Jasmin J.
Hello Mauro/Hans! > There is already an upstream patch for hidding it: The patch from https://patchwork.kernel.org/patch/10334353 will not apply at the smatch tree. Attached is an updated version for smatch. Even with the patched tools, sparse still complains: CC drivers/media/cec/cec-core

[PATCH] media: Revert cleanup ktime_set() usage

2018-04-13 Thread Jasmin J.
From: Jasmin Jessich This reverts 8b0e195314fa, because this will not compile for Kernels older than 4.10. Cc: Thomas Gleixner Signed-off-by: Jasmin Jessich --- drivers/media/dvb-core/dmxdev.c | 2 +- drivers/media/pci/cx88/cx88-input.c | 6 -- drivers/media/pci/pt3/pt3.c | 2

Re: [PATCH 03/17] media: atomisp: fix __user annotations

2018-04-13 Thread kbuild test robot
Hi Mauro, I love your patch! Yet something to improve: [auto build test ERROR on next-20180411] [also build test ERROR on v4.16] [cannot apply to linuxtv-media/master staging/staging-testing v4.16 v4.16-rc7 v4.16-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help

Re: [PATCH 02/17] media: staging: atomisp: don't declare the same vars as both private and public

2018-04-13 Thread kbuild test robot
Hi Mauro, I love your patch! Yet something to improve: [auto build test ERROR on next-20180411] [also build test ERROR on v4.16] [cannot apply to linuxtv-media/master staging/staging-testing v4.16 v4.16-rc7 v4.16-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help

Re: [PATCH v1.1 1/1] videodev2: Mark all user pointers as such

2018-04-13 Thread kbuild test robot
Hi Sakari, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.16 next-20180413] [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

[PATCHv2 17/17] media: v4l2-compat-ioctl32: fix several __user annotations

2018-04-13 Thread Mauro Carvalho Chehab
Smatch report several issues with bad __user annotations: drivers/media/v4l2-core/v4l2-compat-ioctl32.c:447:21: warning: incorrect type in argument 1 (different address spaces) drivers/media/v4l2-core/v4l2-compat-ioctl32.c:447:21:expected void [noderef] *uptr drivers/media/v4l2-core/v4

Re: [PATCH 09/13] imx274: get rid of mode_index

2018-04-13 Thread kbuild test robot
Hi Luca, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.16 next-20180413] [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

Re: [PATCH] media: v4l2-compat-ioctl32: fix several __user annotations

2018-04-13 Thread kbuild test robot
Hi Mauro, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.16 next-20180413] [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

Re: [PATCH] media: v4l2-compat-ioctl32: fix several __user annotations

2018-04-13 Thread kbuild test robot
Hi Mauro, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.16 next-20180413] [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] media: ir-spi: update Andi's e-mail

2018-04-13 Thread Andi Shyti
From: Andi Shyti Because I will be leaving Samsung soon, update my e-mail to the etezian.org mail. CC: Mauro Carvalho Chehab CC: Sean Young Signed-off-by: Andi Shyti --- Hi Sean, thanks for the review and sorry for the late reply. Here is the patch with my mail changed also in the MODULE_AUT

Re: [RfC PATCH] Add udmabuf misc device

2018-04-13 Thread Daniel Vetter
On Wed, Apr 11, 2018 at 08:59:32AM +0300, Oleksandr Andrushchenko wrote: > On 04/10/2018 08:26 PM, Dongwon Kim wrote: > > On Tue, Apr 10, 2018 at 09:37:53AM +0300, Oleksandr Andrushchenko wrote: > > > On 04/06/2018 09:57 PM, Dongwon Kim wrote: > > > > On Fri, Apr 06, 2018 at 03:36:03PM +0300, Oleks

Re: [RESEND PATCH v7 1/2] media: dt-bindings: Add bindings for Dongwoon DW9807 voice coil

2018-04-13 Thread Rob Herring
On Tue, Apr 10, 2018 at 11:48:43PM +0800, Andy Yeh wrote: > From: Alan Chiang > > Dongwoon DW9807 is a voice coil lens driver. > > Signed-off-by: Andy Yeh > --- > Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt | 9 + > 1 file changed, 9 insertions(+) > create mode 100

Re: imx-media: MT9P031 Capture issues on IMX6

2018-04-13 Thread Philipp Zabel
Hi Ibtsam, On Thu, 2018-04-12 at 16:00 +0200, Ibtsam Ul-Haq wrote: > Greetings everyone, > I am using Linux 4.14.31 on an IMX6 platform, with an MT9P031 sensor > attached to the ipu1_csi0 (parallel). > My Gstreamer version is 1.14.0 and v4l-utils version is 1.14.2. > The problem is that I am unabl

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Mauro Carvalho Chehab
Em Fri, 13 Apr 2018 14:20:52 +0100 Sean Young escreveu: > On Fri, Apr 13, 2018 at 07:00:50AM -0300, Mauro Carvalho Chehab wrote: > > Yeah, we could limit it to run only 512 times (or some other reasonable > > quantity), but in order to do that, we need to be sure that, on each read(), > > the FIF

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Sean Young
On Fri, Apr 13, 2018 at 07:00:50AM -0300, Mauro Carvalho Chehab wrote: > Yeah, we could limit it to run only 512 times (or some other reasonable > quantity), but in order to do that, we need to be sure that, on each read(), > the FIFO will shift - e. g. no risk of needing to do more than one read >

Re: [PATCH v8 2/2] v4l: cadence: Add Cadence MIPI-CSI2 TX driver

2018-04-13 Thread Sakari Ailus
Hi Maxime, On Wed, Apr 04, 2018 at 02:20:25PM +0200, Maxime Ripard wrote: > The Cadence MIPI-CSI2 TX controller is an hardware block meant to be used > as a bridge between pixel interfaces and a CSI-2 bus. > > It supports operating with an internal or external D-PHY, with up to 4 > lanes, or with

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Mauro Carvalho Chehab
Em Fri, 13 Apr 2018 10:40:05 +0100 Sean Young escreveu: > On Fri, Apr 13, 2018 at 06:06:46AM -0300, Mauro Carvalho Chehab wrote: > > Hi Sean, > > > > Em Thu, 12 Apr 2018 23:21:32 +0100 > > Sean Young escreveu: > > > > > On Thu, Apr 12, 2018 at 11:24:07AM -0400, Mauro Carvalho Chehab wrote:

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Mauro Carvalho Chehab
Em Fri, 13 Apr 2018 11:36:56 +0200 Mason escreveu: > On 13/04/2018 11:25, Mauro Carvalho Chehab wrote: > > Em Fri, 13 Apr 2018 11:15:16 +0200 > > Mason escreveu: > > > >> On 12/04/2018 17:24, Mauro Carvalho Chehab wrote: > >> > >>> As warned by smatch: > >>> drivers/media/rc/st_rc.c:110 s

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Sean Young
On Fri, Apr 13, 2018 at 06:06:46AM -0300, Mauro Carvalho Chehab wrote: > Hi Sean, > > Em Thu, 12 Apr 2018 23:21:32 +0100 > Sean Young escreveu: > > > On Thu, Apr 12, 2018 at 11:24:07AM -0400, Mauro Carvalho Chehab wrote: > > > As warned by smatch: > > > drivers/media/rc/st_rc.c:110 st_rc_rx_in

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Mason
On 13/04/2018 11:25, Mauro Carvalho Chehab wrote: > Em Fri, 13 Apr 2018 11:15:16 +0200 > Mason escreveu: > >> On 12/04/2018 17:24, Mauro Carvalho Chehab wrote: >> >>> As warned by smatch: >>> drivers/media/rc/st_rc.c:110 st_rc_rx_interrupt() warn: this loop >>> depends on readl() succeeding

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Mauro Carvalho Chehab
Em Fri, 13 Apr 2018 11:15:16 +0200 Mason escreveu: > On 12/04/2018 17:24, Mauro Carvalho Chehab wrote: > > > As warned by smatch: > > drivers/media/rc/st_rc.c:110 st_rc_rx_interrupt() warn: this loop > > depends on readl() succeeding > > > > If something goes wrong at readl(), the logic wi

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Mason
On 12/04/2018 17:24, Mauro Carvalho Chehab wrote: > As warned by smatch: > drivers/media/rc/st_rc.c:110 st_rc_rx_interrupt() warn: this loop > depends on readl() succeeding > > If something goes wrong at readl(), the logic will stay there > inside an IRQ code forever. This is not the nices

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Mauro Carvalho Chehab
Hi Sean, Em Thu, 12 Apr 2018 23:21:32 +0100 Sean Young escreveu: > On Thu, Apr 12, 2018 at 11:24:07AM -0400, Mauro Carvalho Chehab wrote: > > As warned by smatch: > > drivers/media/rc/st_rc.c:110 st_rc_rx_interrupt() warn: this loop > > depends on readl() succeeding > > > > If something go

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Patrice CHOTARD
Hi Mauro On 04/12/2018 05:24 PM, Mauro Carvalho Chehab wrote: > As warned by smatch: > drivers/media/rc/st_rc.c:110 st_rc_rx_interrupt() warn: this loop > depends on readl() succeeding > > If something goes wrong at readl(), the logic will stay there > inside an IRQ code forever. This is n

Re: [PATCH 15/17] media: st_rc: Don't stay on an IRQ handler forever

2018-04-13 Thread Patrice CHOTARD
Hi Mauro, Sean On 04/13/2018 12:21 AM, Sean Young wrote: > On Thu, Apr 12, 2018 at 11:24:07AM -0400, Mauro Carvalho Chehab wrote: >> As warned by smatch: >> drivers/media/rc/st_rc.c:110 st_rc_rx_interrupt() warn: this loop >> depends on readl() succeeding >> >> If something goes wrong at rea

Re: [PATCH] media: cx231xx: Add support for AverMedia DVD EZMaker 7

2018-04-13 Thread Kai Heng Feng
Hi, On Mar 26, 2018, at 2:06 PM, Kai-Heng Feng wrote: User reports AverMedia DVD EZMaker 7 can be driven by VIDEO_GRABBER. Add the device to the id_table to make it work. *Gentle ping* I am hoping this patch can get merged in v4.17. Kai-Heng BugLink: https://bugs.launchpad.net/bugs/162