[PATCH] staging: media: omap4iss: mark omap4iss_flush() static

2016-09-03 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/staging/media/omap4iss/iss.c:64:6: warning: no previous prototype for 'omap4iss_flush' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static. so th

cron job: media_tree daily build: ERRORS

2016-09-03 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 Sep 4 04:00:19 CEST 2016 git branch: test git hash: fb6609280db902bd5d34445fba1c926e95e63914 gcc versi

drivers/media/v4l2-core/videobuf2-dma-contig.c:486:2: error: implicit declaration of function 'dma_get_cache_alignment'

2016-09-03 Thread kbuild test robot
Hi Hans, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 28e68154c5e2793123b248d38cf17b34dcb16d87 commit: c1023ba74fc77dc56dc317bd98f5060aab889ac1 [media] drivers/media/platform/Kconfig: fix VIDEO_MEDIATEK_VCODEC de

Re: [PATCH] vsp1: add R8A7792 VSP1V support

2016-09-03 Thread Sergei Shtylyov
Hello. On 09/02/2016 01:47 AM, Laurent Pinchart wrote: Add support for the R8A7792 VSP1V cores which are different from the other gen2 VSP1 cores... Signed-off-by: Sergei Shtylyov --- This patch is against the 'media_tree.git' repo's 'master' branch. The vsp1/next branch of my media.git t

Re: [PATCHv3 09/10] [media] rcar-vin: rework how subdeivce is found and bound

2016-09-03 Thread Sergei Shtylyov
Hello. On 08/15/2016 06:06 PM, Niklas Söderlund wrote: The original drivers code to find a subdevice by looking in the DT grpah s/grpah/graph/. and how the callbacks to the v4l2 async bind framework where poorly written. The most obvious example of badness was the duplication of data in

Re: [PATCHv3 05/10] [media] rcar-vin: return correct error from platform_get_irq()

2016-09-03 Thread Sergei Shtylyov
On 08/15/2016 06:06 PM, Niklas Söderlund wrote: Fix a error from the original driver where the wrong error code is returned if the driver fails to get a IRQ number from platform_get_irq(). Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-core.c | 4 ++-- 1 file changed

Re: [PATCHv3 06/10] [media] rcar-vin: do not use v4l2_device_call_until_err()

2016-09-03 Thread Sergei Shtylyov
On 08/15/2016 06:06 PM, Niklas Söderlund wrote: Fix a error from the original driver where v4l2_device_call_until_err() where used for the pad specific v4l2 operation set_fmt. Also fix up the error path from this fix so if there is an error it will be propagated to the caller. The error path

Re: [PATCHv3 04/10] [media] rcar-vin: rename entity to digital

2016-09-03 Thread Sergei Shtylyov
Hello. On 08/15/2016 06:06 PM, Niklas Söderlund wrote: When Gen3 support is added to the driver more then one possible video s/then/than/. source entity will be possible. Knowing that the name entity is a bad one, rename it to digital since it will deal with the digital input source. Si

[PATCH] [media] cx24120: do not allow an invalid delivery system types

2016-09-03 Thread Colin King
From: Colin Ian King cx24120_set_frontend currently allows invalid delivery system types other than SYS_DVBS2 and SYS_DVBS. Fix this by returning -EINVAL for invalid values. Signed-off-by: Colin Ian King --- drivers/media/dvb-frontends/cx24120.c | 3 +-- 1 file changed, 1 insertion(+), 2 dele

uvcvideo error on second capture from USB device, leading to V4L2_BUF_FLAG_ERROR

2016-09-03 Thread Oliver Collyer
Hi all I’ve been trying to workaround some issues in FFmpeg relating to the V4L2_BUF_FLAG_ERROR flag being passed from V4L2. In particular this bug here: https://trac.ffmpeg.org/ticket/4988 The long and short of it is that this error comes through several times at the start of a capture and F