Re: [PATCH 3/3] selftests: ir: fix ir_loopback test failure

2019-08-13 Thread Sean Young
On Mon, Aug 12, 2019 at 08:25:41AM -0600, shuah wrote: > On 8/10/19 5:44 AM, Sean Young wrote: > > The decoder is called rc-mm, not rcmm. This was renamed late in the cycle > > so this bug crept in. > > > > Cc: Shuah Khan > > Signed-off-by: Sean Young > > --- > > tools/testing/selftests/ir/ir_

Re: [PATCH v2] ov5675: Add support for OV5675 sensor

2019-08-13 Thread Sakari Ailus
Hi Shawn, On Wed, Aug 07, 2019 at 06:07:56PM +0800, Shawnx Tu wrote: > From: Shawn Tu > > Add a V4L2 sub-device driver for Omnivision ov5675 image sensor. > This is a camera sensor using the I2C bus for control and the > CSI-2 bus for data. > > This driver supports following features: > - manua

Re: [PATCH v3] media: imx: mipi csi-2: Don't fail if initial state times-out

2019-08-13 Thread Sakari Ailus
Hi Steve, On Thu, Aug 08, 2019 at 11:02:29AM -0700, Steve Longerbeam wrote: > > > On 8/8/19 1:53 AM, Philipp Zabel wrote: > > Hi Sakari, > > > > On Thu, 2019-08-08 at 11:26 +0300, Sakari Ailus wrote: > > [...] > > > > > Have you checked how it works if you simply leave out this test? > > Whethe

[PATCH v3] ov5675: Add support for OV5675 sensor

2019-08-13 Thread Shawnx Tu
From: Shawn Tu Add a V4L2 sub-device driver for Omnivision ov5675 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. This driver supports following features: - manual exposure and analog/digital gain control support - vblank/hblank control support - t

Re: [PATCH v6 05/13] media: tvp5150: add input source selection of_graph support

2019-08-13 Thread Marco Felsch
Hi Laurent, On 19-05-16 21:03, Laurent Pinchart wrote: > Hello Marco, > > Thank you for the patch. > > On Tue, May 14, 2019 at 03:25:45PM -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 15 Apr 2019 14:44:05 +0200 Marco Felsch escreveu: > > > > > This patch adds the of_graph support to describe

Re: [PATCH v6 06/13] media: dt-bindings: tvp5150: Add input port connectors DT bindings

2019-08-13 Thread Marco Felsch
Hi Laurent, On 19-05-16 21:05, Laurent Pinchart wrote: > Hi Marco, > > Thank you for the patch. > > On Mon, Apr 15, 2019 at 02:44:06PM +0200, Marco Felsch wrote: > > The TVP5150/1 decoders support different video input sources to their > > AIP1A/B pins. > > > > Possible configurations are as fo

Re: [PATCH v6 12/13] media: tvp5150: add support to limit tv norms on connector

2019-08-13 Thread Marco Felsch
Hi Laurent, On 19-05-16 21:07, Laurent Pinchart wrote: > Hi Marco, > > Thank you for the patch. > > On Mon, Apr 15, 2019 at 02:44:12PM +0200, Marco Felsch wrote: > > The tvp5150 accepts NTSC(M,J,4.43), PAL (B,D,G,H,I,M,N) and SECAM video > > data and is able to auto-detect the input signal. The

Re: [PATCH] media: em28xx: modules workqueue not inited for 2nd device

2019-08-13 Thread Sean Young
Hi Brad, On Mon, Aug 12, 2019 at 10:21:39AM -0300, Ezequiel Garcia wrote: > On Sun, 2019-08-11 at 06:11 +0100, Sean Young wrote: > > syzbot reports an error on flush_request_modules() for the second device. > > This workqueue was never initialised so simply remove the offending line. > > > > usb

[PATCH 1/1] v4l: Documentation: Serial busses use parallel mbus codes

2019-08-13 Thread Sakari Ailus
When the support for serial busses was introduced in V4L2, it was decided to use the existing parallel bus media bus pixel codes to describe them. While this was a practical choice at the time, it necessitates choosing which one of the many parallel mbus pixel codes to use, for on the serial busses

[PATCH 1/1] v4l: Documentation: Raw Bayer formats are not RGB formats

2019-08-13 Thread Sakari Ailus
The raw Bayer formats have been listed under the label of RGB formats but in fact they're quite different. The latter are readily usable as such whereas the former require quite bit of image processing before useful. Split them into RGB and raw Bayer formats. Signed-off-by: Sakari Ailus --- Doc

Re: [V1, 1/2] media: dt-bindings: media: i2c: Add bindings for ov8856

2019-08-13 Thread Sakari Ailus
On Thu, Aug 08, 2019 at 07:54:16PM +0300, Sakari Ailus wrote: > Hi Dongchun, > > (Cc'ing Ben, too.) > > On Thu, Aug 08, 2019 at 05:22:14PM +0800, dongchun@mediatek.com wrote: > > From: Dongchun Zhu > > > > Add device tree binding documentation for the ov8856 camera sensor. > > > > Signed-o

[GIT PULL FOR v5.4] Fixes and i2c conversions

2019-08-13 Thread Hans Verkuil
The following changes since commit ae27c563a6185d47a904c2d71b72580266cb9d86: Merge tag 'v5.3-rc4' into patchwork (2019-08-12 13:22:54 -0300) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.4k for you to fetch changes up to dbffad6384421cc9dfee27a

Re: [PATCH 1/1] v4l: Documentation: Raw Bayer formats are not RGB formats

2019-08-13 Thread Hans Verkuil
On 8/13/19 1:36 PM, Sakari Ailus wrote: > The raw Bayer formats have been listed under the label of RGB formats but > in fact they're quite different. The latter are readily usable as such > whereas the former require quite bit of image processing before useful. > > Split them into RGB and raw Bay

Re: [PATCH 1/1] v4l: Documentation: Serial busses use parallel mbus codes

2019-08-13 Thread Hans Verkuil
On 8/13/19 1:30 PM, Sakari Ailus wrote: > When the support for serial busses was introduced in V4L2, it was decided > to use the existing parallel bus media bus pixel codes to describe them. > While this was a practical choice at the time, it necessitates choosing > which one of the many parallel m

Re: [GIT PULL FOR v5.4] Fixes and i2c conversions

2019-08-13 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/58111/ Build log: https://builder.linuxtv.org/job/patchwork/7830/ Build time: 00:13:54 Link: https://lore.kernel.org/linux-media/0ce80e1f-46c1-6184-b0c1-fc99d0908...@xs4all.nl Summary: 12 issues, being 0 build regressions

Re: [GIT PULL FOR v5.4] Fixes and i2c conversions

2019-08-13 Thread Hans Verkuil
On 8/13/19 2:37 PM, Jenkins wrote: > From: buil...@linuxtv.org > > Pull request: https://patchwork.linuxtv.org/patch/58111/ > Build log: https://builder.linuxtv.org/job/patchwork/7830/ > Build time: 00:13:54 > Link: > https://lore.kernel.org/linux-media/0ce80e1f-46c1-6184-b0c1-fc99d0908...@xs4all

[PATCH v4l-utils] v4l-helpers.h: count mappings separately from buffers

2019-08-13 Thread Philipp Zabel
This is required to avoid leaking mapped buffers when trying to unmap after reqbufs(0), to test buffer orphaning. Fixes: 6300b376cb3e ("v4l2-compliance: test orphaned buffer support"); Signed-off-by: Philipp Zabel --- utils/common/v4l-helpers.h | 8 ++-- 1 file changed, 6 insertions(+), 2 de

[PATCH] media: rc: imon-rsc keymap has incorrect mappings

2019-08-13 Thread Sean Young
KEY_MAX is not a key but designates the highest value a linux keycode can ever have. Signed-off-by: Sean Young --- drivers/media/rc/keymaps/rc-imon-rsc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc/keymaps/rc-imon-rsc.c b/drivers/media/rc/keymaps/

Re: [PATCH 1/1] v4l: Documentation: Raw Bayer formats are not RGB formats

2019-08-13 Thread Sakari Ailus
Hi Hans, On Tue, Aug 13, 2019 at 02:31:05PM +0200, Hans Verkuil wrote: > On 8/13/19 1:36 PM, Sakari Ailus wrote: > > The raw Bayer formats have been listed under the label of RGB formats but > > in fact they're quite different. The latter are readily usable as such > > whereas the former require q

[PATCH v2 1/1] v4l: Documentation: Raw Bayer formats are not RGB formats

2019-08-13 Thread Sakari Ailus
The raw Bayer formats have been listed under the label of RGB formats but in fact they're quite different. The latter are readily usable as such whereas the former require quite bit of image processing before useful. Split them into RGB and raw Bayer formats. Signed-off-by: Sakari Ailus --- sinc

Re: [PATCH v2 1/1] v4l: Documentation: Raw Bayer formats are not RGB formats

2019-08-13 Thread Hans Verkuil
On 8/13/19 3:32 PM, Sakari Ailus wrote: > The raw Bayer formats have been listed under the label of RGB formats but > in fact they're quite different. The latter are readily usable as such > whereas the former require quite bit of image processing before useful. > > Split them into RGB and raw Bay

[PATCH 1/1] dt-bindings: smiapp: Align documentation with current practices

2019-08-13 Thread Sakari Ailus
- The clock-lanes property is not needed for the sensors do not support lane reordering. (The information possibly present in existing clock-lane properties is simply not used.) - There's no need to refer to the sensor device in the DT example, thus remove the label. - Rename the "camera" d

[PATCH v2 1/1] v4l: Documentation: Serial busses use parallel mbus codes

2019-08-13 Thread Sakari Ailus
When the support for serial busses was introduced in V4L2, it was decided to use the existing parallel bus media bus pixel codes to describe them. While this was a practical choice at the time, it necessitates choosing which one of the many parallel mbus pixel codes to use, for on the serial busses

Re: [PATCH v2 1/1] v4l: Documentation: Serial busses use parallel mbus codes

2019-08-13 Thread Hans Verkuil
On 8/13/19 3:55 PM, Sakari Ailus wrote: > When the support for serial busses was introduced in V4L2, it was decided > to use the existing parallel bus media bus pixel codes to describe them. > While this was a practical choice at the time, it necessitates choosing > which one of the many parallel m

Re: MyGica T230 dvb-t2 data corruption since commit 5fa8815

2019-08-13 Thread JP
Thanks James, my tests on both DVB-T and DVB-C all went OK. So, with the t230 driver in cxusb broken for one hw version of the device and both hw versions now working fine in dvbsky & the driver in cxusb does not crash itself anymore (did you test that, James?) & everybody agrees I think this mov

Re: KASAN: use-after-free Read in v4l2_ioctl

2019-08-13 Thread Andrey Konovalov
On Tue, Aug 13, 2019 at 2:28 PM Andrey Konovalov wrote: > > On Sun, Apr 14, 2019 at 10:06 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:9a33b369 usb-fuzzer: main usb gadget fuzzer driver > > git tree: https://github.com/google/kasan/t

[PATCH] media: tm6000: double free if usb disconnect while streaming

2019-08-13 Thread Sean Young
The usb_bulk_urb will kfree'd on disconnect, so ensure the pointer is set to NULL after each free. stop stream urb killing urb buffer free tm6000: got start feed request tm6000_start_feed tm6000: got start stream request tm6000_start_stream tm6000: pipe reset tm6000: got start feed request tm6000_

Re: [PATCH v3] media: imx: mipi csi-2: Don't fail if initial state times-out

2019-08-13 Thread Steve Longerbeam
Hi Sakari, On 8/13/19 1:28 AM, Sakari Ailus wrote: Hi Steve, On Thu, Aug 08, 2019 at 11:02:29AM -0700, Steve Longerbeam wrote: On 8/8/19 1:53 AM, Philipp Zabel wrote: Hi Sakari, On Thu, 2019-08-08 at 11:26 +0300, Sakari Ailus wrote: [...] Have you checked how it works if you simply leave o

Re: [PATCH] media: tm6000: double free if usb disconnect while streaming

2019-08-13 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v5.2.8, v4.19.66, v4.14.138, v4.9.189, v4.4.189. v5.2.8: Build OK! v4.19.66: Build

cron job: media_tree daily build: ERRORS

2019-08-13 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: Wed Aug 14 05:00:13 CEST 2019 media-tree git hash:0dc99e042a4cfbc1e27572d523d2a1dbaf402cbf media_build gi

Build failed in Jenkins: media-build #45

2019-08-13 Thread jenkins
See Changes: -- [...truncated 13.13 KB...] 6050K .. .. .. .. .. 99% 155M 0s 6100K .. .. .. 100% 162M

Build failed in Jenkins: media-build #46

2019-08-13 Thread jenkins
See Changes: [hverkuil-cisco] Add compat code for i2c_new_dummy_device -- [...truncated 870 B...] Checking out Revision 410796173f01203cfbec5c5858509e523df72d23 (refs/remotes/