cron job: media_tree daily build: OK

2018-12-22 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 Dec 23 05:00:11 CET 2018 media-tree git hash:4bd46aa0353e022c2401a258e93b107880a66533 media_build git

Re: [PATCH 00/14] Add support for FM radio in hcill and kill TI_ST

2018-12-22 Thread Pavel Machek
Hi! > > This moves all remaining users of the legacy TI_ST driver to hcill (patches > > 1-3). Then patches 4-7 convert wl128x-radio driver to a standard platform > > device driver with support for multiple instances. Patch 7 will result in > > (userless) TI_ST driver no longer supporting radio at

[PATCH v3] media: vicodec: add support for CROP and COMPOSE selection

2018-12-22 Thread Dafna Hirschfeld
Add support for the selection api for the crop and compose targets. The driver rounds up the coded width and height such that all planes dimensions are multiple of 8. Signed-off-by: Dafna Hirschfeld --- Main Changes from v2: Add support for compose selection. Rename the width/height fields of q_d

Re: [PATCH 00/14] Add support for FM radio in hcill and kill TI_ST

2018-12-22 Thread Adam Ford
On Sat, Dec 22, 2018 at 11:09 AM Tony Lindgren wrote: > > * Sebastian Reichel [181221 01:18]: > > The new code has been tested on the Motorola Droid 4. For testing the audio > > should be configured to route Ext to Speaker or Headphone. Then you need to > > plug headphone, since its cable is used

Re: [PATCH 00/14] Add support for FM radio in hcill and kill TI_ST

2018-12-22 Thread Pavel Machek
Merry Christmas! > This moves all remaining users of the legacy TI_ST driver to hcill (patches > 1-3). Then patches 4-7 convert wl128x-radio driver to a standard platform > device driver with support for multiple instances. Patch 7 will result in > (userless) TI_ST driver no longer supporting radi

Re: [PATCH 11/14] media: wl128x-radio: fix skb debug printing

2018-12-22 Thread Pavel Machek
On Fri 2018-12-21 02:17:49, Sebastian Reichel wrote: > From: Sebastian Reichel > > This fixes incorrect code in the TX/RX skb debug print > function and add stubs in receive/transmit packet path. > > Signed-off-by: Sebastian Reichel Acked-by: Pavel Machek > @@ -228,7 +228,7 @@ inline void d

Re: [PATCH 10/14] media: wl128x-radio: simplify fmc_prepare/fmc_release

2018-12-22 Thread Pavel Machek
On Fri 2018-12-21 02:17:48, Sebastian Reichel wrote: > From: Sebastian Reichel > > Remove unused return code from fmc_prepare() and fmc_release() to > simplify the code a bit. > /* > * This function will be called from FM V4L2 release function. > * Unregister from ST driver. > */ > -int

Re: [PATCH 08/14] media: wl128x-radio: use device managed memory allocation

2018-12-22 Thread Pavel Machek
On Fri 2018-12-21 02:17:46, Sebastian Reichel wrote: > From: Sebastian Reichel > > This simplifies memory allocation and removes a few useless > errors in case of -ENOMEM errors. > > Signed-off-by: Sebastian Reichel Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek

Re: [PATCH 07/14] media: wl128x-radio: convert to platform device

2018-12-22 Thread Pavel Machek
On Fri 2018-12-21 02:17:45, Sebastian Reichel wrote: > From: Sebastian Reichel > > This converts the wl128x FM radio module into a platform device. > It's a preparation for using it from hci_ll Bluetooth driver instead > of TI_ST. > > Signed-off-by: Sebastian Reichel Acked-by: Pavel Machek -

Re: [PATCH 06/14] media: wl128x-radio: remove global radio_dev

2018-12-22 Thread Pavel Machek
On Fri 2018-12-21 02:17:44, Sebastian Reichel wrote: > From: Sebastian Reichel > > Move global radio_dev into device structure to prepare converting > this driver into a normal platform device driver supporting multiple > instances. > > Signed-off-by: Sebastian Reichel Acked-by: Pavel Machek

Re: [PATCH 05/14] media: wl128x-radio: remove global radio_disconnected

2018-12-22 Thread Pavel Machek
On Fri 2018-12-21 02:17:43, Sebastian Reichel wrote: > From: Sebastian Reichel > > Move global radio_disconnected into device structure to > prepare converting this driver into a normal platform > device driver supporting multiple instances. > > Signed-off-by: Sebastian Reichel Acked-by: Pavel

[PATCH][next] media: staging: intel-ipu3: fix unsigned comparison with < 0

2018-12-22 Thread Colin King
From: Colin Ian King The comparison css->pipes[pipe].bindex < 0 is always false because bindex is an unsigned int. Fix this by using a signed integer for the comparison. Detected by CoverityScan, CID#1476023 ("Unsigned compared against 0") Fixes: f5f2e4273518 ("media: staging/intel-ipu3: Add c

[PATCH][next] media: cxd2880-spi: fix two memory leaks of dvb_spi

2018-12-22 Thread Colin King
From: Colin Ian King There are two return paths that do not kfree dvb_spi. Fix the memory leaks by returning via the exit label fail_adapter that will free dvi_spi. Detected by CoverityScan, CID#1475991 ("Resource Leak") Fixes: cb496cd472af ("media: cxd2880-spi: Add optional vcc regulator") Sig

Re: [PATCH 14/14] misc: ti-st: Drop superseded driver

2018-12-22 Thread Adam Ford
On Fri, Dec 21, 2018 at 9:00 PM Sebastian Reichel wrote: > > Hi, > > On Fri, Dec 21, 2018 at 03:10:52PM -0600, Adam Ford wrote: > > On Fri, Dec 21, 2018 at 2:13 AM Sebastian Reichel wrote: > > > > > > From: Sebastian Reichel > > > > > > This driver has been superseded by the serdev based Bluetoo

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

2018-12-22 Thread kbuild test robot
/linux/commits/Brad-Love/Add-Hauppauge-HVR1955-1975-devices/20181222-110834 base: git://linuxtv.org/media_tree.git master config: openrisc-allmodconfig (attached as .config) compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental) reproduce: wget https://raw.githubusercontent.com/intel

[PATCH 03/12] media: mt9m001: convert to SPDX license identifer

2018-12-22 Thread Akinobu Mita
Replace GPL license statements with SPDX license identifiers (GPL-2.0). Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/mt9m001.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/i2c/mt

[PATCH 00/12] media: mt9m001: switch soc_mt9m001 to a standard subdev sensor driver

2018-12-22 Thread Akinobu Mita
This patchset converts soc_camera mt9m001 driver to a standard subdev sensor driver. Akinobu Mita (12): media: i2c: mt9m001: copy mt9m001 soc_camera sensor driver media: i2c: mt9m001: dt: add binding for mt9m001 media: mt9m001: convert to SPDX license identifer media: mt9m001: add of_match

[PATCH 12/12] media: mt9m001: set all mbus format field when G_FMT and S_FMT ioctls

2018-12-22 Thread Akinobu Mita
This driver doesn't set all members of mbus format field when the VIDIOC_SUBDEV_{S,G}_FMT ioctls are called. This is detected by v4l2-compliance. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/mt9m001.c | 7 +++ 1 fi

[PATCH 06/12] media: mt9m001: switch s_power callback to runtime PM

2018-12-22 Thread Akinobu Mita
Switch s_power() callback to runtime PM framework. This also removes soc_camera specific power management code and introduces reset and standby gpios instead. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/mt9m001.c | 24

[PATCH 11/12] media: mt9m001: make VIDIOC_SUBDEV_G_FMT ioctl work with V4L2_SUBDEV_FORMAT_TRY

2018-12-22 Thread Akinobu Mita
The VIDIOC_SUBDEV_G_FMT ioctl for this driver doesn't recognize V4L2_SUBDEV_FORMAT_TRY and always works as if V4L2_SUBDEV_FORMAT_ACTIVE is specified. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/mt9m001.c | 27 +

[PATCH 07/12] media: mt9m001: remove remaining soc_camera specific code

2018-12-22 Thread Akinobu Mita
Remove remaining soc_camera specific code and drop soc_camera dependency from this driver. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/mt9m001.c | 84 ---

[PATCH 02/12] media: i2c: mt9m001: dt: add binding for mt9m001

2018-12-22 Thread Akinobu Mita
Add device tree binding documentation for the MT9M001 CMOS image sensor. Cc: Rob Herring Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- .../devicetree/bindings/media/i2c/mt9m001.txt | 37 ++ 1 file changed, 37 ins

[PATCH 09/12] media: mt9m001: register to V4L2 asynchronous subdevice framework

2018-12-22 Thread Akinobu Mita
Register a sub-device to the asynchronous subdevice framework, and also create subdevice device node. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/mt9m001.c | 9 - 2 files cha

[PATCH 10/12] media: mt9m001: support log_status ioctl and event interface

2018-12-22 Thread Akinobu Mita
This adds log_status ioctl and event interface for mt9m001's v4l2 controls. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/mt9m001.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/media/

[PATCH 08/12] media: mt9m001: add media controller support

2018-12-22 Thread Akinobu Mita
Create a source pad and set the media controller type to the sensor. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/Kconfig | 2 ++ drivers/media/i2c/mt9m001.c | 9 + 2 files changed, 11 insertions(+) diff --gi

[PATCH 01/12] media: i2c: mt9m001: copy mt9m001 soc_camera sensor driver

2018-12-22 Thread Akinobu Mita
Copy the soc_camera based driver in v4l2 sensor driver directory. This commit just copies the original file without modifying it. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/Kconfig | 7 + drivers/media/i2c/Makefil

[PATCH 04/12] media: mt9m001: add of_match_table

2018-12-22 Thread Akinobu Mita
Add of_match_table for the MT9M001 CMOS image sensor. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/mt9m001.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media/i2c/mt9m001.c b/drivers/media/i2c/mt9

[PATCH 05/12] media: mt9m001: introduce multi_reg_write()

2018-12-22 Thread Akinobu Mita
Introduce multi_reg_write() to write multiple registers to the device and use it where possible. Cc: Guennadi Liakhovetski Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/mt9m001.c | 88 + 1 file changed,

Re: [PATCH v4l-utils] v4l2-ctl: Add support for CROP selection in m2m streaming

2018-12-22 Thread Hans Verkuil
On 12/22/18 10:03 AM, Dafna Hirschfeld wrote: > On Wed, Dec 19, 2018 at 12:03 PM Hans Verkuil wrote: >> >> Yes, but those values are used in ioctl calls to the driver, so rather >> than using those values you query the driver. >> >>> They are needed in order to >>> read raw frames line by line for

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

2018-12-22 Thread kbuild test robot
/linux/commits/Brad-Love/Add-Hauppauge-HVR1955-1975-devices/20181222-110834 base: git://linuxtv.org/media_tree.git master config: x86_64-rhel-7.2-clear (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH

cron job: media_tree daily build: OK

2018-12-22 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 Dec 22 05:00:12 CET 2018 media-tree git hash:4bd46aa0353e022c2401a258e93b107880a66533 media_build git

Re: [PATCH v4l-utils] v4l2-ctl: Add support for CROP selection in m2m streaming

2018-12-22 Thread Dafna Hirschfeld
On Wed, Dec 19, 2018 at 12:03 PM Hans Verkuil wrote: > > On 12/19/18 9:34 AM, Dafna Hirschfeld wrote: > >>> +bool is_m2m_enc = false; > >> > >> This should be static. > >> > >> I'm assuming that in a future patch we'll get a is_m2m_dec as well? > > > > I forgot that there can be more options other