cron job: media_tree daily build: ERRORS

2015-07-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: Fri Jul 24 04:00:16 CEST 2015 git branch: test git hash: 4dc102b2f53d63207fa12a6ad49c7b6448bc3301 gcc versi

[RESEND][PATCHv2] v4l2-ioctl: Give more information when device_caps are missing

2015-07-23 Thread Laura Abbott
Currently, the warning for missing device_caps gives a backtrace like so: [] dump_stack+0x45/0x57 [] warn_slowpath_common+0x8a/0xc0 [] warn_slowpath_null+0x1a/0x20 [] v4l_querycap+0x43/0x80 [videodev] [] __video_do_ioctl+0x2a4/0x320 [videodev] [] ? do_last+0x195/0x1210 [] video_usercopy+0x22e/0x5b

Re: [PATCH v2 00/19] Update ALSA, and au0828 drivers to use Managed Media Controller API

2015-07-23 Thread Shuah Khan
On 07/22/2015 04:42 PM, Shuah Khan wrote: > This patch series updates ALSA driver, and au0828 core driver to > use Managed Media controller API to share tuner. Please note that > Managed Media Controller API and DVB and V4L2 drivers updates to > use Media Controller API have been added in a prior p

Re: [PATCHv7 14/15] cec: s5p-cec: Add s5p-cec driver

2015-07-23 Thread Hans Verkuil
On 07/23/2015 06:39 PM, Kamil Debski wrote: Hi, On 21 July 2015 at 15:03, Marek Szyprowski wrote: Hello, On 2015-07-16 15:09, Hans Verkuil wrote: Marek, Kamil, On 06/29/15 12:14, Hans Verkuil wrote: From: Kamil Debski Add CEC interface driver present in the Samsung Exynos range of SoCs

Re: [PATCHv7 14/15] cec: s5p-cec: Add s5p-cec driver

2015-07-23 Thread Kamil Debski
Hi, On 21 July 2015 at 15:03, Marek Szyprowski wrote: > Hello, > > On 2015-07-16 15:09, Hans Verkuil wrote: >> >> Marek, Kamil, >> >> On 06/29/15 12:14, Hans Verkuil wrote: >>> >>> From: Kamil Debski >>> >>> Add CEC interface driver present in the Samsung Exynos range of >>> SoCs. >>> >>> The fo

[PATCH 12/13] media: rcar_vin: fill in bus_info field

2015-07-23 Thread William Towle
From: Rob Taylor Adapt rcar_vin_querycap() so that cap->bus_info is populated with something meaningful/unique. Signed-off-by: Rob Taylor Signed-off-by: William Towle --- drivers/media/platform/soc_camera/rcar_vin.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform

[PATCH 13/13] media: rcar_vin: Reject videobufs that are too small for current format

2015-07-23 Thread William Towle
From: Rob Taylor In videobuf_setup reject buffers that are too small for the configured format. Fixes v4l2-compliance issue. Signed-off-by: Rob Taylor Reviewed-by: William Towle Acked-by: Hans Verkuil --- drivers/media/platform/soc_camera/rcar_vin.c |3 +++ 1 file changed, 3 insertions(+

[PATCH 04/13] media: adv7604: reduce support to first (digital) input

2015-07-23 Thread William Towle
Using adv7611_read_cable_det() for ADV7612 means that full support for '.max_port = ADV7604_PAD_HDMI_PORT_B,' isn't available due to the need for multiple port reads to determine cable detection, and an agreed mechanism for communicating the separate statuses. This patch replaces adv7611_read_cabl

[PATCH 06/13] media: soc_camera: rcar_vin: Add BT.709 24-bit RGB888 input support

2015-07-23 Thread William Towle
This adds V4L2_MBUS_FMT_RGB888_1X24 input format support which is used by the ADV7612 chip. Signed-off-by: Koji Matsuoka Signed-off-by: Simon Horman Signed-off-by: Yoshihiro Kaneko Modified to use MEDIA_BUS_FMT_* constants Signed-off-by: William Towle Reviewed-by: Rob Taylor Acked-by: Hans

[PATCH 08/13] media: rcar_vin: Use correct pad number in try_fmt

2015-07-23 Thread William Towle
Fix rcar_vin_try_fmt's use of an inappropriate pad number when calling the subdev set_fmt function - for the ADV7612, IDs should be non-zero. Signed-off-by: William Towle Reviewed-by: Rob Taylor --- drivers/media/platform/soc_camera/rcar_vin.c | 17 - 1 file changed, 12 insert

[PATCH 09/13] media: soc_camera: soc_scale_crop: Use correct pad number in try_fmt

2015-07-23 Thread William Towle
From: Rob Taylor Fix calls to subdev try_fmt function to use valid pad numbers, fixing the case where subdevs (eg. ADV7612) have valid pad numbers that are non-zero. Signed-off-by: William Towle Reviewed-by: Rob Taylor --- drivers/media/platform/soc_camera/soc_scale_crop.c |1 + 1 file ch

[PATCH 02/13] ARM: shmobile: lager dts: specify default-input for ADV7612

2015-07-23 Thread William Towle
Set 'default-input' property for ADV7612. Enables image/video capture without the need to have userspace specifying routing. Signed-off-by: Ian Molton Tested-by: William Towle --- arch/arm/boot/dts/r8a7790-lager.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/r8a779

[PATCH 10/13] media: soc_camera: Fill std field in enum_input

2015-07-23 Thread William Towle
From: Hans Verkuil Fill in the std field from the video_device tvnorms field in enum_input. Signed-off-by: Hans Verkuil Signed-off-by: Rob Taylor --- drivers/media/platform/soc_camera/soc_camera.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/soc_camera/soc_

[PATCH 11/13] media: soc_camera: Fix error reporting in expbuf

2015-07-23 Thread William Towle
From: Hans Verkuil Remove unnecessary check and fix the error code for vb1 drivers. Signed-off-by: Hans Verkuil Signed-off-by: Rob Taylor --- drivers/media/platform/soc_camera/soc_camera.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/media/platform/so

[PATCH 01/13] ARM: shmobile: lager dts: Add entries for VIN HDMI input support

2015-07-23 Thread William Towle
Add DT entries for vin0, vin0_pins, and adv7612 Signed-off-by: William Towle Signed-off-by: Rob Taylor --- arch/arm/boot/dts/r8a7790-lager.dts | 41 ++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/ar

[PATCH 07/13] media: soc_camera pad-aware driver initialisation

2015-07-23 Thread William Towle
Add detection of source pad number for drivers aware of the media controller API, so that the combination of soc_camera and rcar_vin can create device nodes to support modern drivers such as adv7604.c (for HDMI on Lager) and the converted adv7180.c (for composite) underneath. Building rcar_vin gai

[PATCH 03/13] media: adv7604: fix probe of ADV7611/7612

2015-07-23 Thread William Towle
Prior to commit f862f57d ("[media] media: i2c: ADV7604: Migrate to regmap"), the local variable 'val' contained the combined register reads used in the chipset version ID test. Restore this expectation so that the comparison works as it used to. --- drivers/media/i2c/adv7604.c |2 +- 1 file ch

HDMI and Composite capture on Lager, for kernel 4.1, version 5

2015-07-23 Thread William Towle
Version 5. Some successful upstreaming and some further modification means this obsoletes version 4, as seen at: http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/92832 This version of the patch series contains a fix for probing the ADV7611/ADV7612 chips, a red

[PATCH 05/13] v4l: subdev: Add pad config allocator and init

2015-07-23 Thread William Towle
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. Signed-off-by: Laurent Pinchart Acked-by: Vaibhav Hir