cron job: media_tree daily build: WARNINGS

2014-07-18 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: Sat Jul 19 04:00:23 CEST 2014 git branch: test git hash: 0ca1ba2aac5f6b26672099b13040c5b40db93486 gcc versi

[GIT PULL 3.17] si2157 / si2168 changes

2014-07-18 Thread Antti Palosaari
The following changes since commit 3445857b22eafb70a6ac258979e955b116bfd2c6: [media] hdpvr: fix two audio bugs (2014-07-04 15:13:02 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git silabs for you to fetch changes up to 768f14155d06cb8eb944a6e611c0cb777

[PATCH 08/10] em28xx-dvb: Prepare for si2157 driver getting more parameters

2014-07-18 Thread Antti Palosaari
From: Matthias Schwarzott Modify all users of si2157_config to correctly initialize all not listed values to 0. Signed-off-by: Matthias Schwarzott Signed-off-by: Antti Palosaari --- drivers/media/usb/em28xx/em28xx-dvb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/em2

[PATCH 01/10] si2168: Set symbol rate for DVB-C

2014-07-18 Thread Antti Palosaari
From: Luis Alves This patch adds symbol rate setting to the driver. Signed-off-by: Luis Alves Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-fro

[PATCH 03/10] si2168: Fix i2c_add_mux_adapter return value

2014-07-18 Thread Antti Palosaari
From: Luis Alves In case of failure the return value was always 0. Return proper error code (ENODEV) instead. Signed-off-by: Luis Alves Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/

[PATCH 05/10] si2168: Support Si2168-A20 firmware downloading.

2014-07-18 Thread Antti Palosaari
From: Luis Alves This adds support for the Si2168-A20 firmware download. Extracting the firmware: wget http://www.tbsdtv.com/download/document/tbs6281/tbs6281-t2-t-driver_v1.0.0.6.zip unzip tbs6281-t2-t-driver_v1.0.0.6.zip dd if=tbs-6281_x64/tbs6281_64.sys of=dvb-demod-si2168-a20-01.fw count=2

[PATCH 06/10] si2157: Use name si2157_ops instead of si2157_tuner_ops

2014-07-18 Thread Antti Palosaari
From: Olli Salonen The struct prototype is defined at the beginning of the code as "si2157_ops" but the real struct is called "si2157_tuner_ops". This is causing the name to be empty on this info msg: si2157 16-0060: si2157: found a '' in cold state [cr...@iki.fi: commit msg from Luis email rep

[PATCH 02/10] si2168: improve scanning performance

2014-07-18 Thread Antti Palosaari
From: Olli Salonen Improve scanning performance by setting property 0301 with a value from Windows driver. Signed-off-by: Olli Salonen Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media/dvb-frontends

[PATCH 04/10] si2168: Remove testing for demod presence on probe.

2014-07-18 Thread Antti Palosaari
From: Luis Alves Testing demod presence on probe fails if the demod was sleep mode. Signed-off-by: Luis Alves Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/medi

[PATCH 10/10] si2157: Add get_if_frequency callback

2014-07-18 Thread Antti Palosaari
From: Matthias Schwarzott This is needed for PCTV 522e support. Signed-off-by: Matthias Schwarzott Signed-off-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index f6

[PATCH 07/10] cxusb: Prepare for si2157 driver getting more parameters

2014-07-18 Thread Antti Palosaari
From: Matthias Schwarzott Modify all users of si2157_config to correctly initialize all not listed values to 0. Signed-off-by: Matthias Schwarzott Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb/cxusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb

[PATCH 09/10] si2157: Add support for spectral inversion

2014-07-18 Thread Antti Palosaari
From: Matthias Schwarzott This is needed for PCTV 522e support. Signed-off-by: Matthias Schwarzott Signed-off-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 3 +++ drivers/media/tuners/si2157.h | 5 + drivers/media/tuners/si2157_priv.h | 1 + 3 files changed, 9 insertio

Re: [PATCH 3/3] si2157: Add support for spectral inversion

2014-07-18 Thread Antti Palosaari
Patch applied. http://git.linuxtv.org/cgit.cgi/anttip/media_tree.git/log/?h=silabs However, it is usually demod which fixes inverted IF. There was only one other tuner driver having IF spectrum inversion, Mxl5007t. Logically looking signal goes from tuner to demod and when it goes out from t

Re: [PATCH 2/3] em28xx-dvb: Prepare for si2157 driver getting more parameters

2014-07-18 Thread Antti Palosaari
Patch applied. http://git.linuxtv.org/cgit.cgi/anttip/media_tree.git/log/?h=silabs Antti On 07/15/2014 10:34 PM, Matthias Schwarzott wrote: Modify all users of si2157_config to correctly initialize all not listed values to 0. Signed-off-by: Matthias Schwarzott --- drivers/media/usb/em28xx

Re: [PATCH 1/3] cxusb: Prepare for si2157 driver getting more parameters

2014-07-18 Thread Antti Palosaari
Patch applied. http://git.linuxtv.org/cgit.cgi/anttip/media_tree.git/log/?h=silabs Antti On 07/15/2014 10:34 PM, Matthias Schwarzott wrote: Modify all users of si2157_config to correctly initialize all not listed values to 0. Signed-off-by: Matthias Schwarzott --- drivers/media/usb/dvb-usb

[PATCH 1/2] videodev2.h add buffer size field to SDR format

2014-07-18 Thread Antti Palosaari
Signed-off-by: Antti Palosaari --- include/linux/videodev2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index ac700c9..17c890d 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -1777,7 +1777,8

[PATCH 2/2] v4l2-ctl: print SDR FMT buffer size

2014-07-18 Thread Antti Palosaari
Signed-off-by: Antti Palosaari --- utils/v4l2-ctl/v4l2-ctl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp index 79930b1..fa44697 100644 --- a/utils/v4l2-ctl/v4l2-ctl.cpp +++ b/utils/v4l2-ctl/v4l2-ctl.cpp @@ -522,6 +522,7 @@ void p

[PATCH 3/3] airspy: fill FMT buffer size

2014-07-18 Thread Antti Palosaari
Fill FMT buffer size field in order to inform app which will be used streaming buffer size. Currently driver doesn't allow buffer size value proposed by application. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/usb/airspy/airspy.c | 26 +++--- 1 file cha

[PATCH 1/3] DocBook media: v4l2_sdr_format buffersize field

2014-07-18 Thread Antti Palosaari
New field buffersize was added to inform application maximum buffer size used. Add it to documentation too. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/dev-sdr.xml | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Doc

[PATCH 2/3] msi2500: fill FMT buffer size

2014-07-18 Thread Antti Palosaari
Fill FMT buffer size field in order to inform app which will be used streaming buffer size. Currently driver doesn't allow buffer size value proposed by application. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/usb/msi2500/msi2500.c | 31 --- 1 f

modern software with analog (BT787) overlay support? / XAWTV replacement ?

2014-07-18 Thread Moses
Hello, I need a replacement for an aging box that is using xawtv to display CCTV cameras (from a BT878 card) on a X windows display. Xawtv is capable of hardware overlay directly onto the X display with almost no CPU usage and pretty much real time, it has worked great for years.. but now the

Re: Siano Rio problems (idVendor=187f, idProduct=0600)

2014-07-18 Thread Roberto Alcantara
Johannes, For now Mauro Chehab is the maintainer for Siano tuners. Guys from Siano stops to send patch a long time ago. I’m using SMS2270 (Siano RIO) with ISDB-T. But your log shows "DVB-T Europe”. Are you trying to tune ISDB-T Terrestrial stations as your firmware file name suggest? Try to e

Re: ddbridge -- kernel 3.15.6

2014-07-18 Thread Rudy Zijlstra
On 18-07-14 19:13, René wrote: Had you a look to the linuxtv.org wiki page ? If not read http://linuxtv.org/wiki/index.php/Linux4Media_cineS2_DVB-S2_Twin_Tuner if this correspond to your device you are may be missing the firmware file (bottom of the page) The ngene and the ddbridge are bot

Re: [PATCH 2/2] rtl2832_sdr: fill FMT buffer size

2014-07-18 Thread Hans Verkuil
On 07/18/2014 09:29 PM, Antti Palosaari wrote: > Fill FMT buffer size field in order to inform app which will be > used streaming buffer size. Currently driver doesn't allow buffer > size value proposed by application. > > Cc: Hans Verkuil > Signed-off-by: Antti Palosaari Acked-by: Hans Verkuil

Re: [PATCH 1/2] v4l: videodev2: add buffer size to SDR format

2014-07-18 Thread Hans Verkuil
On 07/18/2014 09:29 PM, Antti Palosaari wrote: > Add buffer size field to struct v4l2_sdr_format. It is used for > negotiate streaming buffer size between application and driver. Yes, that's what I had in mind. Can you provide a DocBook patch as well? This patch: Acked-by: Hans Verkuil Regards

[PATCH 2/2] rtl2832_sdr: fill FMT buffer size

2014-07-18 Thread Antti Palosaari
Fill FMT buffer size field in order to inform app which will be used streaming buffer size. Currently driver doesn't allow buffer size value proposed by application. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/rtl2832_sdr.c | 27 --- 1

[PATCH 1/2] v4l: videodev2: add buffer size to SDR format

2014-07-18 Thread Antti Palosaari
Add buffer size field to struct v4l2_sdr_format. It is used for negotiate streaming buffer size between application and driver. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- include/uapi/linux/videodev2.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/

[PATCH] media: davinci: vpif: fix array out of bound warnings

2014-07-18 Thread Lad, Prabhakar
This patch fixes following array out of bound warnings, drivers/media/platform/davinci/vpif_display.c: In function 'vpif_remove': drivers/media/platform/davinci/vpif_display.c:1389:36: warning: iteration 1u invokes undefined behavior [-Waggressive-loop-optimizations] vb2_dma_contig_cleanup_ctx(

Re: [PATCH 3/4] airspy: print notice to point SDR API is not 100% stable yet

2014-07-18 Thread Antti Palosaari
Moikka! On 07/18/2014 08:15 AM, Hans Verkuil wrote: On 07/18/2014 03:05 AM, Antti Palosaari wrote: Print notice on driver load: "SDR API is still slightly experimental and functionality changes may follow". It is just remind possible used SDR API is very new and surprises may occur. On that

Re: ddbridge -- kernel 3.15.6

2014-07-18 Thread Rudy Zijlstra
On 18-07-14 17:39, Rudy Zijlstra wrote: On 18-07-14 17:01, René wrote: To know which modules shall be detected, we need at least the make and model of the device. If you can read the references on the chips on the board, it would be great ... I see. What would happen if I build a monolithic k

Re: ddbridge -- kernel 3.15.6

2014-07-18 Thread Rudy Zijlstra
On 18-07-14 17:01, René wrote: To know which modules shall be detected, we need at least the make and model of the device. If you can read the references on the chips on the board, it would be great ... I see. What would happen if I build a monolithic kernel with all DVB modules included? I

Re: [PATCH] si2157: Use name si2157_ops instead of si2157_tuner_ops (harmonize with si2168)

2014-07-18 Thread Antti Palosaari
I will apply that, thanks! Could you and also Luis pay attention to commit message in future patches. I have had practically fixed almost every commit message from your patches. Long one liner just like this one is not correct. It should be short subject line and then explained more in the com

Re: [PATCH] airspy: AirSpy SDR driver

2014-07-18 Thread Antti Palosaari
On 07/18/2014 06:01 PM, Hans Verkuil wrote: On 07/18/2014 04:57 PM, Antti Palosaari wrote: On 07/18/2014 08:03 AM, Hans Verkuil wrote: On 07/18/2014 02:14 AM, Antti Palosaari wrote: On 07/15/2014 06:50 AM, Hans Verkuil wrote: On 07/15/2014 04:35 AM, Antti Palosaari wrote: On 07/14/2014

Re: [PATCH] airspy: AirSpy SDR driver

2014-07-18 Thread Hans Verkuil
On 07/18/2014 04:57 PM, Antti Palosaari wrote: > > > On 07/18/2014 08:03 AM, Hans Verkuil wrote: >> On 07/18/2014 02:14 AM, Antti Palosaari wrote: >>> >>> >>> On 07/15/2014 06:50 AM, Hans Verkuil wrote: On 07/15/2014 04:35 AM, Antti Palosaari wrote: > On 07/14/2014 11:01 PM, Hans Verkuil

Re: [PATCH] airspy: AirSpy SDR driver

2014-07-18 Thread Antti Palosaari
On 07/18/2014 08:03 AM, Hans Verkuil wrote: On 07/18/2014 02:14 AM, Antti Palosaari wrote: On 07/15/2014 06:50 AM, Hans Verkuil wrote: On 07/15/2014 04:35 AM, Antti Palosaari wrote: On 07/14/2014 11:01 PM, Hans Verkuil wrote: On 07/14/2014 09:55 PM, Antti Palosaari wrote: I actually ran

Re: ddbridge -- kernel 3.15.6

2014-07-18 Thread Rudy Zijlstra
Hi Rene, DVB-S2 I would have expected the relevant modules to be loaded after detecting the bridge, and after ddbridge detecting the relevant HW behind. This is apparently not happening, so how to trigger? Cheers Rudy On 18-07-14 16:27, René wrote: Hi Rudy, ddbridge is a ... bridge. So

ddbridge -- kernel 3.15.6

2014-07-18 Thread Rudy Zijlstra
Dears, I have a ddbridge device: 03:00.0 Multimedia controller: Device dd01:0003 Subsystem: Device dd01:0021 Flags: fast devsel, IRQ 17 Memory at f090 (64-bit, non-prefetchable) [size=64K] Capabilities: [50] Power Management version 3 Capabilities: [90

Re: [PATCH v2 03/23] v4l: Support extending the v4l2_pix_format structure

2014-07-18 Thread Hans Verkuil
On 07/18/2014 02:27 PM, Laurent Pinchart wrote: > Hi Hans, > > On Friday 18 July 2014 07:10:48 Hans Verkuil wrote: >> On 07/17/2014 11:22 PM, Hans Verkuil wrote: >>> And another thing that I found while implementing this in v4l2-ctl: >>> >>> On 06/24/2014 01:54 AM, Laurent Pinchart wrote: The

Re: [PATCH v2 01/23] v4l: Add ARGB and XRGB pixel formats

2014-07-18 Thread Hans Verkuil
On 07/18/2014 02:31 PM, Laurent Pinchart wrote: > Hi Hans, > > On Thursday 17 July 2014 23:53:52 Hans Verkuil wrote: >> Hi Laurent, >> >> While implementing support for this in v4l-utils I discovered you missed >> one: >> >> On 06/24/2014 01:54 AM, Laurent Pinchart wrote: >>> From: Laurent Pinchar

Re: [PATCH v2 01/23] v4l: Add ARGB and XRGB pixel formats

2014-07-18 Thread Hans Verkuil
On 07/18/2014 03:14 PM, Hans Verkuil wrote: > On 07/18/2014 02:31 PM, Laurent Pinchart wrote: >> Hi Hans, >> >> On Thursday 17 July 2014 23:53:52 Hans Verkuil wrote: >>> Hi Laurent, >>> >>> While implementing support for this in v4l-utils I discovered you missed >>> one: >>> >>> On 06/24/2014 01:54

Re: [PATCH v2 01/23] v4l: Add ARGB and XRGB pixel formats

2014-07-18 Thread Laurent Pinchart
Hi Hans, On Thursday 17 July 2014 23:53:52 Hans Verkuil wrote: > Hi Laurent, > > While implementing support for this in v4l-utils I discovered you missed > one: > > On 06/24/2014 01:54 AM, Laurent Pinchart wrote: > > From: Laurent Pinchart > > > > The existing RGB pixel formats are ill-defined

Re: [PATCH v2 03/23] v4l: Support extending the v4l2_pix_format structure

2014-07-18 Thread Laurent Pinchart
Hi Hans, On Friday 18 July 2014 07:10:48 Hans Verkuil wrote: > On 07/17/2014 11:22 PM, Hans Verkuil wrote: > > And another thing that I found while implementing this in v4l2-ctl: > > > > On 06/24/2014 01:54 AM, Laurent Pinchart wrote: > >> The v4l2_pix_format structure has no reserved field. It i

Re: [linuxtv-media:master 447/499] drivers/media/common/saa7146/saa7146_fops.c:536:13: sparse: incorrect type in assignment (different base types)

2014-07-18 Thread Laurent Pinchart
On Friday 18 July 2014 13:58:37 Hans Verkuil wrote: > On 07/18/14 13:53, Laurent Pinchart wrote: > > On Friday 18 July 2014 07:56:52 kbuild test robot wrote: > >> tree: git://linuxtv.org/media_tree.git master > >> head: 0ca1ba2aac5f6b26672099b13040c5b40db93486 > >> commit: d52e23813672c3c72f92e

Re: [linuxtv-media:master 447/499] drivers/media/common/saa7146/saa7146_fops.c:536:13: sparse: incorrect type in assignment (different base types)

2014-07-18 Thread Hans Verkuil
On 07/18/14 13:53, Laurent Pinchart wrote: > On Friday 18 July 2014 07:56:52 kbuild test robot wrote: >> tree: git://linuxtv.org/media_tree.git master >> head: 0ca1ba2aac5f6b26672099b13040c5b40db93486 >> commit: d52e23813672c3c72f92e7b39c7408d4b9a40a96 [447/499] [media] v4l: >> Support extendin

Re: [linuxtv-media:master 447/499] drivers/media/common/saa7146/saa7146_fops.c:536:13: sparse: incorrect type in assignment (different base types)

2014-07-18 Thread Laurent Pinchart
On Friday 18 July 2014 07:56:52 kbuild test robot wrote: > tree: git://linuxtv.org/media_tree.git master > head: 0ca1ba2aac5f6b26672099b13040c5b40db93486 > commit: d52e23813672c3c72f92e7b39c7408d4b9a40a96 [447/499] [media] v4l: > Support extending the v4l2_pix_format structure reproduce: make C

Re: [PATCH] vb2: fix bytesused == 0 handling

2014-07-18 Thread Marek Szyprowski
Hello, On 2014-07-17 11:53, Hans Verkuil wrote: The original report from Nikhil was that if data_offset > 0 and bytesused == 0, then the check in __verify_length() would fail, even though the spec says that if bytes_used == 0, then it will be replaced by the actual length of the buffer. After d

Re: [linuxtv-media:master 470/499] ERROR: "__aeabi_uldivmod" [drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.ko] undefined!

2014-07-18 Thread Laurent Pinchart
On Friday 18 July 2014 10:50:27 kbuild test robot wrote: > tree: git://linuxtv.org/media_tree.git master > head: 0ca1ba2aac5f6b26672099b13040c5b40db93486 > commit: 3ed1a0023c48db707db537ef8aeb21445db637a6 [470/499] [media] v4l: > omap4iss: tighten omap4iss dependencies config: make ARCH=arm all

[PATCH v2 03/11] [media] coda: remove CAPTURE and OUTPUT caps

2014-07-18 Thread Philipp Zabel
This is a mem2mem driver, pure capture or output modes are not supported. Acked-by: Hans Verkuil Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.

[PATCH v2 02/11] [media] coda: initialize hardware on pm runtime resume only if firmware available

2014-07-18 Thread Philipp Zabel
If no firmware was found and the coda module is unloaded, coda_runtime_resume will be called without an allocated code buffer. Do not call coda_hw_init in this case. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH v2 08/11] [media] coda: split userspace interface into encoder and decoder device

2014-07-18 Thread Philipp Zabel
Userspace has a hard time making sense of format enumerations on V4L2 mem2mem devices if there are restrictions on which input and output formats can be used together. Alleviate the problem by splitting the video4linux device into separate encoder and decoder devices which list only raw formats on

[PATCH v2 00/11] CODA encoder/decoder device split

2014-07-18 Thread Philipp Zabel
Hi, the following patches add a few fixes and cleanups and split the coda video4linux2 device into encoder and decoder. Following the principle of least surprise, this way the format enumeration on the output and capture sides is fixed and does not change depending on whether the given instance is

[PATCH v2 10/11] [media] coda: default to h.264 decoder on invalid formats

2014-07-18 Thread Philipp Zabel
If the user provides an invalid format, let the decoder device default to h.264. Acked-by: Hans Verkuil Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platfor

[PATCH v2 07/11] [media] coda: lock capture frame size to output frame size when streaming

2014-07-18 Thread Philipp Zabel
As soon as the output queue is streaming, let try_fmt on the capture side only allow the frame size that was set on the output side. Acked-by: Hans Verkuil Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platfor

[PATCH v2 09/11] [media] coda: split format enumeration for encoder end decoder device

2014-07-18 Thread Philipp Zabel
Let the decoder capture side and encoder output side only list uncompressed formats, and the decoder output and encoder capture side only list compressed formats. Acked-by: Hans Verkuil Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 57 +++--

[PATCH v2 01/11] [media] coda: fix CODA7541 hardware reset

2014-07-18 Thread Philipp Zabel
Do not try to read the CODA960 GDI status register on CODA7541. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 7e69eda..d5abb

[PATCH v2 06/11] [media] coda: delay coda_fill_bitstream()

2014-07-18 Thread Philipp Zabel
From: Michael Olbrich coda_fill_bitstream() calls v4l2_m2m_buf_done() which is no longer allowed before streaming was started. Delay coda_fill_bitstream() until coda_start_streaming() and explicitly set 'start_streaming_called' before calling coda_fill_bitstream() Signed-off-by: Michael Olbrich

[PATCH v2 11/11] [media] coda: mark constant structures as such

2014-07-18 Thread Philipp Zabel
The format and codec lists and the ops structures are read-only. Mark them as const. Acked-by: Hans Verkuil Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/media/p

[PATCH v2 04/11] [media] coda: remove VB2_USERPTR from queue io_modes

2014-07-18 Thread Philipp Zabel
Disallow USERPTR buffers, videobuf2-dma-contig doesn't support them. Acked-by: Hans Verkuil Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index

[PATCH v2 05/11] [media] coda: use CODA_MAX_FRAME_SIZE everywhere

2014-07-18 Thread Philipp Zabel
From: Michael Olbrich Without this changing CODA_MAX_FRAME_SIZE to anything other than 0x10 can break the bitstram handling Signed-off-by: Michael Olbrich Signed-off-by: Philipp Zabel --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

Re: [PATCH] libv4lconvert: add support for new pixelformats

2014-07-18 Thread Hans de Goede
Hi, On 07/18/2014 12:27 AM, Hans Verkuil wrote: > Support for alpha-channel aware pixelformats was added. Recognize those > formats > in libv4lconvert. > > Signed-off-by: Hans Verkuil Looks good: Acked-by: Hans de Goede Feel free to push. Regards, Hans > > diff --git a/lib/libv4lconvert

Re: [PATCH] si2157: Use name si2157_ops instead of si2157_tuner_ops (harmonize with si2168)

2014-07-18 Thread Luis Alves
This actually fixes a bug. The struct prototype is defined at the beginning of the code as "si2157_ops" but the real struct is called "si2157_tuner_ops". This is causing the name to be empty on this info msg: si2157 16-0060: si2157: found a '' in cold state Luis On Fri, Jul 18, 2014 at 6:41 AM,

Re: [PATCH 2/2] v4l2-ctrls: fix compiler warning

2014-07-18 Thread Sakari Ailus
On Thu, Jul 17, 2014 at 03:48:43PM +0200, Hans Verkuil wrote: > Fixed a compiler warning in v4l_print_query_ext_ctrl() due to the change from > dims[8] to dims[4]. > > Signed-off-by: Hans Verkuil For both: Acked-by: Sakari Ailus -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@re

Re: [PATCH] media: Use strlcpy instead of custom code

2014-07-18 Thread Sakari Ailus
Hi Laurent, Thanks for the patch! On Thu, Jul 17, 2014 at 01:54:38PM +0200, Laurent Pinchart wrote: > Replace strncpy + manually setting the terminating '\0' with an strlcpy > call. > > Reported-by: Joe Perches > Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus -- Sakari Ailus e-mai

[PATCH for v3.17] v4l2-ctrls: fix corner case in round-to-range code

2014-07-18 Thread Hans Verkuil
If you have a maximum that is at the limit of what the type supports, and the step is > 1, then you can get wrap-around errors since the code assumes that the maximum that the type supports is ctrl->maximum + ctrl->step / 2. In practice this is always fine, but in artificially crafted ranges you w

Re: [PATCH] ddbridge: Add IDs for several newer Digital Devices cards

2014-07-18 Thread D. Herrendoerfer
ACK, tested ok with CineS2 6.5 and Octopus V3. D.Herrendoerfer On 30 Jun 2014, at 15:44, Christopher Reimer wrote: > Hello, > > it's the first time I try to contribute here. So please be gracious. > > This patch adds the necessary IDs for the following dvb cards: > > Digital Devices Octopu