Re: [PATCH v5 4/4] [media] exynos-scaler: Add DT bindings for SCALER driver

2014-01-30 Thread Shaik Ameer Basha
Hi Tomasz, Thanks for the review. Will consider all your comments in the next version of patch series. Regards, Shaik Ameer Basha On Sat, Jan 25, 2014 at 1:09 AM, Tomasz Figa wrote: > Hi Shaik, > > > On 09.01.2014 04:28, Shaik Ameer Basha wrote: >> >> This patch adds the DT binding documentatio

Re: [PATCH 1/2] DocBook: V4L: add V4L2_SDR_FMT_CU8 - 'CU08'

2014-01-30 Thread Antti Palosaari
On 31.01.2014 05:36, Antti Palosaari wrote: Document V4L2_SDR_FMT_CU8 SDR format. I decided to shorten these names by replacing "PIX" with "SDR". V4L2_SDR_FMT_CU8 V4L2_PIX_FMT_GREY regards Antti -- http://palosaari.fi/ -- To unsubscribe from this list: send the line "unsubscribe linux-media"

[PATCH 1/2] DocBook: V4L: add V4L2_SDR_FMT_CU8 - 'CU08'

2014-01-30 Thread Antti Palosaari
Document V4L2_SDR_FMT_CU8 SDR format. It is complex unsigned 8-bit IQ sample. Used by software defined radio devices. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- .../DocBook/media/v4l/pixfmt-sdr-cu08.xml | 44 ++ Documentation/DocBook/media/v4l/pixfmt.xml

[PATCH 2/2] DocBook: V4L: add V4L2_SDR_FMT_CU16LE - 'CU16'

2014-01-30 Thread Antti Palosaari
Document V4L2_SDR_FMT_CU16LE format. It is complex unsigned 16-bit little endian IQ sample. Used by software defined radio devices. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- .../DocBook/media/v4l/pixfmt-sdr-cu16le.xml| 46 ++ Documentation/DocBook/media/v4l

cron job: media_tree daily build: WARNINGS

2014-01-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: Fri Jan 31 04:00:31 CET 2014 git branch: test git hash: 587d1b06e07b4a079453c74ba9edf17d21931049 gcc versio

Re: [PATCH] [media] uvcvideo: Enable VIDIOC_CREATE_BUFS

2014-01-30 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Wednesday 29 January 2014 17:13:52 Philipp Zabel wrote: > This patch enables the ioctl to create additional buffers > on the videobuf2 capture queue. > > Signed-off-by: Philipp Zabel This looks good to me. I've applied the patch to my tree and will send

Re: [RFCv2 PATCH 5/5] winbond-cir: Add support for reading/writing wakeup scancodes via sysfs

2014-01-30 Thread Sean Young
On Sun, Jan 26, 2014 at 11:50:26PM +0200, Antti Seppälä wrote: > This patch adds support for reading/writing wakeup scancodes via sysfs > to nuvoton-cir hardware. > > The existing mechanism of setting wakeup scancodes by using module > parameters is left untouched. If set the module parameters fun

Re: [media] gspca - topro: New subdriver for Topro webcams

2014-01-30 Thread Jean-Francois Moine
On Thu, 30 Jan 2014 15:14:09 +0300 Dan Carpenter wrote: > Hello Jean-François Moine, > > The patch 8f12b1ab2fac: "[media] gspca - topro: New subdriver for > Topro webcams" from Sep 22, 2011, leads to the following > static checker warning: > drivers/media/usb/gspca/topro.c:4642 > sd_

RE: [PATCH v2 1/2] drivers/media: v4l2: Add settings for Horizontal and Vertical MV Search Range

2014-01-30 Thread Kamil Debski
Hi Hans, Amit, > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Thursday, January 30, 2014 8:36 AM > > On 01/30/2014 06:42 AM, Amit Grover wrote: > > Adding V4L2 controls for horizontal and vertical search range in > > pixels for motion estimation module in video encoder. > > > > Signed-o

[RFCv1 PATCH 6/9] vb2: fix read/write regression

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil Commit 88e268702bfba78448abd20a31129458707383aa ("vb2: Improve file I/O emulation to handle buffers in any order") broke read/write support if the size of the buffer being read/written is less than the size of the image. When the commit was tested originally I used qv4l2, whic

[RFCv1 PATCH 5/9] vb2: fix buf_init/buf_cleanup call sequences

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil Ensure that these ops are properly balanced. There two scenarios: 1) for MMAP buf_init is called when the buffers are created and buf_cleanup must be called when the queue is finally freed. This scenario was always working. 2) for USERPTR and DMABUF it is more complica

[RFCv1 PATCH 8/9] vivi: add support for reinit_streaming

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil This ensures that the driver's buffer list is always initialized, also if start_streaming returns an error. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivi.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/drivers/media

[RFCv1 PATCH 7/9] vb2: add reinit_streaming op.

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil This new op is called after stop_streaming() or after a failed call to start_streaming(). The driver needs to dequeue any pending active buffers it got from the buf_queue() callback. The reason this op was added is that stop_streaming() traditionally dequeued any pending activ

[RFCv1 PATCH 3/9] vb2: add note that buf_finish can be called with !vb2_is_streaming()

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil Drivers need to be aware that buf_finish can be called when there is no streaming going on, so make a note of that. Also add a bunch of missing periods at the end of sentences. Signed-off-by: Hans Verkuil --- include/media/videobuf2-core.h | 44 ++---

[RFCv1 PATCH 9/9] v4l2-ioctl: check CREATE_BUFS format via TRY_FMT.

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil The format passed to VIDIOC_CREATE_BUFS is completely unchecked at the moment. So pass it to VIDIOC_TRY_FMT first. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ioctl.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-ioct

[RFCv1 PATCH 4/9] vb2: call buf_finish from __dqbuf

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil This ensures that it is also called from queue_cancel, which also calls __dqbuf(). Without this change any time queue_cancel is called while streaming the buf_finish op will not be called and any driver cleanup will not happen. Signed-off-by: Hans Verkuil --- drivers/media/v

[RFCv1 PATCH 1/9] vb2: add debugging code to check for unbalanced ops.

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil When a vb2_queue is freed check if all the mem_ops and queue ops were balanced. So the number of calls to e.g. buf_finish has to match the number of calls to buf_prepare, etc. This code is only enabled if CONFIG_VIDEO_ADV_DEBUG is set. Signed-off-by: Hans Verkuil --- driver

[RFCv1 PATCH 2/9] vb2: change result code of buf_finish to void.

2014-01-30 Thread Hans Verkuil
From: Hans Verkuil The buf_finish op should always work, so change the return type to void. Update the few drivers that use it. Note that buf_finish can be called both when the DMA is streaming and when it isn't (during queue_cancel). Update drivers to check that where appropriate. Signed-off-by

[RFCv1 PATCH 0/9] vb2: fixes, balancing callbacks

2014-01-30 Thread Hans Verkuil
Hi all, This patch series fixes a series of bugs in vb2. Recently I have been converting the saa7134 driver to vb2 and as part of that work I discovered that the op calls were not properly balanced, which caused saa7134 to fail. Based on that I did more debugging and I found lots of different iss

Re: [patch] [media] tda10071: remove a duplicative test

2014-01-30 Thread Antti Palosaari
Acked-by: Antti Palosaari Reviewed-by: Antti Palosaari I will query that to the kernel 3.15. thanks Antti On 30.01.2014 14:00, Dan Carpenter wrote: "ret" is an error code here, we already tested that. Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb-frontends/tda10071.c b/driv

re: [media] gspca - topro: New subdriver for Topro webcams

2014-01-30 Thread Dan Carpenter
Hello Jean-François Moine, The patch 8f12b1ab2fac: "[media] gspca - topro: New subdriver for Topro webcams" from Sep 22, 2011, leads to the following static checker warning: drivers/media/usb/gspca/topro.c:4642 sd_pkt_scan() warn: check 'data[]' for negative offsets s32min" driver

[patch] [media] tda10071: remove a duplicative test

2014-01-30 Thread Dan Carpenter
"ret" is an error code here, we already tested that. Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c index 8ad3a57cf640..a76df29c4973 100644 --- a/drivers/media/dvb-frontends/tda10071.c +++ b/drivers/media/dvb-frontends/t

[GIT PULL for v3.14-rc1] media updates

2014-01-30 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus for: - a new jpeg codec driver for Samsung Exynos (jpeg-hw-exynos4); - a new dvb frontend for ds2103 chipset (m88ds2103); - a new sensor driver for Samsun

Hauppauge 950Q corrupted analog video

2014-01-30 Thread Connor Behan
I am trying to use a Hauppauge WinTV 950Q tuner to capture a signal from a basic cable package. Most problems I've seen people having with this card concern audio. I can't even get video to work so I'm only asking for help with that right now. The card works in Windows, but when I try it on Linux