[PATCH v3 1/3] media: soc_camera: rcar_vin: Add scaling support

2014-10-20 Thread Yoshihiro Kaneko
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Yoshihiro Kaneko --- v3 [Yoshihiro Kaneko] * no changes v2 [Yoshihiro Kaneko] * fixes as suggested by Geert Uytterhoeven - change the struct name to lower case - use u32 instead of unsigned long - etc. drivers/media/platfo

[PATCH v3 3/3] media: soc_camera: rcar_vin: Add NV16 horizontal scaling-up support

2014-10-20 Thread Yoshihiro Kaneko
From: Koji Matsuoka Up until now scaling has been forbidden for the NV16 capture format. This patch adds support for horizontal scaling-up for NV16. Vertical scaling-up for NV16 is forbidden by the H/W specification. Signed-off-by: Koji Matsuoka Signed-off-by: Yoshihiro Kaneko --- v3 [Yoshihir

[PATCH v3 0/3] media: soc_camera: rcar_vin: Add scaling support

2014-10-20 Thread Yoshihiro Kaneko
This series is against master branch of linuxtv.org/media_tree.git. Koji Matsuoka (3): media: soc_camera: rcar_vin: Add scaling support media: soc_camera: rcar_vin: Add capture width check for NV16 format media: soc_camera: rcar_vin: Add NV16 horizontal scaling-up support drivers/media/pla

[PATCH v3 2/3] media: soc_camera: rcar_vin: Add capture width check for NV16 format

2014-10-20 Thread Yoshihiro Kaneko
From: Koji Matsuoka At the time of NV16 capture format, the user has to specify the capture output width of the multiple of 32 for H/W specification. At the time of using NV16 format by ioctl of VIDIOC_S_FMT, this patch adds align check and the error handling to forbid specification of the captur

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

2014-10-20 Thread Yoshihiro Kaneko
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Yoshihiro Kaneko --- This patch is against master branch of linuxtv.org/media_tree.git. v2 [Yoshihiro Kaneko] * remove unused/useless definition as suggested by Sergei Shtylyov drivers/media/platform/soc_camera/rcar_vin.c | 9 +

Re: [PATCH] media: soc_camera: rcar_vin: Enable VSYNC field toggle mode

2014-10-20 Thread Yoshihiro Kaneko
Hello Sergei, Thank you for your comments. 2014-10-19 0:01 GMT+09:00 Sergei Shtylyov : > Hello. > > On 10/14/2014 10:25 AM, Yoshihiro Kaneko wrote: > >> From: Koji Matsuoka > > >> By applying this patch, it sets to VSYNC field toggle mode not only >> at the time of progressive mode but at the ti

cron job: media_tree daily build: WARNINGS

2014-10-20 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: Tue Oct 21 04:00:32 CEST 2014 git branch: test git hash: cf3167cf1e969b17671a4d3d956d22718a8ceb85 gcc versi

Re: [PATCH/RFC v6 2/3] leds: add API for setting torch brightness

2014-10-20 Thread Bryan Wu
On Mon, Sep 22, 2014 at 8:21 AM, Jacek Anaszewski wrote: > This patch prepares ground for addition of LED Flash Class extension to > the LED subsystem. Since turning the torch on must have guaranteed > immediate effect the brightness_set op can't be used for it. Drivers must > schedule a work queu

Re: [PATCH/RFC v6 1/3] leds: implement sysfs interface locking mechanism

2014-10-20 Thread Bryan Wu
On Mon, Sep 22, 2014 at 8:21 AM, Jacek Anaszewski wrote: > Add a mechanism for locking LED subsystem sysfs interface. > This patch prepares ground for addition of LED Flash Class > extension, whose API will be integrated with V4L2 Flash API. > Such a fusion enforces introducing a locking scheme, w

Re: randconfig build error with next-20141020, in drivers/media/platform/marvell-ccic/mcam-core.c

2014-10-20 Thread Andreas Ruprecht
Hi, after a lot of staring at the configuration it seems like this boils down to an issue within the Kconfig constraint description. Broken down to the important bits: - CONFIG_VIDEO_TW68 and CONFIG_VIDEO_SAA7134 *select* CONFIG_VIDEOBUF2_DMA_SG - Both of these options are set to "*m*" in the c

[PATCH] [media] anysee: make sure loading modules is const

2014-10-20 Thread Kees Cook
Make sure that loaded modules are const char strings so we don't load arbitrary modules in the future, nor allow for format string leaks in the module request call. Signed-off-by: Kees Cook --- drivers/media/usb/dvb-usb-v2/anysee.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

[PATCH] [media] af9035: make sure loading modules is const

2014-10-20 Thread Kees Cook
Make sure that loaded modules are const char strings so we don't load arbitrary modules in the future, nor allow for format string leaks in the module request call. Signed-off-by: Kees Cook --- drivers/media/usb/dvb-usb-v2/af9035.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

Re: [PATCH/RFC v2 1/4] Add a media device configuration file parser.

2014-10-20 Thread Sakari Ailus
Hi Jacek, On Fri, Oct 17, 2014 at 04:54:39PM +0200, Jacek Anaszewski wrote: > This patch adds a parser for a media device configuration > file. The parser expects the configuration file containing > links end v4l2-controls definitions as described in the > header file being added. The links descri

DVB new get info ioctl

2014-10-20 Thread Mauro Carvalho Chehab
Hi Michael, As you know, one of the topics discussed during the last Media Summit were about writing a new ioctl to replace FE_GET_INFO's fe_caps. The summary of our discussions follow bellow: (mental note: I should put the description below on our mini-summit notes): The main issue with fe_c

randconfig build error with next-20141020, in drivers/media/platform/marvell-ccic/mcam-core.c

2014-10-20 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `mcam_setup_vb2': /home/jim/linux/drivers/media/platform/marvell-ccic/mcam-core.c:1299: undefined reference to `vb2_dma_sg_memops' make: *** [vmlinux] Error 1 # # Automatically generated file; DO NOT EDIT. # Linu

[PATCH] [media] v4l: DocBook: fix media build error

2014-10-20 Thread Vincent Palatin
Fix media DocBook build errors by re-adding the orderedlist tag and putting back the section tags lost during merge. Signed-off-by: Vincent Palatin --- Documentation/DocBook/media/v4l/compat.xml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/DocBook/media/v4l/compat.xml b

Re: [PATCH] DocBook: fix media build error

2014-10-20 Thread Vincent Palatin
On Mon, Oct 20, 2014 at 10:08 AM, Randy Dunlap wrote: > On 10/20/14 09:06, Vincent Palatin wrote: >> On Sun, Oct 19, 2014 at 7:39 PM, Randy Dunlap wrote: >>> From: Randy Dunlap >>> >>> Fix media DocBook build errors by making the orderedlist balanced. >>> >>> DOC1/Documentation/DocBook/compat.xm

Re: [PATCH] DocBook: fix media build error

2014-10-20 Thread Randy Dunlap
On 10/20/14 09:06, Vincent Palatin wrote: > On Sun, Oct 19, 2014 at 7:39 PM, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix media DocBook build errors by making the orderedlist balanced. >> >> DOC1/Documentation/DocBook/compat.xml:2576: parser error : Opening and >> ending tag mismatch: ord

Re: [PATCH] media: soc_camera: rcar_vin: Add DT support for r8a7793 and r8a7794 SoCs

2014-10-20 Thread Simon Horman
On Mon, Oct 20, 2014 at 11:51:29AM +0900, Yoshihiro Kaneko wrote: > Based on platform device work by Matsuoka-san. > > Signed-off-by: Yoshihiro Kaneko Acked-by: Simon Horman > --- > > Compile tested only. > > This patch is against master branch of linuxtv.org/media_tree.git. > > Documentat

Re: [PATCH] DocBook: fix media build error

2014-10-20 Thread Vincent Palatin
On Sun, Oct 19, 2014 at 7:39 PM, Randy Dunlap wrote: > From: Randy Dunlap > > Fix media DocBook build errors by making the orderedlist balanced. > > DOC1/Documentation/DocBook/compat.xml:2576: parser error : Opening and ending > tag mismatch: orderedlist line 2560 and section > DOC1/Documentatio

Re: [PATCH] DocBook: fix media build error

2014-10-20 Thread Jonathan Corbet
On Sun, 19 Oct 2014 19:39:17 -0700 Randy Dunlap wrote: > Fix media DocBook build errors by making the orderedlist balanced. That definitely makes things work better. Will send upward if need be. Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body

Re: [PATCH 2/2] [media] rc-core: change enabled_protocol default setting

2014-10-20 Thread David Härdeman
On 2014-10-19 12:21, Tomas Melin wrote: Change default setting for enabled protocols. Instead of enabling all protocols, disable all except lirc during registration. Reduces overhead since all protocols not handled by default. Protocol to use will be enabled when keycode table is written by us

Re: [PATCH 1/2] [media] rc-core: fix protocol_change regression in ir_raw_event_register

2014-10-20 Thread David Härdeman
On 2014-10-19 12:21, Tomas Melin wrote: IR reciever using nuvoton-cir and lirc was not working anymore after upgrade from kernel 3.16 to 3.17-rcX. Bisected regression to commit da6e162d6a4607362f8478c715c797d84d449f8b ("[media] rc-core: simplify sysfs code"). FWIW, I think "not working" is slig

[PATCH 1/1] dvb-usb-dvbsky: add s960ci dvb-s/s2 usb ci box support

2014-10-20 Thread Nibble Max
DVBSky s960ci dvb-s/s2 usb ci box: 1>dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2>usb controller: CY7C86013A 3>ci controller: CIMAX SP2 or its clone. Signed-off-by: Nibble Max --- drivers/media/usb/dvb-usb-v2/Kconfig | 1 + drivers/media/usb/dvb-usb-v2/dvbsky.c | 188

Re: [PATCH v3 06/32] [media] coda: Add encoder/decoder support for CODA960

2014-10-20 Thread Jean-Michel Hautbois
Hi, 2014-07-30 14:32 GMT+02:00 Philipp Zabel : > Am Mittwoch, den 30.07.2014, 20:16 +0800 schrieb Shawn Guo: >> On Tue, Jul 29, 2014 at 07:06:25PM +0200, Philipp Zabel wrote: >> > > I followed the step to generate the firmware v4l-coda960-imx6q, and >> > > tested it on next-20140725 with patch 'AR

Re: [GIT PULL for v3.18-rc1] media updates

2014-10-20 Thread Paul Bolle
Mauro, On Thu, 2014-10-09 at 14:18 -0300, Mauro Carvalho Chehab wrote: > Please pull from: > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media > tags/media/v3.18-rc1 > >[...] > > Mauro Carvalho Chehab (180): > [...] > [media] omap: be sure that MMU is there for COMPI