Re: [GIT PULL] soc-camera: 1st set for 3.19

2014-12-04 Thread Guennadi Liakhovetski
Hi Mauro, On Mon, 1 Dec 2014, Mauro Carvalho Chehab wrote: > Em Fri, 28 Nov 2014 23:15:32 +0100 (CET) > Guennadi Liakhovetski escreveu: > > > Hi Mauro, > > > > IIUC, this coming Sunday might be the last -rc, so, postponing pull > > requests to subsystem maintainers even further isn't a good i

cron job: media_tree daily build: OK

2014-12-04 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 Dec 5 04:00:29 CET 2014 git branch: test git hash: 71947828caef0c83d4245f7d1eaddc799b4ff1d1 gcc versio

Re: [PATCH] media / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-04 Thread Rafael J. Wysocki
On Thursday, December 04, 2014 04:08:40 PM Mauro Carvalho Chehab wrote: > Em Wed, 03 Dec 2014 03:13:55 +0100 > "Rafael J. Wysocki" escreveu: > > > From: Rafael J. Wysocki > > > > After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > > selected) PM_RUNTIME is always set if PM i

[PATCH 3/3] qv4l2: update qmake project file

2014-12-04 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- utils/qv4l2/qv4l2.pro | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/utils/qv4l2/qv4l2.pro b/utils/qv4l2/qv4l2.pro index 7ab39cc..2c6c9c8 100644 --- a/utils/qv4l2/qv4l2.pro +++ b/utils/qv4l2/qv4l2.pro @@ -6,9

[PATCH 2/3] qv4l2: fix qt5 compile

2014-12-04 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- utils/qv4l2/capture-win-qt.cpp | 4 utils/qv4l2/qv4l2.cpp | 21 + 2 files changed, 25 insertions(+) diff --git a/utils/qv4l2/capture-win-qt.cpp b/utils/qv4l2/capture-win-qt.cpp index db85cd2..9c849a0 100644 --- a/utils/qv4l2/ca

[PATCH 1/3] configure.ac: add qt5 detection support

2014-12-04 Thread Peter Seiderer
Disable QTGL for qt5 because of qv4l2 crash on startup. Signed-off-by: Peter Seiderer --- configure.ac | 41 +++-- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/configure.ac b/configure.ac index 7bf9bf6..245a409 100644 --- a/configure.ac +++

Re: [PATCH v2] staging: media: lirc: lirc_zilog.c: fix quoted strings split across lines

2014-12-04 Thread Luis de Bethencourt
On Thu, Dec 04, 2014 at 01:16:11PM -0200, Mauro Carvalho Chehab wrote: > Hi Luis, > > Em Tue, 25 Nov 2014 20:36:29 + > Luis de Bethencourt escreveu: > > > checkpatch makes an exception to the 80-colum rule for quotes strings, and > > Documentation/CodingStyle recommends not splitting quotes

[PATCH v3 2/2] staging: media: lirc: lirc_zilog.c: keep consistency in dev functions

2014-12-04 Thread Luis de Bethencourt
The previous patch switched some dev functions to move the string to a second line. Doing this for all similar functions because it makes the driver easier to read if all similar lines use the same criteria. Signed-off-by: Luis de Bethencourt --- drivers/staging/media/lirc/lirc_zilog.c | 155 +++

[PATCH v3 1/2] staging: media: lirc: lirc_zilog.c: fix quoted strings split across lines

2014-12-04 Thread Luis de Bethencourt
checkpatch makes an exception to the 80-column rule for quotes strings, and Documentation/CodingStyle recommends not splitting quotes strings across lines because it breaks the ability to grep for the string. Fixing these. WARNING: quoted string split across lines Signed-off-by: Luis de Bethencou

wintv-hvr-1955 status

2014-12-04 Thread Steven Saner
Hi: I have a wintv-hvr-1955 (sold as a wintv-hvr-1950) from Hauppauge. I referenced a thread in this list in June 2014 http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/78952/match=wintv+hvr+1955 as well as this wiki page http://www.linuxtv.org/wiki/index.php/Hauppauge_Wi

Re: [PATCH] media / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-04 Thread Mauro Carvalho Chehab
Em Wed, 03 Dec 2014 03:13:55 +0100 "Rafael J. Wysocki" escreveu: > From: Rafael J. Wysocki > > After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks > depending on CONFIG_PM_RUNTIME may now be changed to depend

Re: [git:media_tree/master] [media] tuners: remove unneeded checks before release_firmware()

2014-12-04 Thread Mauro Carvalho Chehab
Em Thu, 04 Dec 2014 18:38:21 +0100 SF Markus Elfring escreveu: > > This is an automatic generated email to let you know that the following > > patch were queued at the > > http://git.linuxtv.org/media_tree.git tree: > > > > Subject: [media] tuners: remove uneeded checks before release_firmware

[GIT PULL 3.19 or 3.20] rtl2832 i2c binding

2014-12-04 Thread Antti Palosaari
That set fixes issue, which happens when mn88472 slave demod from staging is used. Fix itself is done for drivers that has been in-kernel ages, but bug happens only when staging demod is used. So make decision to pull that for 3.19, or if not, then 3.20. Antti The following changes since comm

Re: [REVIEW PATCH 1/2] img-ir/hw: Avoid clearing filter for no-op protocol change

2014-12-04 Thread Mauro Carvalho Chehab
Em Mon, 1 Dec 2014 12:55:09 + James Hogan escreveu: > When the img-ir driver is asked to change protocol, if the chosen > decoder is already loaded then don't call img_ir_set_decoder(), so as > not to clear the current filter. > > This is important because store_protocol() does not refresh t

Re: [git:media_tree/master] [media] tuners: remove unneeded checks before release_firmware()

2014-12-04 Thread SF Markus Elfring
> This is an automatic generated email to let you know that the following patch > were queued at the > http://git.linuxtv.org/media_tree.git tree: > > Subject: [media] tuners: remove uneeded checks before release_firmware() Would you like to amend a typo in the commit title? Regards, Markus --

[PATCH] arm: omap2: rx51-peripherals: fix build warning

2014-12-04 Thread Felipe Balbi
commit 68a3c04 ([media] ARM: OMAP2: RX-51: update si4713 platform data) updated board-rx51-peripherals.c so that si4713 could be easily used on DT boot, but it ended up introducing a build warning whenever si4713 isn't enabled. This patches fixes that warning: arch/arm/mach-omap2/board-rx51-perip

[PATCH] stv090x: add an extra protetion against buffer overflow

2014-12-04 Thread Mauro Carvalho Chehab
As pointed by smatch: drivers/media/dvb-frontends/stv090x.c:2787 stv090x_optimize_carloop() error: buffer overflow 'car_loop_apsk_low' 11 <= 13 drivers/media/dvb-frontends/stv090x.c:2789 stv090x_optimize_carloop() error: buffer overflow 'car_loop_apsk_low' 11 <= 13 drivers

[PATCH] [media] stv090x: Some whitespace cleanups

2014-12-04 Thread Mauro Carvalho Chehab
While writing changeset fdf1bc9fa2cf, I noticed some checkpatch complains about the CodingStyle for function parameters. So, clean them. While here, also removes uneeded "extern" from function prototype. No functional changes. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb

Re: [PATCH/RFC v9 06/19] DT: Add documentation for the mfd Maxim max77693

2014-12-04 Thread Pavel Machek
Hi! > >>+- maxim,boost-mode : > >>+ In boost mode the device can produce up to 1.2A of total current > >>+ on both outputs. The maximum current on each output is reduced > >>+ to 625mA then. If there are two child led nodes defined then boost > >>+ is enabled by default. > >>+ Possible v

[PATCH 2/5] rc: img-ir: pass toggle bit to the rc driver

2014-12-04 Thread Sifan Naeem
Add toggle bit to struct img_ir_scancode_req so that protocols can provide it to img_ir_handle_data(), and pass that toggle bit up to rc_keydown instead of 0. This is nedded for the upcoming rc-5 and rc-6 patches. Signed-off-by: Sifan Naeem --- drivers/media/rc/img-ir/img-ir-hw.c |8 +--

[PATCH 0/5] rc: img-ir: rc5 and rc6 support added

2014-12-04 Thread Sifan Naeem
This patch sets adds support for rc5 and rc6 decoder modules along with workarounds for quirks in the hw which surfaces when decoding in biphase mode required by rc5 and rc6. This patch set was based on head of linux-next commit: commit 1ca7c606de868d172afb4eb65e04e290dbdb51ff Author: Stephen Ro

[PATCH 3/5] rc: img-ir: biphase enabled with workaround

2014-12-04 Thread Sifan Naeem
Biphase decoding in the current img-ir has got a quirk, where multiple Interrupts are generated when an incomplete IR code is received by the decoder. Patch adds a work around for the quirk and enables biphase decoding. Signed-off-by: Sifan Naeem --- drivers/media/rc/img-ir/img-ir-hw.c | 56 +

[PATCH 1/5] rc: img-ir: add scancode requests to a struct

2014-12-04 Thread Sifan Naeem
The information being requested of hardware decode callbacks through the img-ir-hw scancode API is mounting up, so combine it into a struct which can be passed in with a single pointer rather than multiple pointer arguments. This allows it to be extended more easily without touching all the hardwar

[PATCH 5/5] rc: img-ir: add philips rc6 decoder module

2014-12-04 Thread Sifan Naeem
Add img-ir module for decoding Philips rc6 protocol. Signed-off-by: Sifan Naeem --- drivers/media/rc/img-ir/Kconfig |8 +++ drivers/media/rc/img-ir/Makefile |1 + drivers/media/rc/img-ir/img-ir-hw.c |3 + drivers/media/rc/img-ir/img-ir-hw.h |1 + drivers/media/rc/img-i

[PATCH 4/5] rc: img-ir: add philips rc5 decoder module

2014-12-04 Thread Sifan Naeem
Add img-ir module for decoding Philips rc5 protocol. Signed-off-by: Sifan Naeem --- drivers/media/rc/img-ir/Kconfig |7 +++ drivers/media/rc/img-ir/Makefile |1 + drivers/media/rc/img-ir/img-ir-hw.c |3 ++ drivers/media/rc/img-ir/img-ir-hw.h |1 + drivers/media/rc/img-

Re: [PATCH v2] staging: media: lirc: lirc_zilog.c: fix quoted strings split across lines

2014-12-04 Thread Mauro Carvalho Chehab
Hi Luis, Em Tue, 25 Nov 2014 20:36:29 + Luis de Bethencourt escreveu: > checkpatch makes an exception to the 80-colum rule for quotes strings, and > Documentation/CodingStyle recommends not splitting quotes strings across lines > because it breaks the ability to grep for the string. Fixing t

[GIT PULL for v3.18] media fixes

2014-12-04 Thread Mauro Carvalho Chehab
Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v3.18-rc8 For a core fix and some driver fixes: - a regression fix at Remote Controller core affecting RC6 protocol handling; - a fix at video buffer handling at cx23885; - a race fi

Re: [PATCH/RFC v9 06/19] DT: Add documentation for the mfd Maxim max77693

2014-12-04 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 12/04/2014 11:07 AM, Sakari Ailus wrote: Hi Jacek, On Wed, Dec 03, 2014 at 05:06:41PM +0100, Jacek Anaszewski wrote: This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek An

Re: [PATCH/RFC v9 05/19] leds: Add support for max77693 mfd flash cell

2014-12-04 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 12/04/2014 10:39 AM, Sakari Ailus wrote: Hi Jacek, On Wed, Dec 03, 2014 at 05:06:40PM +0100, Jacek Anaszewski wrote: This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface. D

Re: [PATCH] Add LVDS RGB media bus formats

2014-12-04 Thread Philipp Zabel
Hi Sakari, Am Mittwoch, den 03.12.2014, 17:47 +0200 schrieb Sakari Ailus: > Hi Philipp, > > On Tue, Dec 02, 2014 at 08:41:24PM +0100, Philipp Zabel wrote: > > This patch adds three new RGB media bus formats that describe > > 18-bit or 24-bit samples transferred over an LVDS bus with three > > or

Re: [PATCH/RFC v9 06/19] DT: Add documentation for the mfd Maxim max77693

2014-12-04 Thread Sakari Ailus
Hi Jacek, On Wed, Dec 03, 2014 at 05:06:41PM +0100, Jacek Anaszewski wrote: > This patch adds device tree binding documentation for > the flash cell of the Maxim max77693 multifunctional device. > > Signed-off-by: Jacek Anaszewski > Signed-off-by: Andrzej Hajda > Acked-by: Kyungmin Park > Cc:

[RFC PATCH 8/8] v4l2-subdev: remove g/s_crop and cropcap from video ops

2014-12-04 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/i2c/ak881x.c | 32 +++-- drivers/media/i2c/soc_camera/imx074.c | 46 drivers/media/i2c/soc_camera/mt9m001.c | 74 +++- drivers/media/i2c/soc_camera/mt9m111.c

[RFC PATCH 1/8] v4l2 subdevs: replace get/set_crop by get/set_selection

2014-12-04 Thread Hans Verkuil
From: Hans Verkuil The crop and selection pad ops are duplicates. Replace all uses of get/set_crop by get/set_selection. This will make it possible to drop get/set_crop altogether. Signed-off-by: Hans Verkuil Acked-by: Sylwester Nawrocki Acked-by: Laurent Pinchart Cc: Prabhakar Lad Cc: Phili

[RFC PATCH 7/8] v4l2-subdev: remove enum_framesizes/intervals

2014-12-04 Thread Hans Verkuil
From: Hans Verkuil Replace the video ops enum_framesizes and enum_frameintervals by the pad ops enum_frame_size and enum_frame_interval. The video and pad ops are duplicates, so get rid of the more limited video op. Signed-off-by: Hans Verkuil --- drivers/media/i2c/ov7670.c

[RFC PATCH 6/8] v4l2-subdev: add v4l2_subdev_create_pad_configs

2014-12-04 Thread Hans Verkuil
From: Hans Verkuil When a new subdevice is registered this new function is called to allocate and initialize a pad_config array. This allows bridge drivers to use the pad ops that require such an array as argument. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-device.c | 11

[RFC PATCH 5/8] media/i2c/Kconfig: drop superfluous MEDIA_CONTROLLER

2014-12-04 Thread Hans Verkuil
From: Hans Verkuil These drivers depend on VIDEO_V4L2_SUBDEV_API, which in turn depends on MEDIA_CONTROLLER. So it is sufficient to just depend on VIDEO_V4L2_SUBDEV_API. Signed-off-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[RFC PATCH 2/8] v4l2-subdev: drop get/set_crop pad ops

2014-12-04 Thread Hans Verkuil
From: Hans Verkuil Drop the duplicate get/set_crop pad ops and only use get/set_selection. It makes no sense to have two duplicate ops in the internal subdev API. Signed-off-by: Hans Verkuil Acked-by: Laurent Pinchart --- drivers/media/v4l2-core/v4l2-subdev.c | 8 include/media/v4l2-

[RFC PATCH 3/8] v4l2-subdev: drop unused op enum_mbus_fmt

2014-12-04 Thread Hans Verkuil
From: Hans Verkuil Weird, this op isn't used at all. Seems to be orphaned code. Remove it. Signed-off-by: Hans Verkuil --- include/media/v4l2-subdev.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index b052184..5beeb87 100644 --

[RFC PATCH 0/8] Removing duplicate video/pad ops

2014-12-04 Thread Hans Verkuil
This patch series attempts to remove some of the duplicate video/pad ops. The first two patches have been posted before. The only thing changed is that the subdevs no longer add checks for pad values != 0 as suggested. The third patch removes an unused subdev op. Somehow we must have missed that o

Re: [PATCH/RFC v9 02/19] Documentation: leds: Add description of LED Flash class extension

2014-12-04 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 12/03/2014 06:08 PM, Sakari Ailus wrote: Hi Jacek, On Wed, Dec 03, 2014 at 05:06:37PM +0100, Jacek Anaszewski wrote: The documentation being added contains overall description of the LED Flash Class and the related sysfs attributes. Signed-off-by: Jacek A

Re: [PATCH/RFC v9 05/19] leds: Add support for max77693 mfd flash cell

2014-12-04 Thread Sakari Ailus
Hi Jacek, On Wed, Dec 03, 2014 at 05:06:40PM +0100, Jacek Anaszewski wrote: > This patch adds led-flash support to Maxim max77693 chipset. > A device can be exposed to user space through LED subsystem > sysfs interface. Device supports up to two leds which can > work in flash and torch mode. The l

Re: [PATCH/RFC v9 01/19] leds: Add LED Flash class extension to the LED subsystem

2014-12-04 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 12/03/2014 05:50 PM, Sakari Ailus wrote: Hi Jacek, Thanks for the update. A few comments below. On Wed, Dec 03, 2014 at 05:06:36PM +0100, Jacek Anaszewski wrote: Some LED devices support two operation modes - torch and flash. This patch provides support f