Re: STK1160 driver connected to usb hub

2015-03-03 Thread Yin Ling
Hi Ezequiel Garcia, Thanks for your interpretation and as you said, USB host controller isochronous bandwidth's limitation influences the multiple channels video transmission. We have tried our best to also use USB Hub to support multiple channels video transmission, while the bandwidth problem

[GIT PULL v2] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-03-03 Thread Philipp Zabel
Hi Grant, Rob, this series has been around for quite some time now, basically unchanged except for adding fixes for new users of the API that keep appearing over time in different subsystems. It would be really helpful to get this merged for v4.0. Could you still make this happen?

Re: [PATCH v8 0/3] Add of-graph helpers to loop over endpoints and find ports by id

2015-03-03 Thread Philipp Zabel
Hi Laurent, Am Sonntag, den 01.03.2015, 18:20 +0200 schrieb Laurent Pinchart: Hi Philipp and all, This series has been around for a long time, it seems to be time to get it merged. What's the plan ? If we wait for the v4.1 merge window there's a chance we'll get more conflicts,

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Hans Verkuil
On 03/02/2015 08:57 AM, Scott Jiang wrote: Hi Lad and Hans, 2015-02-22 2:39 GMT+08:00 Lad Prabhakar prabhakar.cse...@gmail.com: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series, enhances blackfin capture driver with vb2 helpers. Changes for v3: 1: patches unchanged

Re: [PATCH] s5p-jpeg: Fix possible NULL pointer dereference in s_fmt

2015-03-03 Thread Sylwester Nawrocki
Hi Jacek, On 28/11/14 14:10, Jacek Anaszewski wrote: Some formats are not supported in encoding or decoding mode for given type of buffer (e.g. V4L2_PIX_FMT_JPEG is supported on output buffer only while in decoding mode). Make S_FMT failing if not suitable format is found. Signed-off-by:

Re: [PATCH v3 04/15] media: blackfin: bfin_capture: improve buf_prepare() callback

2015-03-03 Thread Hans Verkuil
On 02/21/2015 07:39 PM, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch improves the buf_prepare() callback. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 12 1 file changed, 4

Re: [PATCH 00/10] initial clkdev cleanups

2015-03-03 Thread Andy Shevchenko
On Mon, 2015-03-02 at 13:50 -0800, Stephen Boyd wrote: On 03/02/15 09:05, Russell King - ARM Linux wrote: Here's some initial clkdev cleanups. These are targetted for the next merge window, and while the initial patches can be merged independently, I'd prefer to keep the series together as

[GIT PULL FOR v4.1] v4l2-subdev: removal of duplicate video enum ops

2015-03-03 Thread Hans Verkuil
Hi Mauro, This patch series prepares for the removal of duplicate video enum ops. See this post for the background for this series: http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/87869 The patches in this pull request are the same as the posted series, except for

[PATCH] DocBook media: fix typos in YUV420M description

2015-03-03 Thread Hans Verkuil
NV12M - YUV420M YVU420M - YUV420M Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/pixfmt-yuv420m.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/media/v4l/pixfmt-yuv420m.xml

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Lad, Prabhakar
Hi Hans, On Tue, Mar 3, 2015 at 8:49 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 03/02/2015 08:57 AM, Scott Jiang wrote: Hi Lad and Hans, 2015-02-22 2:39 GMT+08:00 Lad Prabhakar prabhakar.cse...@gmail.com: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series, enhances

Re: [PATCH] media: adv7604: improve usage of gpiod API

2015-03-03 Thread Hans Verkuil
On 03/03/2015 10:55 AM, Hans Verkuil wrote: Hi Uwe, On 03/02/2015 08:00 AM, Uwe Kleine-König wrote: Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and

Re: [PATCH] media: adv7604: improve usage of gpiod API

2015-03-03 Thread Hans Verkuil
On 03/03/2015 11:09 AM, Uwe Kleine-König wrote: Hello Hans, On Tue, Mar 03, 2015 at 10:59:22AM +0100, Hans Verkuil wrote: Never mind those comments, after checking what devm_gpiod_get_index_optional does it's clear that this patch is correct. Sorry about the noise. No problem. Is this an

Re: [PATCH v3 06/15] media: blackfin: bfin_capture: use vb2_fop_mmap/poll

2015-03-03 Thread Hans Verkuil
On 02/21/2015 07:39 PM, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com No need to reinvent the wheel. Just use the already existing functions provided by vb2. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com ---

[GIT PULL FOR v4.1] Blackfin cleanups

2015-03-03 Thread Hans Verkuil
Hi Mauro, This pull request improves the blackfin driver. Regards, Hans The following changes since commit b44b2e06ae463327334235bf160e804632b9b37c: [media] media: i2c: ADV7604: Rename adv7604 prefixes (2015-03-02 16:59:32 -0300) are available in the git repository at:

Re: [PATCH v4 2/2] V4L: add CCF support to the v4l2_clk API

2015-03-03 Thread Mauro Carvalho Chehab
Em Mon, 02 Mar 2015 20:52:41 + laurent.pinch...@ideasonboard.com escreveu: Hi Mauro, On Mon Mar 02 2015 18:55:23 GMT+0200 (EET), Mauro Carvalho Chehab wrote: Em Sun, 1 Feb 2015 12:12:33 +0100 (CET) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: V4L2 clocks, e.g. used by

[PATCH] si2157: extend frequency range for ATSC

2015-03-03 Thread Olli Salonen
The Si2157 tuner supports ATSC in addition to DVB-T and DVB-C. Extend minimum frequency range to cover the complete ATSC/QAM-B range. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: PCTV 800i

2015-03-03 Thread Steven Toth
I have a pair of 800i's with the S5H1409 demodulator, probably from when I did the original 800i support (2008): http://marc.info/?l=linux-dvbm=120032380226094w=2 I don't have a 800i with a s5h1411, so I can't really help without it. Dear John and Steven, Back in 2012 I twice submitted a

Re: [PATCH 01/10] media: omap3isp: remove unused clkdev

2015-03-03 Thread Sakari Ailus
Hi Laurent, On Tue, Mar 03, 2015 at 02:39:14AM +0200, Laurent Pinchart wrote: Hi Russell, On Monday 02 March 2015 23:54:35 Russell King - ARM Linux wrote: (Combining replies...) On Tue, Mar 03, 2015 at 12:53:37AM +0200, Sakari Ailus wrote: Hi Laurent and Russell, On Tue, Mar

Re: [PATCH] vb2: check if vb2_fop_write/read is allowed

2015-03-03 Thread Sakari Ailus
On Tue, Mar 03, 2015 at 12:23:59PM +0100, Hans Verkuil wrote: Return -EINVAL if read() or write() is not supported by the queue. This makes it possible to provide both vb2_fop_read and vb2_fop_write in a struct v4l2_file_operations since the vb2_fop_* function will check if the file operation

Re: [PATCH v5 6/8] v4l: xilinx: Add Xilinx Video IP core

2015-03-03 Thread Laurent Pinchart
Hi Hans, Thank you for the review. On Tuesday 03 March 2015 12:28:24 Hans Verkuil wrote: Hi Laurent, Thanks for this patch. I do have a few comments, see below. Note that I am OK with the new DT format description. On 03/02/2015 02:48 AM, Laurent Pinchart wrote: Xilinx platforms have

Re: [PATCH v4 2/2] V4L: add CCF support to the v4l2_clk API

2015-03-03 Thread Mauro Carvalho Chehab
Em Wed, 04 Mar 2015 00:56:18 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: Hi Mauro, On Tuesday 03 March 2015 13:40:50 Mauro Carvalho Chehab wrote: Em Mon, 02 Mar 2015 20:52:41 + Laurent Pinchart escreveu: On Mon Mar 02 2015 18:55:23 GMT+0200 (EET), Mauro

[GIT PULL]: dma-buf fixes for 4.0

2015-03-03 Thread Sumit Semwal
Hi Linus, May I please request you to pull a couple of fixes in dma-buf for 4.0-rc3? The following changes since commit b942c653ae265abbd31032f3b4f5f857e5c7c723: Merge tag 'trace-sh-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2015-01-22 06:26:07 +1200) are

Re: [PATCH v4 2/2] V4L: add CCF support to the v4l2_clk API

2015-03-03 Thread Laurent Pinchart
Hi Mauro, On Tuesday 03 March 2015 20:21:29 Mauro Carvalho Chehab wrote: Em Wed, 04 Mar 2015 00:56:18 +0200 Laurent Pinchart escreveu: On Tuesday 03 March 2015 13:40:50 Mauro Carvalho Chehab wrote: Em Mon, 02 Mar 2015 20:52:41 + Laurent Pinchart escreveu: On Mon Mar 02 2015 18:55:23

Re: [PATCH 01/10] media: omap3isp: remove unused clkdev

2015-03-03 Thread Sakari Ailus
Hi Russell, On Mon, Mar 02, 2015 at 11:54:35PM +, Russell King - ARM Linux wrote: (Combining replies...) On Tue, Mar 03, 2015 at 12:53:37AM +0200, Sakari Ailus wrote: Hi Laurent and Russell, On Tue, Mar 03, 2015 at 12:33:44AM +0200, Laurent Pinchart wrote: Sakari, does it

Re: [PATCH v4 2/2] V4L: add CCF support to the v4l2_clk API

2015-03-03 Thread Laurent Pinchart
Hi Mauro, On Tuesday 03 March 2015 13:40:50 Mauro Carvalho Chehab wrote: Em Mon, 02 Mar 2015 20:52:41 + Laurent Pinchart escreveu: On Mon Mar 02 2015 18:55:23 GMT+0200 (EET), Mauro Carvalho Chehab wrote: Em Sun, 1 Feb 2015 12:12:33 +0100 (CET) Guennadi Liakhovetski escreveu: V4L2

cron job: media_tree daily build: ERRORS

2015-03-03 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 Mar 4 04:00:21 CET 2015 git branch: test git hash: 269bd1324fbfaa52832bb3efe9f5105c9146a33a gcc

Re: [PATCHv3] [media] saa7164: use an MSI interrupt when available

2015-03-03 Thread catchall
On 02/28/2015 04:14 PM, Brendan McGrath wrote: Enhances driver to use an MSI interrupt when available. Adds the module option 'enable_msi' (type bool) which by default is enabled. Can be set to 'N' to disable. Fixes (or can reduce the occurrence of) a crash which is most commonly reported when

[GIT PULL] s5p fixes

2015-03-03 Thread Sylwester Nawrocki
Hi Mauro, Please pull the following s5p driver fixes. The following changes since commit ce037f19aaef992c634af653b17e61eee30a9404: [media] media: atmel-isi: increase the burst length to improve the performance (2015-03-02 13:27:11 -0300) are available in the git repository at:

Re: [PATCHv2] Si2168: increase timeout to fix firmware loading

2015-03-03 Thread Luis Henriques
On Thu, Feb 26, 2015 at 11:41:54PM +0200, Antti Palosaari wrote: From: Jurgen Kramer gtmkra...@xs4all.nl Increase si2168 cmd execute timeout to prevent firmware load failures. Tests shows it takes up to 52ms to load the 'dvb-demod-si2168-a30-01.fw' firmware. Increase timeout to a safe value

Re: [PATCH v3 05/15] media: blackfin: bfin_capture: improve queue_setup() callback

2015-03-03 Thread Mauro Carvalho Chehab
Lad, Em Sat, 21 Feb 2015 18:39:51 + Lad Prabhakar prabhakar.cse...@gmail.com escreveu: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch improves the queue_setup() callback. Please improve your comments. The above description doesn't tell anything that it wasn't said before at

[PATCH] staging: media: omap4iss: video: Don't WARN() on unknown pixel formats

2015-03-03 Thread Laurent Pinchart
When mapping from a V4L2 pixel format to a media bus format in the VIDIOC_TRY_FMT and VIDIOC_S_FMT handlers, the requested format may be unsupported by the driver. Return a hardcoded default format instead of WARN()ing in that case. Signed-off-by: Laurent Pinchart

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Lad, Prabhakar
Hi Hans, On Tue, Mar 3, 2015 at 9:39 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 03/03/2015 10:30 AM, Lad, Prabhakar wrote: Hi Hans, On Tue, Mar 3, 2015 at 8:49 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 03/02/2015 08:57 AM, Scott Jiang wrote: Hi Lad and Hans, 2015-02-22 2:39

Re: [PATCH 08/10] ARM: orion: use clkdev_create()

2015-03-03 Thread Thomas Petazzoni
Dear Russell King, On Mon, 02 Mar 2015 17:06:42 +, Russell King wrote: clkdev_create() is a shorter way to write clkdev_alloc() followed by clkdev_add(). Use this instead. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/plat-orion/common.c | 6 +- 1 file

[PATCH] vb2: check if vb2_fop_write/read is allowed

2015-03-03 Thread Hans Verkuil
Return -EINVAL if read() or write() is not supported by the queue. This makes it possible to provide both vb2_fop_read and vb2_fop_write in a struct v4l2_file_operations since the vb2_fop_* function will check if the file operation is allowed. A similar check exists in __vb2_init_fileio() which

Re: [PATCH v5 6/8] v4l: xilinx: Add Xilinx Video IP core

2015-03-03 Thread Hans Verkuil
Hi Laurent, Thanks for this patch. I do have a few comments, see below. Note that I am OK with the new DT format description. On 03/02/2015 02:48 AM, Laurent Pinchart wrote: Xilinx platforms have no hardwired video capture or video processing interface. Users create capture and memory to

Re: [PATCH] media: i2c: s5c73m3: make sure we destroy the mutex

2015-03-03 Thread Hans Verkuil
On 03/02/2015 04:00 PM, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Make sure to call mutex_destroy() in case of probe failure or module unload. It's not actually necessary to destroy a mutex. Most drivers never do this. It only helps a bit in debugging. I'll

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Hans Verkuil
On 03/03/2015 10:30 AM, Lad, Prabhakar wrote: Hi Hans, On Tue, Mar 3, 2015 at 8:49 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 03/02/2015 08:57 AM, Scott Jiang wrote: Hi Lad and Hans, 2015-02-22 2:39 GMT+08:00 Lad Prabhakar prabhakar.cse...@gmail.com: From: Lad, Prabhakar

Re: [PATCH] media: adv7604: improve usage of gpiod API

2015-03-03 Thread Uwe Kleine-König
Hello Hans, On Tue, Mar 03, 2015 at 10:59:22AM +0100, Hans Verkuil wrote: Never mind those comments, after checking what devm_gpiod_get_index_optional does it's clear that this patch is correct. Sorry about the noise. No problem. Is this an Ack then? Who picks up this patch? Best regards

Re: [PATCH] media: adv7604: improve usage of gpiod API

2015-03-03 Thread Hans Verkuil
Hi Uwe, On 03/02/2015 08:00 AM, Uwe Kleine-König wrote: Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Simplify

[GIT PULL FOR v4.1] Various fixes/improvements

2015-03-03 Thread Hans Verkuil
Hi Mauro, Just a pile of fixes/improvements, nothing that stands out. Regards, Hans The following changes since commit b44b2e06ae463327334235bf160e804632b9b37c: [media] media: i2c: ADV7604: Rename adv7604 prefixes (2015-03-02 16:59:32 -0300) are available in the git repository at:

Re: [GIT PULL FOR v4.1] Various fixes/improvements

2015-03-03 Thread Mauro Carvalho Chehab
Em Tue, 03 Mar 2015 11:17:10 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, Just a pile of fixes/improvements, nothing that stands out. Regards, Hans The following changes since commit b44b2e06ae463327334235bf160e804632b9b37c: [media] media: i2c: ADV7604: Rename

[PATCH] s5p-mfc: Fix NULL pointer dereference caused by not set q-lock

2015-03-03 Thread Kamil Debski
The patch media: s5p-mfc: use vb2_ops_wait_prepare/finish helper (654a731be1a0b6f606f3f3d12b50db08f2ae3c3) introduced a kernel panic. The q-lock was set for just one queue, the other was not set thus causing a NULL pointer dereference. Reported-by: Marek Szyprowski m.szyprow...@samsung.com

RE: [PATCH] media: i2c: s5c73m3: make sure we destroy the mutex

2015-03-03 Thread Kamil Debski
From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Tuesday, March 03, 2015 10:09 AM On 03/02/2015 04:00 PM, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Make sure to call mutex_destroy() in case of probe failure or module unload. It's not actually necessary