cron job: media_tree daily build: WARNINGS

2018-03-27 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 28 05:00:10 CEST 2018 media-tree git hash:6ccd228e0cfce2a4f44558422d25c60fcb1a6710 media_build gi

RE: [PATCH v4 00/12] Intel IPU3 ImgU patchset

2018-03-27 Thread Mani, Rajmohan
Adding Tomasz... > -Original Message- > From: Mani, Rajmohan > Sent: Tuesday, February 20, 2018 5:56 PM > To: 'Mauro Carvalho Chehab' > Cc: Zhi, Yong ; 'linux-media@vger.kernel.org' me...@vger.kernel.org>; 'sakari.ai...@linux.intel.com' > ; Zheng, Jian Xu ; > Toivonen, Tuukka ; Hu, Jerry

[PATCH] media: i2c: wm9090: replace codec to component

2018-03-27 Thread Kuninori Morimoto
From: Kuninori Morimoto Now we can replace Codec to Component. Let's do it. Note: xxx_codec_xxx() -> xxx_component_xxx() .idle_bias_off = 0 -> .idle_bias_on = 1 .ignore_pmdown_time = 0 -> .use_pmdown_time = 1 - ->

Re: [PATCH v3 1/5] dvb-frontends/dvb-pll: add i2c driver support

2018-03-27 Thread Antti Palosaari
On 03/26/2018 09:06 PM, tsk...@gmail.com wrote: From: Akihiro Tsukada registers the module as an i2c driver, but keeps dvb_pll_attach() untouched for compatibility. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/dvb-pll.c | 49 +++ drivers/me

Re: [PATCH v4] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-03-27 Thread Antti Palosaari
On 03/27/2018 08:47 PM, tsk...@gmail.com wrote: From: Akihiro Tsukada Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decompos

HI

2018-03-27 Thread Lucy Boston
-- Greeting, once again is me Lucy Boston this is twice am contacting you please is very urgent respond to me for more details through my. Email: dr.lucybos...@gmail.com

Re: [PATCH] dma-buf: use parameter structure for dma_buf_attach

2018-03-27 Thread kbuild test robot
Hi Christian, I love your patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.16-rc7 next-20180327] [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

Industrial routers with high?performance-price ratio and multiple functions

2018-03-27 Thread Linda
Dear Sir or Madam, If you're on the market for industrial routers, It will be glad to tell you that we can meet all of your requirements . Our company name is Xiamen Ursalink Technology Co,We are the manufacturer specializing on designing and producing M2M/IoT hardware and solutions. The feat

[PATCH v4] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-03-27 Thread tskd08
From: Akihiro Tsukada Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses exist

[PATCH] media: rc: report receiver and transmitter type on device register

2018-03-27 Thread Sean Young
On the raspberry pi, we might have two lirc devices; one for sending and one for receiving. This change makes it much more apparent which one is which. Signed-off-by: Sean Young --- Documentation/media/uapi/rc/lirc-dev-intro.rst | 2 +- drivers/media/rc/lirc_dev.c| 22 ++

[PATCH 2/4] dvb/pci/pt3: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt3/pt3.c | 11 +-- drivers/media/pci/pt3/pt3.h | 11 +-- drivers/media/pci/pt3/pt3_dma.c | 11 +-- drivers/media/pci/pt3/pt3_i2c.c | 11 +-- 4 files changed, 4 insertions(+), 40 d

[PATCH 1/4] dvb-frontends/tc90522: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 11 +-- drivers/media/dvb-frontends/tc90522.h | 11 +-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-fro

[PATCH 3/4] tuners/mxl301rf: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/mxl301rf.c | 11 +-- drivers/media/tuners/mxl301rf.h | 11 +-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/media/tuners/mxl301rf.c b/drivers/media/tuners/mxl301rf.c index 15

[PATCH 0/4] dvb: pt3 etc.: SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada use SPDX License Identifier in the drivers that I wrote initially. Akihiro Tsukada (4): dvb-frontends/tc90522: use SPDX License Identifier dvb/pci/pt3: use SPDX License Identifier tuners/mxl301rf: use SPDX License Identifier tuners/qm1d1c0042: use SPDX License Ident

[PATCH 4/4] tuners/qm1d1c0042: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/qm1d1c0042.c | 11 +-- drivers/media/tuners/qm1d1c0042.h | 11 +-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/media/tuners/qm1d1c0042.c b/drivers/media/tuners/qm1d1c0042.c

[PATCH] dvb-core/dvb_frontend: set better default for ISDB-T

2018-03-27 Thread tskd08
From: Akihiro Tsukada DTV_ISDBT_LAYER_ENABLED parameter should be set to "All" by default, instead of "None", as described in the API document. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/m

[PATCH v4 2/6] media: uvcvideo: Convert decode functions to use new context structure

2018-03-27 Thread Kieran Bingham
The URB completion handlers currently reference the stream context. Now that each URB has its own context structure, convert the decode (and one encode) functions to utilise this context for URB management. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- v2: - fix checkpatch w

[PATCH v4 3/6] media: uvcvideo: Protect queue internals with helper

2018-03-27 Thread Kieran Bingham
The URB completion operation obtains the current buffer by reading directly into the queue internal interface. Protect this queue abstraction by providing a helper uvc_queue_get_current_buffer() which can be used by both the decode task, and the uvc_queue_next_buffer() functions. Signed-off-by: K

[PATCH v4 1/6] media: uvcvideo: Refactor URB descriptors

2018-03-27 Thread Kieran Bingham
We currently store three separate arrays for each URB reference we hold. Objectify the data needed to track URBs into a single uvc_urb structure, allowing better object management and tracking of the URB. All accesses to the data pointers through stream, are converted to use a uvc_urb pointer for

[PATCH v4 0/6] Asynchronous UVC

2018-03-27 Thread Kieran Bingham
The Linux UVC driver has long provided adequate performance capabilities for web-cams and low data rate video devices in Linux while resolutions were low. Modern USB cameras are now capable of high data rates thanks to USB3 with 1080p, and even 4k capture resolutions supported. Cameras such as th

[PATCH v4 6/6] media: uvcvideo: Move decode processing to process context

2018-03-27 Thread Kieran Bingham
Newer high definition cameras, and cameras with multiple lenses such as the range of stereo-vision cameras now available have ever increasing data rates. The inclusion of a variable length packet header in URB packets mean that we must memcpy the frame data out to our destination 'manually'. This

[PATCH v4 4/6] media: uvcvideo: queue: Simplify spin-lock usage

2018-03-27 Thread Kieran Bingham
Both uvc_start_streaming(), and uvc_stop_streaming() are called from userspace context, with interrupts enabled. As such, they do not need to save the IRQ state, and can use spin_lock_irq() and spin_unlock_irq() respectively. Signed-off-by: Kieran Bingham --- v4: - Rebase to v4.16 (linux-media

[PATCH v4 5/6] media: uvcvideo: queue: Support asynchronous buffer handling

2018-03-27 Thread Kieran Bingham
The buffer queue interface currently operates sequentially, processing buffers after they have fully completed. In preparation for supporting parallel tasks operating on the buffers, we will need to support buffers being processed on multiple CPUs. Adapt the uvc_queue_next_buffer() such that a re

[PATCH] dvb-frontends/tc90522: fix bit shift mistakes

2018-03-27 Thread tskd08
From: Akihiro Tsukada they were obviously wrong. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index 5572b39614d..04

Re: FM radio (SAA7134)

2018-03-27 Thread P G
Output of radio application from xawtv $ radio -f 106.60 Tuning to 106.60 MHz Invalid freq '1705625'. Current freq out of range? On Tue, Mar 27, 2018 at 1:52 PM, P G wrote: > I have tuner card, with radio tuner. > > The modules are loaded fine, no errors in dmesg, but radio is having issues. >

Re: [PATCH v3 3/5] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio

2018-03-27 Thread kbuild test robot
Hi Akihiro, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.16-rc7 next-20180327] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[RFC PATCH] dvb-usb/friio, dvb-usb-v2/gl861: friio_props can be static

2018-03-27 Thread kbuild test robot
Fixes: 7d9f3a71c6fc ("dvb-usb/friio, dvb-usb-v2/gl861: decompose friio") Signed-off-by: Fengguang Wu --- gl861.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/gl861.c b/drivers/media/usb/dvb-usb-v2/gl861.c index bc18ca3..ef64411 100644 --- a

[PATCH 4/5] dvb: earth-pt1: add support for suspend/resume

2018-03-27 Thread tskd08
From: Akihiro Tsukada Without this patch, re-loading of the module was required after resume. Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt1/pt1.c | 107 +++- 1 file changed, 105 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/pt1

[PATCH 2/5] tuners: add new driver for Sharp qm1d1b0004 ISDB-S tuner

2018-03-27 Thread tskd08
From: Akihiro Tsukada The tuner is used in Earthsoft PT1/PT2 DVB boards, and the driver was extraced from (the former) va1j5jf8007s.c of PT1. it might contain PT1 specific configs. Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/Kconfig | 7 + drivers/media/tuners/Makefile

[PATCH 1/5] dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc

2018-03-27 Thread tskd08
From: Akihiro Tsukada This patch adds a PLL "description" of Philips TDA6651 for ISDB-T. It was extracted from (the former) va1j5jf8007t.c of EarthSoft PT1, thus the desc might include PT1 specific configs. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/dvb-pll.c | 23 +

[PATCH 3/5] dvb: earth-pt1: decompose pt1 driver into sub drivers

2018-03-27 Thread tskd08
From: Akihiro Tsukada earth-pt1 was a monolithic module and included demod/tuner drivers. This patch removes those FE parts and attach demod/tuner i2c drivers. Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt1/Kconfig| 3 + drivers/media/pci/pt1/Makefile | 3 +- drive

[PATCH 5/5] dvb: earth-pt1: replace schedule_timeout with usleep_range

2018-03-27 Thread tskd08
From: Akihiro Tsukada As described in Document/timers/timers-howto.txt, hrtimer-based delay should be used for small sleeps. Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt1/pt1.c | 34 +++--- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/d

[PATCH 0/5] dvb/pci/pt1: decompose earth-pt1 into sub drivers

2018-03-27 Thread tskd08
From: Akihiro Tsukada Akihiro Tsukada (5): dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner dvb: earth-pt1: decompose pt1 driver into sub drivers dvb: earth-pt1: add support for suspend/resume dvb: earth-pt1: replace schedul

Re: [RFC v2 00/10] Preparing the request API

2018-03-27 Thread Hans Verkuil
Status update: Current work-in-progress tree: https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=reqv8 v4l2-compliance test code: https://git.linuxtv.org/hverkuil/v4l-utils.git/log/?h=request It is now working for me with v4l2-compliance and vim2m and vivid. All requests and request objec

Re: [PATCH v3 2/2] media: ov2680: Add Omnivision OV2680 sensor driver

2018-03-27 Thread Rui Miguel Silva
Hi Sakari, On Sat 24 Mar 2018 at 10:57, Sakari Ailus wrote: Hi Rui, I wanted to go through the code the last time and I'd have a few review comments below... Thanks for the review. On Tue, Mar 13, 2018 at 11:33:11AM +, Rui Miguel Silva wrote: ... +static int ov2680_gain_set(struct o

Re: FM radio (SAA7134)

2018-03-27 Thread P G
I do not know if this is the problem but: As per V4L2 specifications VIDIOC_S_FREQUENCY ioctl expects tuning frequency in units of 62.5 KHz, or if the struct v4l2_tuner or struct v4l2_modulator capabilities flag V4L2_TUNER_CAP_LOW is set, in units of 62.5 Hz. But FM driver presently ha

Re: [PATCH 08/30] media: v4l2-ioctl: fix some "too small" warnings

2018-03-27 Thread Laurent Pinchart
Hi Mauro, On Monday, 26 March 2018 23:28:55 EEST Mauro Carvalho Chehab wrote: > Em Mon, 26 Mar 2018 21:47:33 +0300 Laurent Pinchart escreveu: > > On Monday, 26 March 2018 13:08:16 EEST Mauro Carvalho Chehab wrote: > > > Em Fri, 23 Mar 2018 23:53:56 +0200 Sakari Ailus escreveu: > > > > On Fri, Mar

Re: [PATCH 07/18] media: staging: atomisp: fix endianess issues

2018-03-27 Thread Andy Shevchenko
On Mon, 2018-03-26 at 17:10 -0400, Mauro Carvalho Chehab wrote: > There are lots of be-related warnings there, as it doesn't properly > mark what data uses bigendian. > @@ -107,7 +107,7 @@ mt9m114_write_reg(struct i2c_client *client, u16 > data_length, u16 reg, u32 val) > int num_msg; >

FM radio (SAA7134)

2018-03-27 Thread P G
I have tuner card, with radio tuner. The modules are loaded fine, no errors in dmesg, but radio is having issues. I use radio application from xawtv, and also fm tools, but none of them is working properly. When i fire up radio, it tunes to 1.04MHZ, and i hear sound noise (like when radio isn't tu

Re: [Linaro-mm-sig] [PATCH 1/5] dma-buf: add optional invalidate_mappings callback v2

2018-03-27 Thread Daniel Vetter
On Tue, Mar 27, 2018 at 10:06:04AM +0200, Christian König wrote: > Am 27.03.2018 um 09:53 schrieb Daniel Vetter: > > [SNIP] > > > > [SNIP] > > > > A slightly better solution is using atomic counter: > > > > driver_range_start() { > > > > atomic_inc(&mydev->notifier_count); > > > ... > > >

Re: [PATCH v6] ARM: dts: wheat: Fix ADV7513 address usage

2018-03-27 Thread Simon Horman
On Mon, Mar 26, 2018 at 10:04:24AM +0100, Kieran Bingham wrote: > Hi Simon, > > On 26/03/18 09:31, Simon Horman wrote: > > On Fri, Mar 23, 2018 at 09:16:13PM +, Kieran Bingham wrote: > >> Hi Simon, > >> > >> On 23/03/18 08:51, Simon Horman wrote: > >>> On Thu, Mar 22, 2018 at 09:30:40PM +,

Re: [PATCHv2 6/7] cec-pin-error-inj.rst: document CEC Pin Error Injection

2018-03-27 Thread Wolfram Sang
> > I'll wait for a v3 with the debugfs ABI documentation in order to merge > > it. Feel free to put it on a separate patch. > > debugfs ABI? Sounds like an oxymoron to me. Heh, thought the same :) signature.asc Description: PGP signature

Re: [Linaro-mm-sig] [PATCH 1/5] dma-buf: add optional invalidate_mappings callback v2

2018-03-27 Thread Christian König
Am 27.03.2018 um 09:53 schrieb Daniel Vetter: [SNIP] [SNIP] A slightly better solution is using atomic counter: driver_range_start() { atomic_inc(&mydev->notifier_count); ... Yeah, that is exactly what amdgpu is doing now. Sorry if my description didn't made that clear. I would lik

Re: [PATCHv2 6/7] cec-pin-error-inj.rst: document CEC Pin Error Injection

2018-03-27 Thread Jani Nikula
On Wed, 21 Mar 2018, Mauro Carvalho Chehab wrote: > Please notice that all debugfs/sysfs entries should *also* be > documented at the standard way, e. g. by adding the corresponding > documentation at Documentation/ABI. > > Please see Documentation/ABI/README. > > Additionally, there are a few min

Re: [Linaro-mm-sig] [PATCH 1/5] dma-buf: add optional invalidate_mappings callback v2

2018-03-27 Thread Daniel Vetter
On Tue, Mar 27, 2018 at 09:35:17AM +0200, Christian König wrote: > Am 26.03.2018 um 17:42 schrieb Jerome Glisse: > > On Mon, Mar 26, 2018 at 10:01:21AM +0200, Daniel Vetter wrote: > > > On Thu, Mar 22, 2018 at 10:58:55AM +0100, Christian König wrote: > > > > Am 22.03.2018 um 08:18 schrieb Daniel Ve

Re: [Linaro-mm-sig] [PATCH 1/5] dma-buf: add optional invalidate_mappings callback v2

2018-03-27 Thread Christian König
Am 26.03.2018 um 17:42 schrieb Jerome Glisse: On Mon, Mar 26, 2018 at 10:01:21AM +0200, Daniel Vetter wrote: On Thu, Mar 22, 2018 at 10:58:55AM +0100, Christian König wrote: Am 22.03.2018 um 08:18 schrieb Daniel Vetter: [SNIP] Key take away from that was that you can't take any locks from neith