cron job: media_tree daily build: ERRORS

2015-01-13 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 Jan 14 04:00:17 CET 2015 git branch: test git hash: 99f3cd52aee21091ce62442285a68873e3be833f gcc

Re: [PATCH] cx23885/vb2 regression: please test this patch

2015-01-13 Thread Raimonds Cicans
On 13.01.2015 19:55, Raimonds Cicans wrote: On 13.01.2015 16:01, Hans Verkuil wrote: Hi Raimonds, Jurgen, Can you both test this patch? It should (I hope) solve the problems you both had with the cx23885 driver. This patch fixes a race condition in the vb2_thread that occurs when the thread

Re: [PATCH] cx23885/vb2 regression: please test this patch

2015-01-13 Thread Raimonds Cicans
On 13.01.2015 16:01, Hans Verkuil wrote: Hi Raimonds, Jurgen, Can you both test this patch? It should (I hope) solve the problems you both had with the cx23885 driver. This patch fixes a race condition in the vb2_thread that occurs when the thread is stopped. The crucial fix is calling

[PATCH] BLACKFIN MEDIA DRIVER: rewrite the blackfin style of read/write into common style

2015-01-13 Thread Hao Liang
Signed-off-by: Hao Liang hliang1...@gmail.com --- drivers/media/platform/blackfin/ppi.c | 72 - 1 file changed, 35 insertions(+), 37 deletions(-) diff --git a/drivers/media/platform/blackfin/ppi.c b/drivers/media/platform/blackfin/ppi.c index cff63e5..de4b5c7

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

2015-01-13 Thread Antti Palosaari
On 12/05/2014 12:49 PM, tsk...@gmail.com wrote: From: Akihiro Tsukada tsk...@gmail.com 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()

[PATCH v2 8/8] ARM: at91: sama5: enable atmel-isi and ov2640 in defconfig

2015-01-13 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/configs/sama5_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index b58fb32..92f1d71

Re: [PATCH v2 0/8] ARM: at91: dts: sama5d3: add dt support for atmel isi and ov2640 sensor

2015-01-13 Thread Josh Wu
On 1/13/2015 11:05 PM, Nicolas Ferre wrote: Le 04/01/2015 10:02, Josh Wu a écrit : This patch series add ISI and ov2640 support on dts files. As the ov2640 driver dt is still in review. The patch is in: https://patchwork.linuxtv.org/patch/27554/ So I want to send this dt patch early for a

[PATCH v2 7/8] ARM: at91: dts: sama5d3: add ov2640 camera sensor support

2015-01-13 Thread Josh Wu
According to v4l2 dt document, we add: a camera host: ISI port. a i2c camera sensor: ov2640 port. to sama5d3xmb.dtsi. The ov2640 node defines the pinctrls, clocks and refer to isi port. The ISI node also has a reference to the ov2640 port. Signed-off-by: Josh Wu josh...@atmel.com --- v1 -

[PATCH] [media] rcar_vin: Update device_caps and capabilities in querycap

2015-01-13 Thread Nobuhiro Iwamatsu
device_caps in v4l2_capability structure must have been set value like capabilities. This set the value to device_caps, and set V4L2_CAP_DEVICE_CAPS to capabilities. This fixes check by commit 454a4e728dd5 ([media] v4l2-ioctl: WARN_ON if querycap didn't fill device_caps). Signed-off-by: Nobuhiro

smiapp-core.c error if !defined(CONFIG_OF)

2015-01-13 Thread Hans Verkuil
Hi Sakari, The daily build fails because of this error: media_build/v4l/smiapp-core.c: In function 'smiapp_get_pdata': media_build/v4l/smiapp-core.c:3061:3: error: implicit declaration of function 'of_read_number' [-Werror=implicit-function-declaration] pdata-op_sys_clock[i] =

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-13 Thread Jacek Anaszewski
On 01/12/2015 05:55 PM, Rob Herring wrote: Adding Mark B and Liam... On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 01/12/2015 02:52 PM, Rob Herring wrote: On Mon, Jan 12, 2015 at 2:32 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 01/09/2015

Re: [PATCH v3 3/3] media: au0828 remove video and vbi buffer timeout work-around

2015-01-13 Thread Devin Heitmueller
I couldn't reproduce what I was seeing when I did patch v2 series work. What I noticed was that I was seeing a few too many green screens and I had to re-tune xawtv when the timeout code is in place. My thinking was that this timeout handling could be introducing blank green frames when there

Re: [PATCH v2 02/13] pinctrl: sun6i: Add A31s pinctrl support

2015-01-13 Thread Linus Walleij
On Wed, Dec 17, 2014 at 6:18 PM, Hans de Goede hdego...@redhat.com wrote: The A31s is a stripped down version of the A31, as such it is missing some pins and some functions on some pins. The new pinctrl-sun6i-a31s.c this commit adds is a copy of pinctrl-sun6i-a31s.c with the missing pins

Driver/module in kernel fault. Anyone expert to help me? Siano ID 187f:0600

2015-01-13 Thread Francesco Other
Is there a gentleman that can help me with my problem? On linuxtv.org they said that someone here sure will help me. I submitted the problem here: http://www.spinics.net/lists/linux-media/msg85432.html Regards Francesco -- To unsubscribe from this list: send the line unsubscribe linux-media in

[PATCH] cx23885/vb2 regression: please test this patch

2015-01-13 Thread Hans Verkuil
Hi Raimonds, Jurgen, Can you both test this patch? It should (I hope) solve the problems you both had with the cx23885 driver. This patch fixes a race condition in the vb2_thread that occurs when the thread is stopped. The crucial fix is calling kthread_stop much earlier in vb2_thread_stop().

Re: [PATCH v3 3/3] media: au0828 remove video and vbi buffer timeout work-around

2015-01-13 Thread Shuah Khan
On 01/12/2015 09:44 PM, Devin Heitmueller wrote: Hi Shuah, On Mon, Jan 12, 2015 at 9:56 PM, Shuah Khan shua...@osg.samsung.com wrote: au0828 does video and vbi buffer timeout handling to prevent applications such as tvtime from hanging by ensuring that the video frames continue to be

Re: [PATCH v2 01/13] pinctrl: sun6i: Add some missing functions

2015-01-13 Thread Linus Walleij
On Wed, Dec 17, 2014 at 6:18 PM, Hans de Goede hdego...@redhat.com wrote: While working on pinctrl for the A31s, I noticed that function 4 of PA15 - PA18 was missing, add these. Signed-off-by: Hans de Goede hdego...@redhat.com --- Changes in v2: -Drop the changes to the muxing of i2c3 this

Re: [PATCH v7 1/3] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

2015-01-13 Thread Tomi Valkeinen
On 23/12/14 15:09, Philipp Zabel wrote: Decrementing the reference count of the previous endpoint node allows to use the of_graph_get_next_endpoint function in a for_each_... style macro. All current users of this function that pass a non-NULL prev parameter (coresight, rcar-du, imx-drm,

Re: smiapp-core.c error if !defined(CONFIG_OF)

2015-01-13 Thread Sakari Ailus
Hi Hans, On Tue, Jan 13, 2015 at 09:54:05AM +0100, Hans Verkuil wrote: Hi Sakari, The daily build fails because of this error: media_build/v4l/smiapp-core.c: In function 'smiapp_get_pdata': media_build/v4l/smiapp-core.c:3061:3: error: implicit declaration of function 'of_read_number'

Re: smiapp-core.c error if !defined(CONFIG_OF)

2015-01-13 Thread Sakari Ailus
On Tue, Jan 13, 2015 at 11:31:35AM +0200, Sakari Ailus wrote: Hi Hans, On Tue, Jan 13, 2015 at 09:54:05AM +0100, Hans Verkuil wrote: Hi Sakari, The daily build fails because of this error: media_build/v4l/smiapp-core.c: In function 'smiapp_get_pdata':

[PATCH 04/16] [media] adv7180: Cleanup register define naming

2015-01-13 Thread Lars-Peter Clausen
Consistently prefix register defines with ADV7180_REG. Also remove the ADI from register names, the ADV7180 prefix should provide enough of a namespace separation. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/media/i2c/adv7180.c | 105 ++--

[PATCH 16/16] [media] Add MAINTAINERS entry for the adv7180

2015-01-13 Thread Lars-Peter Clausen
Add myself as the maintainer for the adv7180 video subdev driver. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4318f34..22bb77e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -659,6

[PATCH 00/16] [media] adv7180: Add support for different chip

2015-01-13 Thread Lars-Peter Clausen
The adv7180 is part of a larger family of chips which all implement different features from a feature superset. This patch series step by step extends the current adv7180 with features from the superset that are currently not supported and gradually adding support for more variations of the chip.

[PATCH 03/16] [media] adv7180: Use inline function instead of macro

2015-01-13 Thread Lars-Peter Clausen
Use a inline function instead of a macro for the container_of helper for getting the driver's state struct from a control. A inline function has the advantage that it is more typesafe and nicer in general. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/media/i2c/adv7180.c | 13

[PATCH 09/16] [media] adv7180: Prepare for multi-chip support

2015-01-13 Thread Lars-Peter Clausen
The adv7180 is part of a larger family of device, which have all a very similar register map layout. This patch prepares the adv7180 driver for support for multiple different devices. For now the only difference we care about is the number of input channel configurations. Also the way the input

[PATCH 08/16] [media] adv7180: Consolidate video mode setting

2015-01-13 Thread Lars-Peter Clausen
We have basically the same code to set the video standard in init_device() and adv7180_s_std(). Factor this out into a common helper function. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/media/i2c/adv7180.c | 67 ++--- 1 file changed, 32

[PATCH 01/16] [media] adv7180: Do not request the IRQ again during resume

2015-01-13 Thread Lars-Peter Clausen
Currently the IRQ is requested from within the init_device() function. This function is not only called during device probe, but also during resume causing the driver to try to request the IRQ again. Move requesting the IRQ from init_device() to the probe function to make sure that it is only

[PATCH 12/16] [media] adv7180: Add support for the adv7280-m/adv7281-m/adv7281-ma/adv7282-m

2015-01-13 Thread Lars-Peter Clausen
This patch adds support for the adv7280-m/adv2781-m/adv7281-ma/adv7282-m devices to the adv7180 driver. They are very similar to the adv7280/adv7281/adv7282 but instead of parallel video out they feature a MIPI CSI2 transmitter. The CSI2 transmitter is configured via a separate I2C address, so we

[PATCH 13/16] [media] adv7180: Add I2P support

2015-01-13 Thread Lars-Peter Clausen
Some of the devices supported by this driver have a interlaced-to- progressive converter which can optionally be enabled. This patch adds support for enabling and disabling the I2P converter on such devices. I2P mode can be enabled by selecting V4L2_FIELD_NONE instead of V4L2_FIELD_INTERLACED for

[PATCH 15/16] [media] adv7180: Add free run mode controls

2015-01-13 Thread Lars-Peter Clausen
The adv7180 (and similar) has support for a so called free run mode in which it will output a predefined test signal. This patch adds support for configuring the various aspects of the so called free run mode. The patch adds three new v4l controls: * Free Running Mode: Allows to either

[PATCH 10/16] [media] adv7180: Add support for the ad7182

2015-01-13 Thread Lars-Peter Clausen
This patch adds support for the adv7182 to the adv7180 driver. The adv7182 is similar to the adv7180, the main difference from the driver's point of view is how the video input and how the input format are selected. Signed-off-by: Lars-Peter Clausen l...@metafoo.de ---

[PATCH 14/16] [media] adv7180: Add fast switch support

2015-01-13 Thread Lars-Peter Clausen
In fast switch mode the adv7180 (and similar) can lock onto a new signal faster when switching between different inputs. As a downside though it is no longer able to auto-detect the incoming format. The fast switch mode is exposed as a boolean v4l control that allows userspace applications to

[PATCH 11/16] [media] adv7180: Add support for the adv7280/adv7281/adv7282

2015-01-13 Thread Lars-Peter Clausen
This patch adds support for the adv7280/adv7281/adv7282 devices to the adv7180 driver. They are very similar to the adv7182, the main difference from the drivers point of view are some different tuning constants for improved video performance. Signed-off-by: Lars-Peter Clausen l...@metafoo.de ---

[PATCH 06/16] [media] adv7180: Reset the device before initialization

2015-01-13 Thread Lars-Peter Clausen
Reset the device when initializing it so it is in a good known state and the assumed register settings matches the actual register settings. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/media/i2c/adv7180.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-)

[PATCH 05/16] [media] adv7180: Do implicit register paging

2015-01-13 Thread Lars-Peter Clausen
The ad7180 has multiple register pages which can be switched between by writing to a register. Currently the driver manually switches between pages whenever a register outside of the default register map is accessed and switches back after it has been accessed. This is a bit tedious and also

[PATCH 07/16] [media] adv7180: Add media controller support

2015-01-13 Thread Lars-Peter Clausen
Add media controller support to the adv7180 driver by registering a media entity instance for it as well as implementing pad ops for configuring the format. As there currently don't seem to be any users of the video ops format operations those are removed as well in this patch. Also set the

[PATCH 02/16] [media] adv7180: Pass correct flags to request_threaded_irq()

2015-01-13 Thread Lars-Peter Clausen
Most IRQ controllers support different types of interrupts. The adv7180 generates falling edge interrupts, so make sure to pass IRQF_TRIGGER_FALLING to request_threaded_irq() so the IRQ controller is configured for the correct mode. Signed-off-by: Lars-Peter Clausen l...@metafoo.de ---

Re: [PATCH 14/16] [media] adv7180: Add fast switch support

2015-01-13 Thread Hans Verkuil
Hi Lars-Peter, A few small comments: On 01/13/15 13:01, Lars-Peter Clausen wrote: In fast switch mode the adv7180 (and similar) can lock onto a new signal faster when switching between different inputs. As a downside though it is no longer able to auto-detect the incoming format. The fast

Re: [PATCH 00/16] [media] adv7180: Add support for different chip

2015-01-13 Thread Hans Verkuil
Hi Lars, On 01/13/15 13:01, Lars-Peter Clausen wrote: The adv7180 is part of a larger family of chips which all implement different features from a feature superset. This patch series step by step extends the current adv7180 with features from the superset that are currently not supported and

Re: FOSDEM15: Graphics DevRoom: call for speakers.

2015-01-13 Thread Luc Verhaegen
On Tue, Jan 13, 2015 at 01:14:17PM +0100, Thierry Reding wrote: On Tue, Dec 09, 2014 at 03:39:26PM +0100, Luc Verhaegen wrote: On Thu, Oct 02, 2014 at 07:44:57PM +0200, Luc Verhaegen wrote: Hi, At FOSDEM on the 31st of january and the 1st of February 2015, there will be another

Re: [PATCH 16/16] [media] Add MAINTAINERS entry for the adv7180

2015-01-13 Thread Lars-Peter Clausen
On 01/13/2015 01:55 PM, Mats Randgaard (matrandg) wrote: On 01/13/2015 01:01 PM, Lars-Peter Clausen wrote: Add myself as the maintainer for the adv7180 video subdev driver. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+)

Re: FOSDEM15: Graphics DevRoom: call for speakers.

2015-01-13 Thread Thierry Reding
On Tue, Dec 09, 2014 at 03:39:26PM +0100, Luc Verhaegen wrote: On Thu, Oct 02, 2014 at 07:44:57PM +0200, Luc Verhaegen wrote: Hi, At FOSDEM on the 31st of january and the 1st of February 2015, there will be another graphics DevRoom. URL: https://fosdem.org/2015/ Slots will be handed

Re: [PATCH 00/16] [media] adv7180: Add support for different chip

2015-01-13 Thread Lars-Peter Clausen
On 01/13/2015 02:04 PM, Hans Verkuil wrote: Hi Lars, On 01/13/15 13:01, Lars-Peter Clausen wrote: The adv7180 is part of a larger family of chips which all implement different features from a feature superset. This patch series step by step extends the current adv7180 with features from the

Re: [PATCH 16/16] [media] Add MAINTAINERS entry for the adv7180

2015-01-13 Thread Mats Randgaard (matrandg)
On 01/13/2015 01:01 PM, Lars-Peter Clausen wrote: Add myself as the maintainer for the adv7180 video subdev driver. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4318f34..22bb77e

Re: Driver/module in kernel fault. Anyone expert to help me? Siano ID 187f:0600

2015-01-13 Thread Francesco Other
Hi Roberto, thanks for your fast reply. I'm from Italy, a DVB-T region. With Windows the device works fine, it receives all the channels from multiplexes. I don't know if my device has the SMS2270 chip, I know the ID, 187f:0600, and the link on the Terratec site:

Re: [PATCH v2 0/8] ARM: at91: dts: sama5d3: add dt support for atmel isi and ov2640 sensor

2015-01-13 Thread Nicolas Ferre
Le 04/01/2015 10:02, Josh Wu a écrit : This patch series add ISI and ov2640 support on dts files. As the ov2640 driver dt is still in review. The patch is in: https://patchwork.linuxtv.org/patch/27554/ So I want to send this dt patch early for a review. v1 - v2: 1. add one more patch

Re: Driver/module in kernel fault. Anyone expert to help me? Siano ID 187f:0600

2015-01-13 Thread Roberto Alcântara
Hi Francesco, You are using Siano SMS2270, am I right? My guess you're using ISDB-T firmware to program your ic, but are you in ISDB-T region? I use same firmware name here and works fine (Brazil) and it seems loaded ok on your log. I never saw an DVB firmware available to sms2270. Your tuner

Re: [PATCH 1/2] mn88473: calculate the IF register values

2015-01-13 Thread Antti Palosaari
On 01/13/2015 01:23 AM, Benjamin Larsson wrote: Add xtal as a configuration parameter so it can be used in the IF register value calculation. If not set in the configuration then use a default value. Signed-off-by: Benjamin Larsson benja...@southpole.se Reviewed-by: Antti Palosaari

Re: [PATCH 2/2] mn88473: simplify bandwidth registers setting code

2015-01-13 Thread Antti Palosaari
On 01/13/2015 01:23 AM, Benjamin Larsson wrote: Signed-off-by: Benjamin Larsson benja...@southpole.se Reviewed-by: Antti Palosaari cr...@iki.fi Antti --- drivers/staging/media/mn88473/mn88473.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git

Re: Driver/module in kernel fault. Anyone expert to help me? Siano ID 187f:0600

2015-01-13 Thread Roberto Alcântara
Good to know about DVB on this chip. This is sms2270 id :-) I think you can get more information from module debug messages. Try options smsusb debug=3 on /etc/modprobe.d. Then reload it and try to tzap one of channels found by scan to look for some lock. You will have more debug

Re: [REGRESSION] media: cx23885 broken by commit 453afdd [media] cx23885: convert to vb2

2015-01-13 Thread Antti Palosaari
I reported a bit similar looking bug few weeks ago. It could be coming from same issue. cx23885 streaming lockdep error (VB2 related?) http://www.spinics.net/lists/linux-media/msg84733.html addition of that lockdep slash I saw many times random lockups and was forced to hard boot whole

Re: [PATCH 1/7] tuner-core: properly initialize media controller subdev

2015-01-13 Thread Antti Palosaari
On 01/11/2015 04:25 PM, Mauro Carvalho Chehab wrote: Em Sun, 11 Jan 2015 16:02:41 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: I'm not too familiar with tuners, do they all have a single output only and no input ? They have an input: the antenna connector. However, I

Re: [PATCH] mn88472: simplify bandwidth registers setting code

2015-01-13 Thread Antti Palosaari
On 01/03/2015 02:50 AM, Benjamin Larsson wrote: Signed-off-by: Benjamin Larsson benja...@southpole.se Reviewed-by: Antti Palosaari cr...@iki.fi regards Antti --- drivers/staging/media/mn88472/mn88472.c | 41 +++-- 1 file changed, 14 insertions(+), 27

Re: [PATCH] cx23885/vb2 regression: please test this patch

2015-01-13 Thread Jurgen Kramer
Hi Hans, On Tue, 2015-01-13 at 15:01 +0100, Hans Verkuil wrote: Hi Raimonds, Jurgen, Can you both test this patch? It should (I hope) solve the problems you both had with the cx23885 driver. This patch fixes a race condition in the vb2_thread that occurs when the thread is stopped. The

Re: Driver/module in kernel fault. Anyone expert to help me? Siano ID 187f:0600

2015-01-13 Thread Francesco Other
Sorry for the previous message, maybe it isn't readable! I created a file named frequency with this content: # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy T 69800 8MHz AUTO AUTO AUTO AUTO AUTO AUTO # Mediaset 4 but

Re: Driver/module in kernel fault. Anyone expert to help me? Siano ID 187f:0600

2015-01-13 Thread Francesco Other
I used another working-device for creating the channels.conf file with this command: scan frequency ~/.tzap/channels.conf For example this is a line from that file:

[PATCH] bttv: Convert to generic TEA575x interface

2015-01-13 Thread Ondrej Zary
Remove tea575x-specific code from bttv and use the common driver instead. Only set_frequency is implemented (signal/stereo detection or seek would require more changes to bttv). It works fine on Video Highway Xtreme (it actually makes the radio usable as it currently cannot be tuned properly).

compile only specific module, dkms

2015-01-13 Thread Dexter Filmore
Hi all, I have a Technotrend TT S2-3600 on my debian 7 media center. Debians stock 3.2 kernel would cause panics when talking to the device unless I compile the LinuxTV module. Alas, debian has a *lot* of kernel upgrades and I'd like to have only my specific module compiled at boot time if it