cron job: media_tree daily build: ERRORS

2016-12-23 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 24 05:00:17 CET 2016 media-tree git hash:c739c0a7c3c2472d7562b8f802cdce44d2597c8b media_build git

[PATCH v5] media: video-i2c: add video-i2c driver

2016-12-23 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay --- Changes from

Re: [RFC/PATCH] media: Add video bus switch

2016-12-23 Thread Pavel Machek
Hi! Ok, this should be closer to something working. (But it does not work, yet). Pavel diff --git a/Documentation/devicetree/bindings/media/video-bus-switch.txt b/Doc

[PATCH] media: usb: cpia2: Use kmemdup instead of kmalloc and memcpy

2016-12-23 Thread Shyam Saini
When some other buffer is immediately copied into allocated region. Replace calls to kmalloc followed by a memcpy with a direct call to kmemdup. Signed-off-by: Shyam Saini --- drivers/media/usb/cpia2/cpia2_usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media

Re: [RFC/PATCH] media: Add video bus switch

2016-12-23 Thread Ivaylo Dimitrov
Hi, On 23.12.2016 13:42, Pavel Machek wrote: Hi! [...] static int isp_subdev_notifier_bound(struct v4l2_async_notifier *async, diff --git a/drivers/media/platform/video-bus-switch.c b/drivers/media/platform/video-bus-switch.c index 1a5d944..3a2d442 100644 --- a/drivers/media/platform/video-

Re: [RFC v3 00/21] Make use of kref in media device, grab references as needed

2016-12-23 Thread Laurent Pinchart
Hi Shuah, On Thursday 15 Dec 2016 09:06:41 Shuah Khan wrote: > On 12/15/2016 08:26 AM, Hans Verkuil wrote: > > On 15/12/16 15:45, Shuah Khan wrote: > >> On 12/15/2016 07:03 AM, Hans Verkuil wrote: > >>> On 15/12/16 13:56, Laurent Pinchart wrote: > On Thursday 15 Dec 2016 13:30:41 Sakari Ailus

Re: [RFC v3 00/21] Make use of kref in media device, grab references as needed

2016-12-23 Thread Laurent Pinchart
Hi Mauro, On Thursday 15 Dec 2016 15:08:26 Mauro Carvalho Chehab wrote: > Em Thu, 15 Dec 2016 16:26:19 +0100 Hans Verkuil escreveu: > >> Should all the entities stick around until all references to media > >> device are gone? If an application has /dev/media open, does that > >> mean all entities

Re: [RFC v3 00/21] Make use of kref in media device, grab references as needed

2016-12-23 Thread Laurent Pinchart
Hi Hans, On Thursday 15 Dec 2016 16:26:19 Hans Verkuil wrote: > On 15/12/16 15:45, Shuah Khan wrote: > > On 12/15/2016 07:03 AM, Hans Verkuil wrote: [snip] > >> In my view the main problem is that the media core is bound to a struct > >> device set by the driver that creates the MC. But since th

Re: [RFC v3 00/21] Make use of kref in media device, grab references as needed

2016-12-23 Thread Laurent Pinchart
Hi Shuah, On Thursday 15 Dec 2016 07:45:29 Shuah Khan wrote: > On 12/15/2016 07:03 AM, Hans Verkuil wrote: > > On 15/12/16 13:56, Laurent Pinchart wrote: > >> On Thursday 15 Dec 2016 13:30:41 Sakari Ailus wrote: > >>> On Tue, Dec 13, 2016 at 10:24:47AM -0200, Mauro Carvalho Chehab wrote: > Em

Important lnbp22.c patch

2016-12-23 Thread DDI Ognian Tschakalov
Hello, don’t know if this is the right way to report, so excuse me in advance if it is wrong… While searching the internet to fix my " TT S2-3650-CI USB with HH90 Rotor“ problem (see https://forum.libreelec.tv/thread-3038.html) I found this original patch (https://www.spinics.net/lists/linux-med

Re: [RFC/PATCH] media: Add video bus switch

2016-12-23 Thread Pavel Machek
Hi! > > [...] > > > > static int isp_subdev_notifier_bound(struct v4l2_async_notifier *async, > > diff --git a/drivers/media/platform/video-bus-switch.c > > b/drivers/media/platform/video-bus-switch.c > > index 1a5d944..3a2d442 100644 > > --- a/drivers/media/platform/video-bus-switch.c > > +++ b

[PATCH] [media] atmel-isc: add the isc pipeline function

2016-12-23 Thread Songjun Wu
Image Sensor Controller has an internal image processor. It can convert raw format to the other formats, like RGB565, YUV420P. A module parameter 'sensor_preferred' is used to enable or disable the pipeline function. Some v4l2 controls are added to tuning the image when the pipeline function is ena