Re: [RFC] [PATCH 0/4] [media] pxa_camera: Fixing bugs and missing colorformats

2017-05-12 Thread Petr Cvek
Dne 2.5.2017 v 16:57 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> Dne 1.5.2017 v 06:20 Petr Cvek napsal(a): >>> This patchset is just a grouping of a few bugfixes I've found during >>> the ov9640 sensor support re-adding. >> >> P.S. I've manually calculated every format variant for the ima

cron job: media_tree daily build: WARNINGS

2017-05-12 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 13 05:00:22 CEST 2017 media-tree git hash:3622d3e77ecef090b5111e3c5423313f11711dfa media_build gi

Re: [PATCH] [media] cec: improve MEDIA_CEC_RC dependencies

2017-05-12 Thread Arnd Bergmann
On Fri, May 12, 2017 at 12:00 PM, Hans Verkuil wrote: > On 05/12/17 11:49, Arnd Bergmann wrote: >> I can probably come up with a workaround, but haven't completely thought >> through all the combinations yet. Also, I assume the same fix will be needed >> for exynos, though that has not come up in

Is it possible to have a binary blob custom control?

2017-05-12 Thread Patrick Doyle
I would like to transfer a binary blob of data to my V4L2 device driver. Is there a way I can do this through the V4L2 "control" framework? Or should I implement a custom ioctl to do that? Any recommendations or examples? Thank you. --wpd

Re: [RFC PATCH v2 1/4] media: i2c: adv748x: add adv748x driver

2017-05-12 Thread Kieran Bingham
Hi Sakari, On 12/05/17 17:46, Sakari Ailus wrote: > Hi Kieran, > > Thanks for the patches! > > Would you have a media-ctl -p && media-ctl --print-dot (or the PS file) to > see how this looks like in practice? Replying quickly to only this question for the moment :) Please see: http://janet.l

Re: [RFC PATCH v2 1/4] media: i2c: adv748x: add adv748x driver

2017-05-12 Thread Sakari Ailus
Hi Kieran, Thanks for the patches! Would you have a media-ctl -p && media-ctl --print-dot (or the PS file) to see how this looks like in practice? Please see my comments below. On Thu, May 11, 2017 at 06:21:20PM +0100, Kieran Bingham wrote: > From: Kieran Bingham > > Provide basic support for

Re: [PATCH v3 3/3] media: mtk-mdp: Fix mdp device tree

2017-05-12 Thread Matthias Brugger
On 12/05/17 05:22, Minghsiu Tsai wrote: From: Daniel Kurtz If the mdp_* nodes are under an mdp sub-node, their corresponding platform device does not automatically get its iommu assigned properly. Fix this by moving the mdp component nodes up a level such that they are siblings of mdp and al

[PATCH v3] media: i2c: ov772x: Force use of SCCB protocol

2017-05-12 Thread Jacopo Mondi
Commit e78902976150 ("i2c: sh_mobile: don't send a stop condition by default inside transfers") makes the i2c_sh_mobile I2C-adapter emit a stop/start sequence between messages in a single transfer only when explicitly requested with I2C_M_STOP. This breaks the ov772x driver in the SH4 Migo-R board

[PATCH v2] media: i2c: ov772x: Force use of SCCB protocol

2017-05-12 Thread Jacopo Mondi
Commit e78902976150 ("i2c: sh_mobile: don't send a stop condition by default inside transfers") makes the i2c_sh_mobile I2C-adapter emit a stop/start sequence between messages in a single transfer only when explicitly requested with I2C_M_STOP. This breaks the ov772x driver in the SH4 Migo-R board

Re: [PATCH v4] dw9714: Initial driver for dw9714 VCM

2017-05-12 Thread Sakari Ailus
Hi Sylwester, On Fri, May 12, 2017 at 10:57:39AM +0200, Sylwester Nawrocki wrote: > On 05/11/2017 04:59 PM, Sakari Ailus wrote: > >>On 05/11/2017 08:30 AM, Tomasz Figa wrote: > [...] > >>>rval = pm_runtime_get_sync(dev); > >>>if (rval < 0) { > >>>pm_runtime_put(dev); > >>>r

APPLY FOR YOUR URGENT LOAN AT 2%

2017-05-12 Thread Thomas Credit Firm
* Do you need an urgent loan? We offer all kinds of loan * Very fast and urgent transfer to your bank account. * Payment begins (6) months after you get the money in your bank account * Low interest rates 2% * Payment of long-term (1-30 years) duration For more information and loan application form

Re: [PATCH v3 1/2] v4l: Add camera voice coil lens control class, current control

2017-05-12 Thread Sakari Ailus
Hi Mauro, On Wed, Apr 19, 2017 at 10:51:18AM -0300, Mauro Carvalho Chehab wrote: > Em Sun, 16 Apr 2017 12:12:10 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > On Fri, Apr 14, 2017 at 11:23:32PM -0300, Mauro Carvalho Chehab wrote: > > > Hi Sakari, > > > > > > Em Tue, 14 Feb 2017 14:20:2

Re: [PATCH] media: i2c: ov772x: Force use of SCCB protocol

2017-05-12 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Friday 12 May 2017 11:52:43 Jacopo Mondi wrote: > Force use of Omnivision's SCCB protocol and make sure the I2c adapter > supports protocol mangling during probe. How does this patch make sure that the I2C adapter supports protocol mangling ? > Testing do

[PATCH] [media] usbvision: add missing USB-descriptor endianness conversions

2017-05-12 Thread Johan Hovold
Add the missing endianness conversions to a debug call printing the USB device-descriptor idVendor and idProduct fields during probe. Signed-off-by: Johan Hovold --- drivers/media/usb/usbvision/usbvision-video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/medi

Re: [PATCH] [media] cec: improve MEDIA_CEC_RC dependencies

2017-05-12 Thread Hans Verkuil
On 05/12/17 11:49, Arnd Bergmann wrote: > On Fri, Apr 21, 2017 at 12:52 PM, Arnd Bergmann wrote: >> Changing the IS_REACHABLE() into a plain #ifdef broke the case of >> CONFIG_MEDIA_RC=m && CONFIG_MEDIA_CEC=y: >> >> drivers/media/cec/cec-core.o: In function `cec_unregister_adapter': >> cec-core.c:

Re: [PATCH] media: i2c: ov772x: Force use of SCCB protocol

2017-05-12 Thread Wolfram Sang
On Fri, May 12, 2017 at 11:52:43AM +0200, Jacopo Mondi wrote: > Force use of Omnivision's SCCB protocol and make sure the I2c adapter > supports protocol mangling during probe. > > Testing done on SH4 Migo-R board. > As commit: > [e789029761503f0cce03e8767a56ae099b88e1bd] > "i2c: sh_mobile: don't

[PATCH] media: i2c: ov772x: Force use of SCCB protocol

2017-05-12 Thread Jacopo Mondi
Force use of Omnivision's SCCB protocol and make sure the I2c adapter supports protocol mangling during probe. Testing done on SH4 Migo-R board. As commit: [e789029761503f0cce03e8767a56ae099b88e1bd] "i2c: sh_mobile: don't send a stop condition by default inside transfers" makes the i2c adapter emi

Re: [PATCH] [media] cec: improve MEDIA_CEC_RC dependencies

2017-05-12 Thread Arnd Bergmann
On Fri, Apr 21, 2017 at 12:52 PM, Arnd Bergmann wrote: > Changing the IS_REACHABLE() into a plain #ifdef broke the case of > CONFIG_MEDIA_RC=m && CONFIG_MEDIA_CEC=y: > > drivers/media/cec/cec-core.o: In function `cec_unregister_adapter': > cec-core.c:(.text.cec_unregister_adapter+0x18): undefined

Re: [PATCH] media: fix one code style problem

2017-05-12 Thread Greg Kroah-Hartman
On Fri, May 05, 2017 at 01:18:24PM -0700, Remco wrote: > From: Remco Verhoef > > this patch will fix one code style problem (ctx:WxE), space > prohibited before that Your subject needs work :) And why just one issue, is that the only place this type of problem is needed in this file? thanks,

Re: [PATCH] staging: media: cxd2099: Use __func__ macro in messages

2017-05-12 Thread Alex Ghiti
This patch should be dropped as Jasmin is updating this driver. Thanks, On 05/09/2017 02:27 PM, Alexandre Ghiti wrote: Replace hardcoded function names in print info with __func__. Signed-off-by: Alexandre Ghiti --- drivers/staging/media/cxd2099/cxd2099.c | 6 +++--- 1 file changed, 3 insert

Re: [PATCH v4] dw9714: Initial driver for dw9714 VCM

2017-05-12 Thread Sylwester Nawrocki
On 05/11/2017 04:59 PM, Sakari Ailus wrote: On 05/11/2017 08:30 AM, Tomasz Figa wrote: [...] rval = pm_runtime_get_sync(dev); if (rval < 0) { pm_runtime_put(dev); return rval; } Aren't we supposed to call pm_runtime_put() only when corresponding pm_runtime_get() suc