Re: [RFC,v3 6/9] media: platform: Add Mediatek ISP P1 V4L2 functions

2019-07-17 Thread Jungo Lin
Hi, Tomasz: On Wed, 2019-07-10 at 18:54 +0900, Tomasz Figa wrote: > Hi Jungo, > > On Tue, Jun 11, 2019 at 11:53:41AM +0800, Jungo Lin wrote: > > Implement standard V4L2 video driver that utilizes V4L2 > > and media framework APIs. In this driver, supports one media > > device, one sub-device and

cron job: media_tree daily build: OK

2019-07-17 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: Thu Jul 18 05:00:15 CEST 2019 media-tree git hash:22be8233b34f4f468934c5fefcbe6151766fb8f2 media_build gi

Re: [PATCH] media:dvb-frontends:Return if Max devices are added in dvb_pll_attach().

2019-07-17 Thread Akihiro TSUKADA
Hi, > diff --git a/drivers/media/dvb-frontends/dvb-pll.c > b/drivers/media/dvb-frontends/dvb-pll.c > index ba0c49107bd2..c850f1d69bce 100644 > --- a/drivers/media/dvb-frontends/dvb-pll.c > +++ b/drivers/media/dvb-frontends/dvb-pll.c > @@ -788,6 +788,9 @@ struct dvb_frontend *dvb_pll_attach(struct

Re: [PATCH V3.6.1 2/2] linux-media: dvbsky: add support for Mygica T230C v2

2019-07-17 Thread Jan Pieter van Woerkom
The T230C v2 hardware needs a mode of the si2168 chip to be set for which the si2168 driver previously had no support. This patch uses a specific measure to configure this on the T230C v2 hardware only - see the flag passed via the ts_mode attribute and its dependency on USB_PID_MYGICA_T230C2. Sig

Re: [PATCH V3.6 2/2] linux-media: dvbsky: add support for Mygica T230C v2

2019-07-17 Thread JP
On 7/17/19 9:25 PM, Sean Young wrote: On Wed, Jul 17, 2019 at 08:11:50PM +0200, Jan Pieter van Woerkom wrote: The T230C v2 hardware needs a mode of the si2168 chip to be set for which the si2168 driver previously had no support. This patch uses a specific measure to configure this on the T230

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

2019-07-17 Thread Thomas Hollstegge
Hi James, I have both sticks (v1 and v2) and can confirm your observations. I also pinned the problem down to the commit you specified. I am running on a kernel with that commit reverted for some months now and didn't observe any problems so far. The easiest way to reproduce this issue was to for

Re: [PATCH V3.6 2/2] linux-media: dvbsky: add support for Mygica T230C v2

2019-07-17 Thread Sean Young
On Wed, Jul 17, 2019 at 08:11:50PM +0200, Jan Pieter van Woerkom wrote: > The T230C v2 hardware needs a mode of the si2168 chip to be > set for which the si2168 driver previously had no support. > This patch uses a specific measure to configure this on the > T230C v2 hardware only - see the flag pa

Re: [PATCH V3.6 2/2] linux-media: dvbsky: add support for Mygica T230C v2

2019-07-17 Thread Jan Pieter van Woerkom
The T230C v2 hardware needs a mode of the si2168 chip to be set for which the si2168 driver previously had no support. This patch uses a specific measure to configure this on the T230C v2 hardware only - see the flag passed via the ts_mode attribute and its dependency on USB_PID_MYGICA_T230C2. Sig

Re: [PATCH V3.6 1/2] linux-media: dvbsky: add support for Mygica T230C v2

2019-07-17 Thread Jan Pieter van Woerkom
Adds support for the "Mygica T230C v2" into the "dvbsky" driver. Signed-off-by: Jan Pieter van Woerkom Tested-by: Frank Rysanek --- diff -ru a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c --- a/drivers/media/usb/dvb-usb-v2/dvbsky.c 2019-07-08 00:41:56.00

[PATCH V3.6 0/2] linux-media: dvbsky: add support for Mygica T230C v2

2019-07-17 Thread Jan Pieter van Woerkom
Add support for the "Mygica T230C v2" into the "dvbsky" driver. A small enhancement in the si2168 demodulator driver is also needed, and a USB device ID in dvb-usb-ids.h . This is v3.6 of proposed patch, based on work from an anonymous author, and with feedback from Sean Young and Antti Palosaari.

From Dr tracy William

2019-07-17 Thread Dr Tracy William
Hello Dear Lovely Friend, How are you today, I hope you are doing great. It is my great pleasure to contact you, I want to make a new and special friend, I hope you don't mind. My name is Tracy Williams. from the United States, Am a french and English nationality. I will give you pictures and mor

[PATCH] staging: media: sunxi: Add bool cast to value

2019-07-17 Thread Nishka Dasgupta
Typecast as bool the return value of cedrus_find_format in cedrus_check_format as the return value of cedrus_check_format is always treated like a boolean value. Signed-off-by: Nishka Dasgupta --- drivers/staging/media/sunxi/cedrus/cedrus_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] mx2_emmaprp: use struct v4l2_fh

2019-07-17 Thread Hans Verkuil
Convert this driver to use struct v4l2_fh and as a result switch to using vb2/v4l2_mem2mem helper functions as well. Only compile-tested due to lack of hardware. This driver is however very similar to the m2m-deinterlace driver in this respect, and that v4l2_fh conversion has been properly tested.

If interested

2019-07-17 Thread Tk Allen
My name is Mr. Allen, I have a Business Proposal of Four million five hundred thousand united states dollars for you to handle with me from my bank. I will need you to assist me in executing this Business .

Re: [PATCH v18 11/15] IB/mlx4: untag user pointers in mlx4_get_umem_mr

2019-07-17 Thread Andrey Konovalov
On Wed, Jul 17, 2019 at 1:58 PM Jason Gunthorpe wrote: > > On Wed, Jul 17, 2019 at 01:44:07PM +0200, Andrey Konovalov wrote: > > On Tue, Jul 16, 2019 at 2:06 PM Jason Gunthorpe wrote: > > > > > > On Tue, Jul 16, 2019 at 12:42:07PM +0200, Andrey Konovalov wrote: > > > > On Mon, Jul 15, 2019 at 8:0

Re: [PATCH v2] rcar-vin: Clean up correct notifier in error path

2019-07-17 Thread Kieran Bingham
Hi Niklas, On 02/07/2019 18:42, Niklas Söderlund wrote: > The parallel input initialization error path cleans up the wrong > async notifier, fix this by cleaning up the correct notifier. > > Fixes: 9863bc8695bc36e3 ("media: rcar-vin: Cleanup notifier in error path") > Signed-off-by: Niklas Söderl

[PATCH 5/6] omap_vout: use struct v4l2_fh

2019-07-17 Thread Hans Verkuil
This driver is one of the few that is still not using struct v4l2_fh. Convert it. Tested on a Pandaboard. Signed-off-by: Hans Verkuil --- drivers/media/platform/omap/omap_vout.c | 53 + 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/drivers/media/platfor

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

2019-07-17 Thread JP
Hi James, I have T230 and T230C (v2) and with both sticks I see invalid checksum errors. My buest guess is that they come from bad power supply decoupling on the demodulator chip. The fact that you only see errors with this commit can then be explained as a timing problem that exists because of

[PATCH] m2m-deinterlace: use struct v4l2_fh

2019-07-17 Thread Hans Verkuil
Convert this driver to use struct v4l2_fh and as a result switch to using vb2/v4l2_mem2mem helper functions as well. Signed-off-by: Hans Verkuil --- Tested on an omap4 board, after additional hacking of this driver to make it work on omap4. --- drivers/media/platform/m2m-deinterlace.c | 124

Re: [PATCH 2/2] staging: media: sunxi: Replace function cedrus_check_format()

2019-07-17 Thread Paul Kocialkowski
Hi, On Fri 05 Jul 19, 17:43, Nishka Dasgupta wrote: > On 05/07/19 3:56 PM, Paul Kocialkowski wrote: > > Hi, > > > > On Wed 03 Jul 19, 13:43, Nishka Dasgupta wrote: > > > Remove function cedrus_check_format as all it does is call > > > cedrus_find_format. > > > Rename cedrus_find_format to cedrus_

[PATCH] media/i2c: don't return ENOTTY if SUBDEV_API is not set

2019-07-17 Thread Hans Verkuil
If CONFIG_VIDEO_V4L2_SUBDEV_API is not set, then it is still possible to call set_fmt for V4L2_SUBDEV_FORMAT_TRY, the result is just not stored. So return 0 instead of -ENOTTY. Calling get_fmt with V4L2_SUBDEV_FORMAT_TRY should return -EINVAL instead of -ENOTTY, after all the get_fmt functionality

[PATCH 4/4] via-camera: fix v4l2-compliance fails

2019-07-17 Thread Hans Verkuil
The patch fixes various v4l2-compliance failures: - missing support for control events - support of s/g_std even though this doesn't apply to a webcam - missing colorspace reporting - bus_info wasn't filled in by VIDIOC_QUERYCAP - parm.capture.readbuffers was overridden with wrong value - viacam_e

[PATCH 0/4] via-camera/ov7670: various fixes/improvements

2019-07-17 Thread Hans Verkuil
The main purpose of this series was to make via-camera use struct v4l2_fh, since it was one of the few drivers that didn't use that struct. While testing I found a bunch of other issues with this driver and the ov7670 driver, which are also fixed. The next step will be to convert this driver to u

[PATCH 2/4] via-camera: use struct v4l2_fh

2019-07-17 Thread Hans Verkuil
Modern V4L2 drivers should use struct v4l2_fh to represent a filehandle. This driver was one of the few that didn't use it. Signed-off-by: Hans Verkuil --- drivers/media/platform/via-camera.c | 47 + 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/driv

[PATCH 3/4] ov7670: don't return ENOTTY if SUBDEV_API is not set

2019-07-17 Thread Hans Verkuil
If CONFIG_VIDEO_V4L2_SUBDEV_API is not set, then it is still possible to call set_fmt for V4L2_SUBDEV_FORMAT_TRY, the result is just not stored. So return 0 instead of -ENOTTY. Calling get_fmt with V4L2_SUBDEV_FORMAT_TRY should return -EINVAL instead of -ENOTTY, after all the get_fmt functionality

[PATCH 1/4] via-camera: call viafb_pm_unregister in remove()

2019-07-17 Thread Hans Verkuil
The power management hooks were never unregistered, which caused a crash when unloading the module. Signed-off-by: Hans Verkuil --- drivers/media/platform/via-camera.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via-camera.

Re: [RFC PATCH V3 1/4] media: platform: mtk-isp: Add Mediatek sensor interface driver

2019-07-17 Thread Tomasz Figa
Hi Louis, On Thu, Jun 06, 2019 at 06:00:30PM +0800, Louis Kuo wrote: > This patch adds Mediat:ek's sensor interface driver. Sensor interface > driver > is a MIPI-CSI2 host driver, namely, a HW camera interface controller. > It support a widely adopted, simple, high-speed protocol primarily > inten

MyGica T230 dvb-t2 data corruption since commit 5fa8815

2019-07-17 Thread James Hutchinson
(trying again in plain text)... I'm encountering invalid checksum errors randomly in tvheadend with my MyGica T230 DVB-T2 tuner, straight after upgrading from Debian Stretch (kernel 4.9.168) to Buster (kernel 4.19.37). For example 2019-06-29 16:32:27.259 [ INFO]:subscription: 004B: "scan" subs