cron job: media_tree daily build: OK

2018-10-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: Sun Oct 28 05:00:11 CET 2018 media-tree git hash:3b796aa60af087f5fec75aee9b17f2130f2b9adc media_build git

Re: [PATCH v4 3/6] media: v4l2-common: add V4L2_FRACT_COMPARE

2018-10-27 Thread Matt Ranostay
On Sat, Oct 20, 2018 at 7:26 AM Akinobu Mita wrote: > > Add macro to compare two v4l2_fract values in v4l2 common internal API. > The same macro FRACT_CMP() is used by vivid and bcm2835-camera. This just > renames it to V4L2_FRACT_COMPARE in order to avoid namespace collision. > > Cc: Matt Ranost

Re: [PATCH v4 5/6] media: video-i2c: support changing frame interval

2018-10-27 Thread Matt Ranostay
On Sat, Oct 20, 2018 at 7:26 AM Akinobu Mita wrote: > > AMG88xx has a register for setting frame rate 1 or 10 FPS. > This adds support changing frame interval. > > Reference specifications: > https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf > > Cc: Matt Ranostay

[PATCH] media: saa7134: rc device does not need 'saa7134 IR (' prefix

2018-10-27 Thread Sean Young
Before this patch, the rc name is truncated to: saa7134 IR (Hauppauge WinTV-HVR Now it is: Hauppauge WinTV-HVR1150 ATSC/QAM-Hybrid Signed-off-by: Sean Young --- drivers/media/pci/saa7134/saa7134-input.c | 4 +--- drivers/media/pci/saa7134/saa7134.h | 1 - 2 files changed

[PATCH 0/2] constify structures stored in fields of v4l2_subdev_ops structure

2018-10-27 Thread Julia Lawall
The fields of a v4l2_subdev_ops structure are all const, so the structures that are stored there and are not used elsewhere can be const as well. Done with the help of Coccinelle. --- drivers/media/i2c/ov7740.c|4 ++-- drivers/media/platform/vimc/vimc-sensor.c |2 +- 2 f

[PATCH 1/2] media: ov7740: constify structures stored in fields of v4l2_subdev_ops structure

2018-10-27 Thread Julia Lawall
The fields of a v4l2_subdev_ops structure are all const, so the structures that are stored there and are not used elsewhere can be const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/i2c/ov7740.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH 2/2] media: vimc: constify structures stored in fields of v4l2_subdev_ops structure

2018-10-27 Thread Julia Lawall
The fields of a v4l2_subdev_ops structure are all const, so the structures that are stored there and are not used elsewhere can be const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/platform/vimc/vimc-sensor.c |2 +- 1 file changed, 1 insertion(+

[PATCH] media: rockchip/rga: constify v4l2_m2m_ops structure

2018-10-27 Thread Julia Lawall
The v4l2_m2m_ops structure can be const as it is only passed to v4l2_m2m_init whose parameter is const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/platform/rockchip/rga/rga.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/med

[PATCH 2/2] media: ov5645: constify v4l2_ctrl_ops structure

2018-10-27 Thread Julia Lawall
The v4l2_ctrl_ops structure is only passed as the second argument to functions such as v4l2_ctrl_new_std for which the corresponding parameter is const, so make the v4l2_ctrl_ops structure const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/i2c/ov5645

[PATCH 1/2] media: vicodec: constify v4l2_ctrl_ops structure

2018-10-27 Thread Julia Lawall
The v4l2_ctrl_ops structure is only stored in the ops field of a v4l2_ctrl_config structure, and this field is const, or passed as the second argument of v4l2_ctrl_new_std, and the corresponding parameter is declared as const. Accordingly, the structure can also be const. Done with the help of Co

[PATCH 0/2] constify v4l2_ctrl_ops structures

2018-10-27 Thread Julia Lawall
Make const v4l2_ctrl_ops structures that are only stored in a const field or passed to a function having a const parameter. Done with the help of Coccinelle. --- drivers/media/i2c/ov5645.c|2 +- drivers/media/platform/vicodec/vicodec-core.c |2 +- 2 files changed, 2

[PATCH] media: mxl5xx: constify dvb_frontend_ops structure

2018-10-27 Thread Julia Lawall
The dvb_frontend_ops structure is only copied into the ops field of a dvb_frontend structure, so it can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/dvb-frontends/mxl5xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

Re: [RFP] Which V4L2 ioctls could be replaced by better versions?

2018-10-27 Thread Nicolas Dufresne
Le lundi 22 octobre 2018 à 12:37 +0900, Tomasz Figa a écrit : > Hi Philipp, > > On Mon, Oct 22, 2018 at 1:28 AM Philipp Zabel wrote: > > > > On Wed, Oct 03, 2018 at 05:24:39PM +0900, Tomasz Figa wrote: > > [...] > > > > Yes, but that would fall in a complete redesign I guess. The buffer > > > >