cron job: media_tree daily build: ABI WARNING

2014-12-05 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 Dec 6 04:00:14 CET 2014 git branch: test git hash: 71947828caef0c83d4245f7d1eaddc799b4ff1d1 gcc versio

Re: [PATCH v3 2/2] staging: media: lirc: lirc_zilog.c: keep consistency in dev functions

2014-12-05 Thread Mauro Carvalho Chehab
Em Fri, 05 Dec 2014 12:35:25 + Luis de Bethencourt escreveu: > On 5 December 2014 at 12:28, Dan Carpenter wrote: > > > On Thu, Dec 04, 2014 at 10:35:24PM +, Luis de Bethencourt wrote: > > > The previous patch switched some dev functions to move the string to a > > second > > > line. Doi

Re: [PATCH] usb: hcd: get/put device and hcd for hcd_buffers()

2014-12-05 Thread Greg Kroah-Hartman
On Sat, Dec 06, 2014 at 12:13:13AM +0100, Sebastian Andrzej Siewior wrote: > * Greg Kroah-Hartman | 2014-12-05 13:19:32 [-0800]: > > >On Fri, Dec 05, 2014 at 09:03:57PM +0100, Sebastian Andrzej Siewior wrote: > >> Consider the following scenario: > >> - plugin a webcam > >> - play the stream via g

[PATCH 3/3] mn88472: add ts mode and ts clock to driver

2014-12-05 Thread Benjamin Larsson
Signed-off-by: Benjamin Larsson --- drivers/media/dvb-frontends/mn88472.h| 12 +++ drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 ++ drivers/staging/media/mn88472/mn88472.c | 30 ++-- drivers/staging/media/mn88472/mn88472_priv.h | 2 ++ 4 files ch

[PATCH 2/3] mn88472: make sure the private data struct is nulled after free

2014-12-05 Thread Benjamin Larsson
Using this driver with the attach dvb model might trigger a use after free when unloading the driver. With this change the driver will always fail on unload instead of randomly crash depending on if the memory has been reused or not. Signed-off-by: Benjamin Larsson --- drivers/staging/media/mn88

Re: (bisected) Logitech C920 (uvcvideo) stutters since 3.9

2014-12-05 Thread Grazvydas Ignotas
Hi, On Fri, Dec 5, 2014 at 1:46 PM, Laurent Pinchart wrote: > Hi Grazvydas, > > On Thursday 06 November 2014 00:29:53 Grazvydas Ignotas wrote: >> On Wed, Nov 5, 2014 at 4:05 PM, Laurent Pinchart wrote: >> > Would you be able to capture images from the C920 using yavta, with the >> > uvcvideo trac

[PATCH 1/3] rtl28xxu: lower the rc poll time to mitigate i2c transfer errors

2014-12-05 Thread Benjamin Larsson
The Astrometa device has issues with i2c transfers. Lowering the poll time somehow makes these errors disappear. Signed-off-by: Benjamin Larsson --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c

Re: [PATCH] usb: hcd: get/put device and hcd for hcd_buffers()

2014-12-05 Thread Sebastian Andrzej Siewior
* Alan Stern | 2014-12-05 16:21:02 [-0500]: >On Fri, 5 Dec 2014, Sebastian Andrzej Siewior wrote: >> So instead, I hold the device struct in the HCD and the HCD struct on >> every USB-buf-alloc. That means after a disconnect we still have a >> refcount on usb_hcd and device and it will be cleaned

Re: [PATCH] usb: hcd: get/put device and hcd for hcd_buffers()

2014-12-05 Thread Sebastian Andrzej Siewior
* Greg Kroah-Hartman | 2014-12-05 13:19:32 [-0800]: >On Fri, Dec 05, 2014 at 09:03:57PM +0100, Sebastian Andrzej Siewior wrote: >> Consider the following scenario: >> - plugin a webcam >> - play the stream via gst-launch-0.10 v4l2src device=/dev/video0… >> - remove the USB-HCD during playback via

Re: [PATCH] usb: hcd: get/put device and hcd for hcd_buffers()

2014-12-05 Thread Alan Stern
On Fri, 5 Dec 2014, Sebastian Andrzej Siewior wrote: > Consider the following scenario: > - plugin a webcam > - play the stream via gst-launch-0.10 v4l2src device=/dev/video0… > - remove the USB-HCD during playback via "rmmod $HCD" > > and now wait for the crash > > |musb-hdrc musb-hdrc.2.auto:

Re: [PATCH] usb: hcd: get/put device and hcd for hcd_buffers()

2014-12-05 Thread Greg Kroah-Hartman
On Fri, Dec 05, 2014 at 09:03:57PM +0100, Sebastian Andrzej Siewior wrote: > Consider the following scenario: > - plugin a webcam > - play the stream via gst-launch-0.10 v4l2src device=/dev/video0… > - remove the USB-HCD during playback via "rmmod $HCD" > > and now wait for the crash Which you de

[PATCH v2 1/3] configure.ac: add qt5 detection support

2014-12-05 Thread Peter Seiderer
Disable QTGL for qt5 because of qv4l2 crash on startup. Signed-off-by: Peter Seiderer --- Changes v1 -> v2: - fix configure log output for qt5 - fix qt4 detection --- configure.ac | 42 -- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a

[PATCH v2 2/3] qv4l2: fix qt5 compile

2014-12-05 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- utils/qv4l2/capture-win-qt.cpp | 4 utils/qv4l2/qv4l2.cpp | 21 + 2 files changed, 25 insertions(+) diff --git a/utils/qv4l2/capture-win-qt.cpp b/utils/qv4l2/capture-win-qt.cpp index db85cd2..9c849a0 100644 --- a/utils/qv4l2/ca

[PATCH v2 3/3] qv4l2: update qmake project file

2014-12-05 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- Changes v1 -> v2: - fix out of tree qmake build (add PWD to library paths) - fix opengl support (qt4 only) and add disabling hint --- utils/qv4l2/qv4l2.pro | 46 ++ 1 file changed, 42 insertions(+), 4 deletions(-)

[PATCH] usb: hcd: get/put device and hcd for hcd_buffers()

2014-12-05 Thread Sebastian Andrzej Siewior
Consider the following scenario: - plugin a webcam - play the stream via gst-launch-0.10 v4l2src device=/dev/video0… - remove the USB-HCD during playback via "rmmod $HCD" and now wait for the crash |musb-hdrc musb-hdrc.2.auto: remove, state 1 |usb usb2: USB disconnect, device number 1 |usb 2-1: U

Re: [PATCH/RFC v8 03/14] Documentation: leds: Add description of v4l2-flash sub-device

2014-12-05 Thread Bryan Wu
On Fri, Nov 28, 2014 at 1:17 AM, Jacek Anaszewski wrote: > This patch extends LED Flash class documention by > the description of interactions with v4l2-flash sub-device. > > Signed-off-by: Jacek Anaszewski > Acked-by: Kyungmin Park > Cc: Bryan Wu > Cc: Richard Purdie > --- This patch looks g

Re: [PATCH/RFC v8 02/14] Documentation: leds: Add description of LED Flash class extension

2014-12-05 Thread Bryan Wu
On Mon, Dec 1, 2014 at 5:58 AM, Jacek Anaszewski wrote: > Hi Pavel, > > On 12/01/2014 02:04 PM, Pavel Machek wrote: >> >> Hi! >> How are faults cleared? Should it be list of strings, instead of bitmask? We may want to add new fault modes in future... >>> >>> >>> Faults are cleared by rea

Re: Terratec H7 with yet another usb ID

2014-12-05 Thread Eddi De Pieri
Hi Rik, I've download Terratec H7 rev 4 should be a TechnoTrend_TT-TVStick_CT2-44xx clone so you could try to patch dvbsky.c driver. Strings inside the windows driver: T E R R A T E C S 7 D i g i t a l T u n e r ( D V B - S / S 2 ) T T - c o n n e c t C T 2 _ 4 6 5 0 D V B - T / T 2

Re: [GIT PULL FOR v3.19] Media cleanups

2014-12-05 Thread Hans Verkuil
On 12/05/2014 01:30 PM, Hans Verkuil wrote: > Hi Mauro, > > This patch series contains a bunch of cleanups: > > - Remove emacs editor comments throughout drivers/media > - Move deprecated drivers to staging. I plan to remove these for 3.20. > - Switch last users of the deprecated get/set_crop pad

Re: [REVIEW PATCH 2/2] v4l: Add packed Bayer raw10 pixel formats

2014-12-05 Thread Hans Verkuil
On 12/03/2014 12:14 PM, Sakari Ailus wrote: > From: Aviv Greenberg > > These formats are just like 10-bit raw bayer formats that exist already, but > the pixels are not padded to byte boundaries. Instead, the eight high order > bits of four consecutive pixels are stored in four bytes, followed by

Re: Terratec H7 with yet another usb ID

2014-12-05 Thread Antti Palosaari
Moikka Take USB sniffs and generate driver C-code from that sniff. Then copy&paste that code to driver until is starts working. After that, you could remove all the code until you find minimum set of needed changes (error and trial). regards Antti On 12/05/2014 04:51 PM, Eddi De Pieri wrote:

Re: [REVIEW PATCH 1/2] v4l: Add data_offset to struct v4l2_buffer

2014-12-05 Thread Hans Verkuil
On 12/03/2014 12:14 PM, Sakari Ailus wrote: > From: Sakari Ailus > > The data_offset field tells the start of the image data from the beginning > of the buffer. The bsize field bsize field? There is no bsize field in v4l2_buffer, so I'm confused. > in struct v4l2_buffer includes this, but the

Re: [GIT PULL] soc-camera: 1st set for 3.19

2014-12-05 Thread Guennadi Liakhovetski
Hi Mauro, On Fri, 5 Dec 2014, Mauro Carvalho Chehab wrote: > Em Fri, 05 Dec 2014 08:07:07 +0100 > Guennadi Liakhovetski escreveu: > > > Hi Mauro, > > > > On Mon, 1 Dec 2014, Mauro Carvalho Chehab wrote: > > > > > Em Fri, 28 Nov 2014 23:15:32 +0100 (CET) > > > Guennadi Liakhovetski escreveu:

Re: (bisected) Logitech C920 (uvcvideo) stutters since 3.9

2014-12-05 Thread Laurent Pinchart
Hi Sakari, On Wednesday 05 November 2014 18:11:47 Sakari Ailus wrote: > On Wed, Nov 05, 2014 at 10:13:45AM +, Paulo Assis wrote: > > 2014-11-04 23:32 GMT+00:00 Sakari Ailus : > >> Sakari Ailus wrote: > >>> yavta does, for example, print both the monotonic timestamp from the > >>> buffer and th

Re: Terratec H7 with yet another usb ID

2014-12-05 Thread Eddi De Pieri
Hi, I got a sample usb tuner with similar issue with following vendor/product 13d3:0ccd. Onboard it have: CY7C68013A-56PVXC and a SI2168-40. The tuner isn't visible since is covered by a shield. I've tried to patch the az6007 to make it working. si2168 4-0064: Silicon Labs Si2168 successfully a

[GIT PULL FOR v3.19] v4l2-mediabus.h & documentation updates

2014-12-05 Thread Hans Verkuil
These fixes are needed for 3.19 and are a follow up to the colorspace patch series. They keep one extra __u32 free for future use in v4l2-mediabus.h as per Sakari's suggestion. This suggestion came in after the colorspace patches were merged, but it is a good idea. And the documentation is update

[PATCHv2 for v3.19 3/4] DocBook media: update version number and document changes.

2014-12-05 Thread Hans Verkuil
Update the version to 3.19. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/compat.xml | 12 Documentation/DocBook/media/v4l/v4l2.xml | 11 ++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/compat.xml b/Docu

Re: [PATCH for v3.19 3/4] DocBook media: update version number and document changes.

2014-12-05 Thread Hans Verkuil
On 12/05/2014 03:19 PM, Hans Verkuil wrote: > From: Hans Verkuil > > Signed-off-by: Hans Verkuil > --- > Documentation/DocBook/media/v4l/compat.xml | 6 ++ > Documentation/DocBook/media/v4l/v4l2.xml | 11 ++- > 2 files changed, 16 insertions(+), 1 deletion(-) > > diff --git a/Do

[PATCH for v3.19 4/4] vivid.txt: document new controls

2014-12-05 Thread Hans Verkuil
From: Hans Verkuil Document the new 'Y'CbCr Encoding' and 'Quantization' controls. Signed-off-by: Hans Verkuil --- Documentation/video4linux/vivid.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/video4linux/vivid.txt b/Documentation/video4linux/vivid.txt

[PATCH for v3.19 1/4] v4l2-mediabus.h: use two __u16 instead of two __u32

2014-12-05 Thread Hans Verkuil
From: Hans Verkuil The ycbcr_enc and quantization fields do not need a __u32. Switch to two __u16 types, thus preserving alignment and avoiding holes in the struct. This makes one more __u32 available for future expansion. Suggested by Sakari Ailus. Signed-off-by: Hans Verkuil --- include/uap

[PATCH for v3.19 3/4] DocBook media: update version number and document changes.

2014-12-05 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/compat.xml | 6 ++ Documentation/DocBook/media/v4l/v4l2.xml | 11 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/compat.xml b/Documentation/DocB

[PATCH for v3.19 2/4] DocBook media: add missing ycbcr_enc and quantization fields

2014-12-05 Thread Hans Verkuil
From: Hans Verkuil I forgot to add these fields to the relevant structs. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/pixfmt.xml | 36 -- Documentation/DocBook/media/v4l/subdev-formats.xml | 18 ++- 2 files changed, 51 insertions(+), 3 del

[PATCH for v3.19 0/4] v4l2-mediabus.h & documentation updates

2014-12-05 Thread Hans Verkuil
These patches change the type of the two new fields in struct v4l2_mbus_framefmt from __u32 to __u16, as per Sakari's suggestion. We don't need 4 bytes per field for this, and this way we save one __u32. It also updates docbook with the new fields (I somehow missed that) and documents the new vivi

Re: [PATCH v3] media: platform: add VPFE capture driver support for AM437X

2014-12-05 Thread Prabhakar Lad
Hi Hans, On Fri, Dec 5, 2014 at 12:24 PM, Hans Verkuil wrote: > Hi Prabhakar, > > Sorry, there are still a few items that need to be fixed. > If you can make a v4 with these issues addressed, then I can still make a > pull request, although it depends on Mauro whether it is still accepted for > 3

[GIT PULL FOR v3.19] Media cleanups

2014-12-05 Thread Hans Verkuil
Hi Mauro, This patch series contains a bunch of cleanups: - Remove emacs editor comments throughout drivers/media - Move deprecated drivers to staging. I plan to remove these for 3.20. - Switch last users of the deprecated get/set_crop pad ops to get/set_selection. - Drop obsolete get/set_crop

Re: [PATCH v3 2/2] staging: media: lirc: lirc_zilog.c: keep consistency in dev functions

2014-12-05 Thread Dan Carpenter
On Thu, Dec 04, 2014 at 10:35:24PM +, Luis de Bethencourt wrote: > The previous patch switched some dev functions to move the string to a second > line. Doing this for all similar functions because it makes the driver easier > to read if all similar lines use the same criteria. > > Signed-off-

Re: [PATCH v3] media: platform: add VPFE capture driver support for AM437X

2014-12-05 Thread Hans Verkuil
Hi Prabhakar, Sorry, there are still a few items that need to be fixed. If you can make a v4 with these issues addressed, then I can still make a pull request, although it depends on Mauro whether it is still accepted for 3.19. On 12/04/2014 12:12 AM, Lad, Prabhakar wrote: > From: Benoit Parrot

Re: (bisected) Logitech C920 (uvcvideo) stutters since 3.9

2014-12-05 Thread Laurent Pinchart
Hi Grazvydas, On Thursday 06 November 2014 00:29:53 Grazvydas Ignotas wrote: > On Wed, Nov 5, 2014 at 4:05 PM, Laurent Pinchart wrote: > > On Tuesday 04 November 2014 22:41:44 Rémi Denis-Courmont wrote: > >> Le mardi 04 novembre 2014, 15:42:37 Rémi Denis-Courmont a écrit : > >> > Le 2014-11-04 14:

[PATCH 3/5] dvb: tc90522: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 56 --- drivers/media/dvb-frontends/tc90522.h | 8 ++--- 2 files changed, 29 insertions(+), 35 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/dr

[PATCH 4/5] dvb: tc90522: remove a redundant state variable

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 91 ++- 1 file changed, 36 insertions(+), 55 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index 0f4ddd7..

[PATCH 5/5] dvb: pci/pt3: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt3/pt3.c | 89 ++--- drivers/media/pci/pt3/pt3.h | 12 +++--- 2 files changed, 33 insertions(+), 68 deletions(-) diff --git a/drivers/media/pci/pt3/pt3.c b/drivers/media/pci/pt3/

[PATCH 2/5] dvb: mxl301rf: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/mxl301rf.c | 50 +++-- drivers/media/tuners/mxl301rf.h | 2 +- 2 files changed, 14 insertions(+), 38 deletions(-) diff --git a/drivers/media/tuners/mxl301rf.c b/drivers/media/tune

[PATCH 1/5] dvb: qm1d1c0042: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/qm1d1c0042.c | 61 +-- drivers/media/tuners/qm1d1c0042.h | 2 -- 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/drivers/media/tuners/qm1d1c0042.c b/drivers/media

[PATCH 0/5] ports to dvb-core i2c template code

2014-12-05 Thread tskd08
From: Akihiro Tsukada These patches are example ports of earth-pt3 (adapter), tc90522 (demod), qm1d1c0042,mxl301rf (tuners) drivers using the i2c template code in dvb-core. Akihiro Tsukada (5): dvb: qm1d1c0042: use dvb-core i2c binding model template dvb: mxl301rf: use dvb-core i2c binding m

[RFC/PATCH] dvb-core: add template code for i2c binding model

2014-12-05 Thread tskd08
From: Akihiro Tsukada Define a standard interface for demod/tuner i2c driver modules. A module client calls dvb_i2c_attach_{fe,tuner}(), and a module driver defines struct dvb_i2c_module_param and calls DEFINE_DVB_I2C_MODULE() macro. This template provides implicit module requests and ref-counti

Re: [PATCH 2/4] media: ov2640: add primary dt support

2014-12-05 Thread Josh Wu
Hi, Laurent On 12/2/2014 6:33 AM, Laurent Pinchart wrote: Hi Josh, Thank you for the patch. On Friday 28 November 2014 18:28:25 Josh Wu wrote: Add device tree support for ov2640. Cc:devicet...@vger.kernel.org Signed-off-by: Josh Wu --- drivers/media/i2c/soc_camera/ov2640.c | 95 +++

it913x: probe of 8-001c failed with error -22

2014-12-05 Thread kapetr
bump: any Idea please ? Hello. U12.04 with newly installed 3.8 kernel: 3.8.0-44-generic #66~precise1-Ubuntu SMP Tue Jul 15 04:01:04 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux USB dvb-t tuner: Bus 001 Device 005: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick Newest

Re: [GIT PULL] soc-camera: 1st set for 3.19

2014-12-05 Thread Mauro Carvalho Chehab
Em Fri, 05 Dec 2014 08:07:07 +0100 Guennadi Liakhovetski escreveu: > Hi Mauro, > > On Mon, 1 Dec 2014, Mauro Carvalho Chehab wrote: > > > Em Fri, 28 Nov 2014 23:15:32 +0100 (CET) > > Guennadi Liakhovetski escreveu: > > > > > Hi Mauro, > > > > > > IIUC, this coming Sunday might be the last -r