cron job: media_tree daily build: WARNINGS

2019-04-05 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 6 05:00:11 CEST 2019 media-tree git hash:1c3ec30bb23023d738b538e64ac3028902d53692 media_build gi

Re: [PATCH v4 4/4] pvrusb2: Add Hauppauge HVR1955/1975 devices

2019-04-05 Thread Sean Young
On Fri, Apr 05, 2019 at 04:24:24PM +0100, Sean Young wrote: > On Wed, Feb 27, 2019 at 01:16:06PM -0600, Brad Love wrote: > +pr_info("%s(): resetting 160xxx demod\n", __func__); > > + /* TODO: not sure this is proper place to reset once only */ > > + pvr2_issue_simpl

Re: [PATCH v4 4/4] pvrusb2: Add Hauppauge HVR1955/1975 devices

2019-04-05 Thread Sean Young
On Wed, Feb 27, 2019 at 01:16:06PM -0600, Brad Love wrote: > Includes support to identify and use two Hauppauge device. > HVR-1955: > - LGDT3306a ATSC/QAM demod > - si2177 tuner > - cx25840 decoder for analog tv/composite/s-video/audio > > HVR-1975 dual-frontend: > - LGDT3306a ATSC/QAM demod > - s

Re: [PATCH v5 05/13] media: tvp5150: add input source selection of_graph support

2019-04-05 Thread Jacopo Mondi
Hi Marco, On Fri, Apr 05, 2019 at 08:03:09AM +0200, Marco Felsch wrote: > This patch adds the of_graph support to describe the tvp connections. > Physical the TVP5150 has three ports: AIP1A, AIP1B and YOUT. As result > of discussion [1],[2] the device-tree maps these ports 1:1. The svideo > connec

URGENT REPLY FOR THIS BUSINESS

2019-04-05 Thread Ms Safi Kabore
Dear Friend, I am Ms Safi Kabore work with the department of Audit and accounting manager here in the Bank, There is this fund that was keep in my custody years ago,please i need your assistance for the transferring of thIs fund to your bank account for both of us benefit for life time inv

Re: [PATCH v2 05/12] si2157: Add analog tuning related functions

2019-04-05 Thread Sean Young
On Wed, Feb 27, 2019 at 12:27:39PM -0600, Brad Love wrote: > Include set_analog_params, get_frequency, and get_bandwidth. > > Tested with NTSC and PAL standards via ch3/4 generator. Other standards > are included, but are untested due to lack of generator. There are quite a few warnings from chec

Re: [PATCH v5 03/13] media: v4l2-fwnode: add initial connector parsing support

2019-04-05 Thread Jacopo Mondi
Hi Marco, thanks for the patch On Fri, Apr 05, 2019 at 08:03:07AM +0200, Marco Felsch wrote: > The patch adds the initial connector parsing code, so we can move from a > driver specific parsing code to a generic one. Currently only the > generic fields and the analog-connector specific fields a

Re: [PATCH v5 02/13] media: v4l2-fwnode: add v4l2_fwnode_connector

2019-04-05 Thread Jacopo Mondi
Hi Marco, On Fri, Apr 05, 2019 at 08:03:06AM +0200, Marco Felsch wrote: > Currently every driver needs to parse the connector endpoints by it self. > This is the initial work to make this generic. The generic connector has > some common fields and some connector specific parts. The generic one > i

Re: [PATCH 1/9] davinci-vpif: Fix endpoint refcounting

2019-04-05 Thread Sakari Ailus
Hi Ian, On Fri, Apr 05, 2019 at 12:30:07PM +0100, Ian Arkver wrote: > Hi Sakari, > > My mail client at least is showing two versions of patch [1/9] with > different commit messages but (I think) the same content. Thanks for spotting this. I used the same output directory for git format-patch aft

Re: [bug report] [media] s5p-mfc: use MFC_BUF_FLAG_EOS to identify last buffers in decoder capture queue

2019-04-05 Thread Dan Carpenter
On Fri, Apr 05, 2019 at 12:02:49PM +0200, Andrzej Hajda wrote: > Hi Dan, > > On 04.04.2019 17:42, Dan Carpenter wrote: > > Hello Andrzej Hajda, > > > > The patch 4d0b0ed63660: "[media] s5p-mfc: use MFC_BUF_FLAG_EOS to > > identify last buffers in decoder capture queue" from Oct 7, 2015, > > leads

Re: [PATCH 1/9] davinci-vpif: Fix endpoint refcounting

2019-04-05 Thread Ian Arkver
Hi Sakari, My mail client at least is showing two versions of patch [1/9] with different commit messages but (I think) the same content. Regards, Ian On 05/04/2019 10:41, Sakari Ailus wrote: This patch addresses two problems with endpoint refcounting in parsing davinci-vpif endpoints: - put

Re: [PATCH 2/2] cx25840-core: Set media controller taint for pads

2019-04-05 Thread Sean Young
On Mon, Jan 14, 2019 at 07:24:08PM -0600, Brad Love wrote: > Fixes: 9d6d20e652 ("v4l2-mc: switch it to use the new approach to setup > pipelines") > > Without "taint" set for signal type, devices > with analog capture fail during probe: > > [5.821715] cx231xx 3-2:1.1: v4l2 driver version 0.0

Re: [PATCH 0/9] Rework V4L2 fwnode parsing; add defaults and avoid iteration

2019-04-05 Thread Sakari Ailus
On Fri, Apr 05, 2019 at 12:41:17PM +0300, Sakari Ailus wrote: > - Add another patch to change fwnode refcounting for > v4l2_async_notifier_add_fwnode_subdev > > - Add a patch to fix OF node refcounting and use / put order for > davinci-vpif If you wondered why does adding two patches to an 8-

Re: [PATCH 07/13] si2157: Briefly wait for tuning operation to complete

2019-04-05 Thread Sean Young
On Sat, Dec 29, 2018 at 11:51:16AM -0600, Brad Love wrote: > Some software reports no signal found on a frequency due to immediately > checking for lock as soon as set_params returns. This waits up 40ms for > tuning operation, then from 30-150ms (dig/analog) for signal lock before > returning from

Re: [bug report] [media] s5p-mfc: use MFC_BUF_FLAG_EOS to identify last buffers in decoder capture queue

2019-04-05 Thread Andrzej Hajda
Hi Dan, On 04.04.2019 17:42, Dan Carpenter wrote: > Hello Andrzej Hajda, > > The patch 4d0b0ed63660: "[media] s5p-mfc: use MFC_BUF_FLAG_EOS to > identify last buffers in decoder capture queue" from Oct 7, 2015, > leads to the following static checker warning: > > drivers/media/platform/s5p-m

Re: [PATCH v4 2/4] pvrusb2: Add multiple dvb frontend support

2019-04-05 Thread Sean Young
On Wed, Feb 27, 2019 at 01:16:04PM -0600, Brad Love wrote: > All changes are equivalent and backwards compatible. > All current devices have been changed to use fe[0] > Cleanup has been added to dvb init to support cleanup after failure. Just very minor note. Here you are adding suppport for 2 fro

Re: [PATCH] si2168: Change from DVB-T to DVB-T/T2 autodetect

2019-04-05 Thread Sean Young
Hi Brad, On Sat, Dec 29, 2018 at 12:00:18PM -0600, Brad Love wrote: > DVB-T2 support can be a bit lacking in user land, this provides a module > parameter to allow setting the PLP to auto detect DVB-T and DVB-T2 > signals after tuning. If a DVB-T2 signal is found the signal is > processed as DVB-T

[PATCH 5/9] omap3isp: Rework OF endpoint parsing

2019-04-05 Thread Sakari Ailus
Rework OF endpoint parsing for the omap3isp driver. This does add some lines of code. The benefits are still clear: - the great complication related to callbacks in endpoint parsing is gone; instead endpoints are obtained port by port and - endpoints may now have a default bus configuration whi

[PATCH 3/9] v4l2-async: Get fwnode reference when putting it to the notifier's list

2019-04-05 Thread Sakari Ailus
The v4l2_async_notifier_add_fwnode_subdev() did not take a reference of the added fwnode, relying on the caller to handle that instead, in essence putting the fwnode to be added if there was an error. As the reference is eventually released during the notifier cleanup, this is not intuitive nor lo

[PATCH 9/9] ipu3-cio2: Parse information from firmware without using callbacks

2019-04-05 Thread Sakari Ailus
Instead of using the convenience function v4l2_async_notifier_parse_fwnode_endpoints(), parse the endpoints and set up the async sub-devices without using callbacks. While this adds a little bit of code, it makes parsing the endpoints quite a bit more simple and gives more control to the driver ove

[PATCH 0/9] Rework V4L2 fwnode parsing; add defaults and avoid iteration

2019-04-05 Thread Sakari Ailus
Hi folks, This patchset reworks V4L2 fwnode endpoint parsing. It enables the use of endpoint configuration defaults that is available sensors and other drivers that only use a single endpoint. Well, the functionality was available already but no driver used it likely because of two reasons: lack o

[PATCH 7/9] ipu3-cio2: Clean up notifier's subdev list if parsing endpoints fails

2019-04-05 Thread Sakari Ailus
The notifier must be cleaned up whenever parsing endpoints fails. Do that to avoid a memory leak in that case. Signed-off-by: Sakari Ailus --- drivers/media/pci/intel/ipu3/ipu3-cio2.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/intel/ipu3/ipu3-ci

[PATCH 6/9] v4l2-async: Safely clean up an uninitialised notifier

2019-04-05 Thread Sakari Ailus
Make the V4L2 async framework a bit more robust by allowing to clean up an uninitialised notifier. Otherwise the result would be a (close to) NULL pointer dereference. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 8/9] ipu3-cio2: Proceed with notifier init even if there are no subdevs

2019-04-05 Thread Sakari Ailus
The notifier may be registered even if there are no subdevs. Do that to simplify the code. Signed-off-by: Sakari Ailus --- drivers/media/pci/intel/ipu3/ipu3-cio2.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2.c b/drivers/m

[PATCH 1/9] davinci-vpif: Don't dereference endpoint after putting it, fix refcounting

2019-04-05 Thread Sakari Ailus
The davinci-vpif driver dereferences its local endpoints after releasing the reference to them. The driver also puts its endpoints explicitly while the of_graph_get_next_endpoint() does that, too, leading to obtaining a reference once and releasing it twice. Both are fixed by this patch. Signed-

[PATCH 2/9] v4l2-async: Use endpoint node, not device node, for fwnode match

2019-04-05 Thread Sakari Ailus
V4L2 async framework can use both device's fwnode and endpoints's fwnode for matching the async sub-device with the sub-device. In order to proceed moving towards endpoint matching assign the endpoint to the async sub-device. As most async sub-device drivers (and the related hardware) only support

[PATCH 4/9] v4l2-async: Add v4l2_async_notifier_add_fwnode_remote_subdev

2019-04-05 Thread Sakari Ailus
v4l2_async_notifier_add_fwnode_remote_subdev is a convenience function for parsing information on V4L2 fwnode subdevs. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-async.c | 23 +++ include/media/v4l2-async.h | 25 + 2 files c

[PATCH 1/9] davinci-vpif: Fix endpoint refcounting

2019-04-05 Thread Sakari Ailus
This patch addresses two problems with endpoint refcounting in parsing davinci-vpif endpoints: - put endpoints on error and - do not dereference endpoints after they have been put. Signed-off-by: Sakari Ailus --- drivers/media/platform/davinci/vpif_capture.c | 5 ++--- 1 file changed, 2 insert

Re: [PATCH 1/6] media: v4l2-subdev: add stubs for v4l2_subdev_get_try_*

2019-04-05 Thread Marco Felsch
Hi Sakari, Jacopo, On 19-04-04 16:39, Jacopo Mondi wrote: > Hi Marco, Sakari, > > On Thu, Apr 04, 2019 at 11:39:34AM +0300, Sakari Ailus wrote: > > Hi Marco, > > > > On Thu, Apr 04, 2019 at 09:39:57AM +0200, Marco Felsch wrote: > > > In case of missing CONFIG_VIDEO_V4L2_SUBDEV_API those helpers a