Re: [PATCH] [media] pxa_camera: fix module remove codepath for v4l2 clock

2017-04-30 Thread Petr Cvek
Dne 28.4.2017 v 08:31 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> I will post some other bugfixes (and feature adding) for pxa_camera soon. Do >> you wish to be CC'd? >> >> P.S. Who is the the maintainer of pxa_camera BTW? Still Guennadi >> Liakhovetski? > Euh no,

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

2017-04-30 Thread Petr Cvek
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 image size calculation functions, but still these functions are not too robust (for

[PATCH 4/4] [media] pxa_camera: Fix a call with an uninitialized device pointer

2017-04-30 Thread Petr Cvek
In 'commit 295ab497d6357 ("[media] media: platform: pxa_camera: make printk consistent")' a pointer to the device structure in mclk_get_divisor() was changed to pcdev_to_dev(pcdev). The pointer used by pcdev_to_dev() is still uninitialized during the call to mclk_get_divisor() as it happens in

[PATCH 3/4] [media] pxa_camera: Add (un)subscribe_event ioctl

2017-04-30 Thread Petr Cvek
The v4l2-compliance complains about nonexistent vidioc_subscribe_event and vidioc_unsubscribe_event calls. Add them to fix the complaints. Signed-off-by: Petr Cvek --- drivers/media/platform/pxa_camera.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 2/4] [media] pxa_camera: Fix incorrect test in the image size generation

2017-04-30 Thread Petr Cvek
During the transfer from the soc_camera a test in pxa_mbus_image_size() got removed. Without it any PXA_MBUS_LAYOUT_PACKED format causes either the return of a wrong value (PXA_MBUS_PACKING_2X8_PADHI doubles the correct value) or EINVAL (PXA_MBUS_PACKING_NONE and PXA_MBUS_PACKING_EXTEND16). This

[PATCH 1/4] [media] pxa_camera: Add remaining Bayer 8 formats

2017-04-30 Thread Petr Cvek
This patch adds Bayer 8 GBRG and RGGB support and move GRBG definition close to BGGR (so all Bayer 8 variants are together). No other changes are needed as the driver handles them as RAW data stream. The RGGB variant was tested in a modified OV9640 driver. Signed-off-by: Petr Cvek

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

2017-04-30 Thread Petr Cvek
This patchset is just a grouping of a few bugfixes I've found during the ov9640 sensor support re-adding. The remaining Bayer 8 formats are just a permutation of the channels (pxa_camera treats them as raw data). The missing/incorrect test in the image size generation was just re-added from the

cron job: media_tree daily build: ERRORS

2017-04-30 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: Mon May 1 05:00:15 CEST 2017 media-tree git hash:3622d3e77ecef090b5111e3c5423313f11711dfa media_build

Re: [patch] autogain support for bayer10 format (was Re: [patch] propagating controls in libv4l2)

2017-04-30 Thread Pavel Machek
On Wed 2017-04-26 15:23:37, Pavel Machek wrote: > Hi! > > > > > I don't see why it would be hard to open files or have threads inside > > > > a library. There are several libraries that do that already, specially > > > > the ones designed to be used on multimidia apps. > > > > > > Well, This

[PATCH] staging: media: atomisp: use logical AND, not bitwise

2017-04-30 Thread Guru Das Srinagesh
Fixes sparse warning "dubious: x & !y" in logical expression. Signed-off-by: Guru Das Srinagesh --- .../media/atomisp/pci/atomisp2/css2400/runtime/binary/src/binary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: uvcvideo logging kernel warnings on device disconnect

2017-04-30 Thread Greg KH
On Sun, Apr 30, 2017 at 06:19:59PM +0200, Greg KH wrote: > On Sun, Apr 16, 2017 at 02:11:31PM +0300, Laurent Pinchart wrote: > > Hi Greg, > > > > On Wednesday 21 Dec 2016 10:59:54 Greg KH wrote: > > > On Tue, Dec 20, 2016 at 11:19:23AM +, Dave Stevenson wrote: > > > > On 09/12/16 09:43, Greg

Re: uvcvideo logging kernel warnings on device disconnect

2017-04-30 Thread Greg KH
On Sun, Apr 16, 2017 at 02:11:31PM +0300, Laurent Pinchart wrote: > Hi Greg, > > On Wednesday 21 Dec 2016 10:59:54 Greg KH wrote: > > On Tue, Dec 20, 2016 at 11:19:23AM +, Dave Stevenson wrote: > > > On 09/12/16 09:43, Greg KH wrote: > > >> On Fri, Dec 09, 2016 at 11:14:41AM +0200, Laurent

Re: [PATCH v2] [media] uvcvideo: Refactor teardown of uvc on USB disconnect

2017-04-30 Thread Greg KH
On Sun, Apr 23, 2017 at 02:53:49PM +1000, Daniel Axtens wrote: > Currently, disconnecting a USB webcam while it is in use prints out a > number of warnings, such as: > > WARNING: CPU: 2 PID: 3118 at > /build/linux-ezBi1T/linux-4.8.0/fs/sysfs/group.c:237 > sysfs_remove_group+0x8b/0x90 > sysfs

Re: [PATCH 1/2] [media] uvcvideo: Refactor teardown of uvc on USB disconnect

2017-04-30 Thread Greg KH
On Mon, Apr 17, 2017 at 03:23:55PM +0300, Laurent Pinchart wrote: > Hi Daniel, > > Thank you for the patch (and the investigation). > > On Monday 17 Apr 2017 18:52:39 Daniel Axtens wrote: > > Currently, disconnecting a USB webcam while it is in use prints out a > > number of warnings, such as: >

Re: dvb-tools: dvbv5-scan segfaults with DVB-T2 HD service that just started in Germany

2017-04-30 Thread Reinhard Speyerer
On Tue, Apr 18, 2017 at 12:54:52PM +0200, Tino Mettler wrote: > On Thu, Mar 30, 2017 at 17:13:34 -0300, Mauro Carvalho Chehab wrote: > > Hi Gregor, > > > > Em Wed, 29 Mar 2017 20:45:06 +0200 > > Gregor Jasny escreveu: > > > > > Hello Mauro & list, > > > > > > could you