[PATCH] mn88473: fix error path on probe()

2016-05-13 Thread Antti Palosaari
Latest, 3rd, regmap instance should be freed on error case. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/mn88473.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/mn88473.c b/drivers/media/dvb-frontends/mn88473.c index 6c5d5

[PATCH 2/3] mn88472: finalize driver

2016-05-13 Thread Antti Palosaari
Finalize driver in order to move out of staging. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/mn88472.h| 45 +-- drivers/staging/media/mn88472/mn88472.c | 513 ++- drivers/staging/media/mn88472/mn88472_priv.h | 11 +- 3 files changed, 301

[PATCH 3/3] mn88472: move out of staging to media

2016-05-13 Thread Antti Palosaari
Move mn88472 DVB-T/T2/C demod driver out of staging to media. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/Kconfig | 8 + drivers/media/dvb-frontends/Makefile | 1 + drivers/media/dvb-frontends/mn88472.c| 607 +++ drivers/med

[PATCH 1/3] rtl28xxu: increase failed I2C msg repeat count to 2

2016-05-13 Thread Antti Palosaari
1 wasn't enough for mn88472 chip on Astrometa device, so increase it by one. Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl2

cron job: media_tree daily build: OK

2016-05-13 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 May 14 04:00:24 CEST 2016 git branch: test git hash: d1532d5575696965a52b19553dd7dacf75f3fec5 gcc versi

[PATCH 1/3] properly report a single frame rate of 60 FPS

2016-05-13 Thread Florian Echtler
The device hardware is always running at 60 FPS, so report this both via PARM_IOCTL and ENUM_FRAMEINTERVALS. Signed-off-by: Martin Kaltenbrunner Signed-off-by: Florian Echtler --- drivers/input/touchscreen/sur40.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --

[PATCH 3/3] fix occasional oopses on device close

2016-05-13 Thread Florian Echtler
Closing the V4L2 device sometimes triggers a kernel oops. Present patch fixes this. Signed-off-by: Martin Kaltenbrunner Signed-off-by: Florian Echtler --- drivers/input/touchscreen/sur40.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/sur40.c b

[PATCH 2/3] lower poll interval to fix occasional FPS drops to ~56 FPS

2016-05-13 Thread Florian Echtler
The framerate sometimes drops below 60 Hz if the poll interval is too high. Lowering it to the minimum of 1 ms fixes this. Signed-off-by: Martin Kaltenbrunner Signed-off-by: Florian Echtler --- drivers/input/touchscreen/sur40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 2/3] media: add media_device_unregister_put() interface

2016-05-13 Thread Shuah Khan
Add media_device_unregister_put() interface to release reference to a media device allocated using the Media Device Allocator API. The media device is unregistered and freed when the last driver that holds the reference to the media device releases the reference. The media device is unregistered an

[PATCH 1/3] media: Media Device Allocator API

2016-05-13 Thread Shuah Khan
Media Device Allocator API to allows multiple drivers share a media device. Using this API, drivers can allocate a media device with the shared struct device as the key. Once the media device is allocated by a driver, other drivers can get a reference to it. The media device is released when all th

[PATCH 3/3] media: change au0828 to use Media Device Allocator API

2016-05-13 Thread Shuah Khan
Change au0828 to use Media Device Allocator API to allocate media device with the parent usb struct device as the key, so it can be shared with the snd usb audio driver. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c | 12 drivers/media/usb/au0828/au0828.h

[PATCH 0/3] Media Device Allocator API

2016-05-13 Thread Shuah Khan
Media Device Allocator API to allows multiple drivers share a media device. Using this API, drivers can allocate a media device with the shared struct device as the key. Once the media device is allocated by a driver, other drivers can get a reference to it. The media device is released when all th

You buy from China,We transit to you.

2016-05-13 Thread Alfred
Dear Sirs: How are you.We are the forwarder company in shenzhen, China. The second to you. We do not regularly in the international express delivery, shipping, air freight, etc have a promotion price.So, when you have goods,please send the packing list to me.I can give you a quotat

Re: [PATCH v2 0/8] Input: atmel_mxt_ts - output raw touch diagnostic data via V4L

2016-05-13 Thread Nick Dyer
Hi Mauro, Hans, Dmitry, Henrik- You kindly passed comment on this feature in its earlier form - would it be possible to have some feedback on the updates? It would be good to know whether we are on the right track with the V4L2 approach, because there is additional work that we want to base on it

Re: [PATCH 4/7] [media] ir-rx51: add DT support to driver

2016-05-13 Thread Sebastian Reichel
Hi, On Fri, May 13, 2016 at 09:15:38AM +0300, Ivaylo Dimitrov wrote: > I prefer the shorter "nokia,n900-ir", will resend the series with > it used, unless someone has concerns about it. Sounds fine to me. -- Sebastian signature.asc Description: PGP signature

Re: [PATCH] media: v4l-utils: dvbv5: Streaming I/O for DVB

2016-05-13 Thread Mauro Carvalho Chehab
Em Tue, 06 Oct 2015 18:59:02 +0900 Junghak Sung escreveu: > Add a new scenario to use streaming I/O for TS recording. > > Signed-off-by: Junghak Sung > Signed-off-by: Geunyoung Kim > Acked-by: Seung-Woo Kim > Acked-by: Inki Dae Due to some changes that happened after the VB2 split changes

[GIT PULL for v4.6] media fix

2016-05-13 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.6-6 For a revert patch fixing a breakage that caused an OOPS on all VB2-based DVB drivers. We have already a proper fix, but it sounds safer to keep it being tested for a while and not

Re: [PATCH/RFC v2 0/4] Meta-data video device type

2016-05-13 Thread Sakari Ailus
Hi Hans and Laurent, On Fri, May 13, 2016 at 11:26:22AM +0200, Hans Verkuil wrote: > On 05/12/2016 02:17 AM, Laurent Pinchart wrote: > > Hello, > > > > This RFC patch series is a second attempt at adding support for passing > > statistics data to userspace using a standard API. > > > > The core

Re: [PATCH v2 1/2] vb2: core: Skip planes array verification if pb is NULL

2016-05-13 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: > On 05/12/2016 02:14 PM, Sakari Ailus wrote: >> An earlier patch fixing an input validation issue introduced another >> issue: vb2_core_dqbuf() is called with pb argument value NULL in some >> cases, causing a NULL pointer dereference. Fix this by skipping the >> veri

Re: [PATCH/RFC v2 0/4] Meta-data video device type

2016-05-13 Thread Hans Verkuil
On 05/12/2016 02:17 AM, Laurent Pinchart wrote: > Hello, > > This RFC patch series is a second attempt at adding support for passing > statistics data to userspace using a standard API. > > The core requirements haven't changed. Statistics data capture requires > zero-copy and decoupling statisti

Re: [PATCH v2 1/2] vb2: core: Skip planes array verification if pb is NULL

2016-05-13 Thread Hans Verkuil
On 05/12/2016 02:14 PM, Sakari Ailus wrote: > An earlier patch fixing an input validation issue introduced another > issue: vb2_core_dqbuf() is called with pb argument value NULL in some > cases, causing a NULL pointer dereference. Fix this by skipping the > verification as there's nothing to verif

Re: gstreamer: v4l2videodec plugin

2016-05-13 Thread Stanimir Varbanov
cc: ayaka On 04/12/2016 06:57 PM, Nicolas Dufresne wrote: > Le mardi 12 avril 2016 à 11:57 +0300, Stanimir Varbanov a écrit : >>> I'm very happy to see this report. So far, we only had report that >> this >>> element works on Freescale IMX.6 (CODA) and Exynos 4/5. >> >> In this context, I would be

Re: [PATCH v4 6/8] media: rcar-vin: initialize EDID data

2016-05-13 Thread Hans Verkuil
On 05/11/2016 04:02 PM, Ulrich Hecht wrote: > Initializes the decoder subdevice with a fixed EDID blob. > > Signed-off-by: Ulrich Hecht Nacked-by: Hans Verkuil Instead implement the g/s_edid ioctls. You truly cannot default to an EDID. When an EDID is set the HPD will go high. But you don't k

Re: [PATCH v4 1/8] v4l: subdev: Add pad config allocator and init

2016-05-13 Thread Hans Verkuil
On 05/11/2016 04:02 PM, Ulrich Hecht wrote: > From: Laurent Pinchart > > Add a new subdev operation to initialize a subdev pad config array, and > a helper function to allocate and initialize the array. This can be used > by bridge drivers to implement try format based on subdev pad > operations.

Re: [PATCH] media: Add a driver for the ov5645 camera sensor.

2016-05-13 Thread Hans Verkuil
On 05/12/2016 04:59 PM, Todor Tomov wrote: > The ov5645 sensor from Omnivision supports up to 2592x1944 > and CSI2 interface. > > The driver adds support for the following modes: > - 1280x960 > - 1920x1080 > - 2592x1944 > > Output format is packed 8bit UYVY. > > Signed-off-by: Todor Tomov > ---