cron job: media_tree daily build: ERRORS

2019-03-18 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 Mar 19 05:00:16 CET 2019 media-tree git hash:9e98c678c2d6ae3a17cb2de55d17f69dddaa231b media_build git

Re: [PATCH 1/1] ipu3-cio2: Set CSI-2 receiver sub-device entity function

2019-03-18 Thread Bingbu Cao
Reviewed-by: Bingbu Cao On 3/18/19 11:55 PM, Sakari Ailus wrote: > Set the entity function for the four CSI-2 receiver sub-devices the driver > creates. This avoids a kernel warning from each as well. > > Signed-off-by: Sakari Ailus > --- > drivers/media/pci/intel/ipu3/ipu3-cio2.c | 1 + > 1 f

ir-keytable known bug -- fails to work when device specified

2019-03-18 Thread Adam Di Carlo
There seems to be known issue with ir-keytable such that while ./ir-keytable -p rc5 works, this one won't: ./ir-keytable -d /dev/input/event24 -p rc5 Reading the source, it looks like the internal 'rc_dev' struct is really only filled out (get_attribs()) in the case where the device isn't

[PATCH v4l-utils] keytable: minor rewording from TABLE to KEYMAP

2019-03-18 Thread Sean Young
Signed-off-by: Sean Young --- utils/keytable/ir-keytable.1.in | 15 +-- utils/keytable/keytable.c | 6 +++--- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/utils/keytable/ir-keytable.1.in b/utils/keytable/ir-keytable.1.in index c0844945..9a354be4 100644 --- a/

[RFC 2/8] v4l2-async: Add v4l2_async_notifier_add_fwnode_remote_subdev

2019-03-18 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 | 24 2 files ch

[RFC 4/8] omap3isp: Rework OF endpoint parsing

2019-03-18 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

[RFC 6/8] ipu3-cio2: Clean up notifier's subdev list if parsing endpoints fails

2019-03-18 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

[RFC 3/8] v4l2-fwnode: Use v4l2_async_notifier_add_fwnode_remote_subdev

2019-03-18 Thread Sakari Ailus
Shorten v4l2_async_notifier_fwnode_parse_endpoint by using v4l2_async_notifier_add_fwnode_remote_subdev. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-fwnode.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-fwnode.c

[RFC 0/8] Rework V4L2 fwnode parsing; add defaults and avoid iteration

2019-03-18 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

[RFC 1/8] v4l2-async: Use endpoint node, not device node, for fwnode match

2019-03-18 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

[RFC 5/8] v4l2-async: Safely clean up an uninitialised notifier

2019-03-18 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

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

2019-03-18 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

[RFC 8/8] ipu3-cio2: Parse information from firmware without using callbacks

2019-03-18 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 1/1] ipu3-cio2: Set CSI-2 receiver sub-device entity function

2019-03-18 Thread Sakari Ailus
Set the entity function for the four CSI-2 receiver sub-devices the driver creates. This avoids a kernel warning from each as well. Signed-off-by: Sakari Ailus --- drivers/media/pci/intel/ipu3/ipu3-cio2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2.

[PATCH 1/1] v4l: i2c: Regroup lens drivers under their own section

2019-03-18 Thread Sakari Ailus
The lens drivers had ended up under the video decoder section; add a new one just for them, between the camera sensors and flash drivers. Signed-off-by: Sakari Ailus --- drivers/media/i2c/Kconfig | 76 --- 1 file changed, 39 insertions(+), 37 deletions

[PATCH] media: ov7740: enable to get exposure control in autoexposure mode

2019-03-18 Thread Akinobu Mita
The exposure control is clustered with the autoexposure control and flagged as volatile, but the g_volatile_ctrl() doesn't handle V4L2_CID_EXPOSURE_AUTO. So, the value of the exposure control can't be read in autoexposure mode. This enables to get the exposure control in autoexposure mode by maki