Re: [PATCH v12][ 06/12] ARM: dts: imx5*, imx6*: correct display-timings nodes.

2014-04-09 Thread Lothar Waßmann
Hi, Shawn Guo wrote: On Mon, Apr 07, 2014 at 02:44:45PM +0200, Denis Carikli wrote: The imx-drm driver can't use the de-active and pixelclk-active display-timings properties yet. Instead the data-enable and the pixel data clock polarity are hardcoded in the imx-drm driver. So

Re: [PATCH 7/8] [media] s5p_jpeg: Prevent JPEG 4:2:0 YUV 4:2:0 decompression

2014-04-09 Thread Jacek Anaszewski
On 04/08/2014 09:49 AM, Sachin Kamat wrote: Hi Jacek, On 7 April 2014 18:46, Jacek Anaszewski j.anaszew...@samsung.com wrote: Prevent decompression of a JPEG 4:2:0 with odd width to the YUV 4:2:0 compliant formats for Exynos4x12 SoCs and adjust capture format to RGB565 in such a case. This is

Re: [PATCH 7/8] [media] s5p_jpeg: Prevent JPEG 4:2:0 YUV 4:2:0 decompression

2014-04-09 Thread Sachin Kamat
Hi Jacek, On 9 April 2014 13:01, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 04/08/2014 09:49 AM, Sachin Kamat wrote: Hello Sachin, Thanks for the review. I put it into info message because this is rather hard for the user to figure out why the adjustment occurred, bearing in mind

Re: [PATCH 7/8] [media] s5p_jpeg: Prevent JPEG 4:2:0 YUV 4:2:0 decompression

2014-04-09 Thread Jacek Anaszewski
On 04/09/2014 09:56 AM, Sachin Kamat wrote: Hi Jacek, On 9 April 2014 13:01, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 04/08/2014 09:49 AM, Sachin Kamat wrote: Hello Sachin, Thanks for the review. I put it into info message because this is rather hard for the user to figure out

Kworld PlusTV All in One PI610 - need help

2014-04-09 Thread Julian Day
Hi, I have this board which I think is about 2007 vintange. It has a PLX PCI6140 PCI-PCI bridge, with both a TI TSB43AB22 IEEE1394 FireWire controller and an NXP SAA7131E on the far side. The tuner is a TDA8275A and the DVB-T decoder is the TDA10046A. It reports a subsystem ID of 17de:7256. The

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-09 Thread Andrzej Hajda
Hi Tomasz, On 04/08/2014 04:37 PM, Tomasz Stanislawski wrote: Add exynos-simple-phy driver to support a single register PHY interfaces present on Exynos4 SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt| 24 +++

Progressive and continuous record of a DVB stream

2014-04-09 Thread shacky
Hi. I need to make a continuous (H24) recording of some DVB-S and DVB-T streams and I wish to let me to play it during its recording, without waiting for the file closing. The purpose is having something like a DVR which lets me to play a DVB stream selecting a date/time, so I will also need to

Re: gspca second isoc endpoint / kinect depth

2014-04-09 Thread Hans de Goede
Hi, On 04/08/2014 08:13 PM, Alexander Sosna wrote: Hi, I took drivers/media/usb/gspca/kinect.c as skeleton to build a depth driver for the kinect camera. I needed to implement this feature because libfreenect performs so badly on the raspberry pi that you can't get a single frame. The

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-09 Thread Rahul Sharma
Hi Tomasz, On 9 April 2014 14:07, Andrzej Hajda a.ha...@samsung.com wrote: Hi Tomasz, On 04/08/2014 04:37 PM, Tomasz Stanislawski wrote: Add exynos-simple-phy driver to support a single register PHY interfaces present on Exynos4 SoC. Signed-off-by: Tomasz Stanislawski

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-09 Thread Sylwester Nawrocki
Hi, On 09/04/14 11:12, Rahul Sharma wrote: Idea looks good. How about keeping compatible which is independent of SoC, something like samsung,exynos-simple-phy and provide Reg and Bit through phy provider node. This way we can avoid SoC specific hardcoding in phy driver and don't need to look

Re: [PATCHv2 2/3] drm: exynos: hdmi: use hdmiphy as PHY

2014-04-09 Thread Andrzej Hajda
Hi Tomasz, On 04/08/2014 04:37 PM, Tomasz Stanislawski wrote: The HDMIPHY (physical interface) is controlled by a single bit in a power controller's regiter. It was implemented as clock. It was a simple but effective hack. This power controller register has also bits to control HDMI clock

Re: [PATCHv2 2/3] drm: exynos: hdmi: use hdmiphy as PHY

2014-04-09 Thread Rahul Sharma
Hi Andrzej, On 9 April 2014 16:00, Andrzej Hajda a.ha...@samsung.com wrote: Hi Tomasz, On 04/08/2014 04:37 PM, Tomasz Stanislawski wrote: The HDMIPHY (physical interface) is controlled by a single bit in a power controller's regiter. It was implemented as clock. It was a simple but

Re: [PATCHv2 2/3] drm: exynos: hdmi: use hdmiphy as PHY

2014-04-09 Thread Tomasz Stanislawski
Hi Andrzej, This issue could be solved by exporting a regmap from PMU driver or Exynos clock provider for the usage by exynos-simple-phy. The operations on PHYs from exynos-simple-phy provider would be chained to PMU driver and protected by a spinlock in the regmap. Luckily, the divider is not

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-09 Thread Tomasz Stanislawski
Hi Rahul, On 04/09/2014 11:12 AM, Rahul Sharma wrote: Hi Tomasz, On 9 April 2014 14:07, Andrzej Hajda a.ha...@samsung.com wrote: Hi Tomasz, On 04/08/2014 04:37 PM, Tomasz Stanislawski wrote: Add exynos-simple-phy driver to support a single register PHY interfaces present on Exynos4 SoC.

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-09 Thread Andreas Oberritter
Hello Andrzej, On 09.04.2014 10:37, Andrzej Hajda wrote: +static int exynos_phy_probe(struct platform_device *pdev) +{ +const struct of_device_id *of_id = of_match_device( +of_match_ptr(exynos_phy_of_match), pdev-dev); +const u32 *offsets = of_id-data; +int count; +

[PATCH] [media] V4L: s5c73m3: Fix build after v4l2_of_get_next_endpoint rename

2014-04-09 Thread Krzysztof Kozlowski
Fix build error after v4l2_of_get_next_endpoint rename (fd9fdb78a9bf: [media] of: move graph helpers from drivers/media/v4l2-core...): drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function ‘s5c73m3_get_platform_data’: drivers/media/i2c/s5c73m3/s5c73m3-core.c:1619:2: error: implicit declaration

Re: [PATCH v12][ 09/12] drm/panel: Add Eukrea mbimxsd51 displays.

2014-04-09 Thread Thierry Reding
On Mon, Apr 07, 2014 at 02:44:48PM +0200, Denis Carikli wrote: [...] +static const struct panel_desc eukrea_mbimxsd51_dvisvga = { + .modes = eukrea_mbimxsd51_dvisvga_mode, + .num_modes = 1, + .size = { + .width = 0, + .height = 0, + }, +}; [...]

Re: Kworld PlusTV All in One PI610 - need help

2014-04-09 Thread Steven Toth
I don't know the 7131 but the following advice is generic for any USB, PCI or PCIE device: Essentially, when correctly configured, the tuner will output an Intermediate Frequency (IF). This is the frequency you've selected to tune, for example 474MHz, isolated into a 8MHz band and shifted down to

[PATCH 0/8] Current imx-drm queue

2014-04-09 Thread Russell King - ARM Linux
Hi, The following patches are those which I currently have queued up for Greg for merging into his stable tree when he's next accepting patches. If you have any concerns about these patches, please let me know in a timely fashion. I've re-ordered and cherry-picked some of Denis' patches, as I

[PATCH 7/8] v4l2: add new V4L2_PIX_FMT_RGB666 pixel format.

2014-04-09 Thread Russell King
From: Denis Carikli de...@eukrea.com To: linux-arm-ker...@lists.infradead.org That new macro is needed by the imx_drm staging driver for supporting the QVGA display of the eukrea-cpuimx51 board. Signed-off-by: Denis Carikli de...@eukrea.com Acked-by: Mauro Carvalho Chehab m.che...@samsung.com

Linuxtv.org www is down

2014-04-09 Thread Antti Palosaari
Moikka! http://linuxtv.org/ seems to be down currently. Server still answers to ping... regards Antti -- http://palosaari.fi/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Linuxtv.org www is down

2014-04-09 Thread Antti Palosaari
On 09.04.2014 16:00, Antti Palosaari wrote: Moikka! http://linuxtv.org/ seems to be down currently. Server still answers to ping... wow, it is now alive again... Antti -- http://palosaari.fi/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

[PATCH] staging: media: omap24xx: fix up some checkpatch.pl issues

2014-04-09 Thread Vitaly Osipov
tcm825x.c: ERROR: Macros with complex values should be enclosed in parenthesis WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... tcm825x.h: ERROR: Macros with complex values should be enclosed in parenthesis

[PATCH 2/2] [RFC] reservation: add suppport for read-only access using rcu

2014-04-09 Thread Maarten Lankhorst
This adds 3 more functions to deal with rcu. reservation_object_wait_timeout_rcu() will wait on all fences of the reservation_object, without obtaining the ww_mutex. reservation_object_test_signaled_rcu() will test if all fences of the reservation_object are signaled without using the ww_mutex.

[PATCH 0/2] Updates to fence api

2014-04-09 Thread Maarten Lankhorst
The following series implements small updates to the fence api. I've found them useful when implementing the fence API in ttm and i915. The last patch enables RCU on top of the api. I've found this less useful, but it was the condition on which Thomas Hellstrom was ok with converting TTM to

[RFC PATCH 1/2] drivers/base: add new devres_update() interface to devres_*

2014-04-09 Thread Shuah Khan
Media devices often have hardware resources that are shared across several functions. For instance, TV tuner cards often have MUXes, converters, radios, tuners, etc. that are shared across various functions. However, v4l2, alsa, DVB, usbfs, and all other drivers have no knowledge of what resources

[RFC PATCH 2/2] drivers/base: add managed token devres interfaces

2014-04-09 Thread Shuah Khan
Media devices often have hardware resources that are shared across several functions. For instance, TV tuner cards often have MUXes, converters, radios, tuners, etc. that are shared across various functions. However, v4l2, alsa, DVB, usbfs, and all other drivers have no knowledge of what resources

[RFC PATCH 0/2] managed token devres interfaces

2014-04-09 Thread Shuah Khan
Media devices often have hardware resources that are shared across several functions. For instance, TV tuner cards often have MUXes, converters, radios, tuners, etc. that are shared across various functions. However, v4l2, alsa, DVB, usbfs, and all other drivers have no knowledge of what resources

[PATCH 1/2] reservation: update api and add some helpers

2014-04-09 Thread Maarten Lankhorst
Move the list of shared fences to a struct, and return it in reservation_object_get_list(). Add reservation_object_reserve_shared(), which reserves space in the reservation_object for 1 more shared fence. reservation_object_add_shared_fence() and reservation_object_add_excl_fence() are used to

[PATCH] rtl28xxu: do not hard depend on staging SDR module

2014-04-09 Thread Antti Palosaari
RTL2832 SDR extension module is currently on staging. SDR module headers were included from staging causing direct dependency staging directory. As a solution, add needed headers to main driver. Motivation of that change comes from Luis / driver backports project. Another issues was a little too

Re: [PATCH] staging: media: omap24xx: fix up some checkpatch.pl issues

2014-04-09 Thread Greg Kroah-Hartman
On Wed, Apr 09, 2014 at 11:25:18PM +1000, Vitaly Osipov wrote: Fixes the following issues: tcm825x.c: ERROR: Macros with complex values should be enclosed in parenthesis WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to

Re: linux-next: Tree for Apr 9 (media/i2c/s5c73m3)

2014-04-09 Thread Sylwester Nawrocki
Hi, On 09/04/14 18:01, Randy Dunlap wrote: On 04/09/2014 12:22 AM, Stephen Rothwell wrote: Hi all, Please do not add material intended for v3.16 to your linux-next included branches until after v3.15-rc1 is released. This tree still fails (more than usual) the powerpc allyesconfig

Re: [REVIEW PATCH 10/11] vb2: set v4l2_buffer.bytesused to 0 for mp buffers

2014-04-09 Thread Sakari Ailus
Hi Hans, Thanks for the set. On Mon, Mar 10, 2014 at 10:20:57PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The bytesused field of struct v4l2_buffer is not used for multiplanar formats, so just zero it to prevent it from having some random value. Signed-off-by:

Re: vb2: various small fixes/improvements

2014-04-09 Thread Sakari Ailus
On Mon, Mar 10, 2014 at 10:20:47PM +0100, Hans Verkuil wrote: This patch series contains a list of various vb2 fixes and improvements. These patches were originally part of this RFC patch series: http://www.spinics.net/lists/linux-media/msg73391.html They are now rebased and reordered a

Re: [PATCH] rtl28xxu: do not hard depend on staging SDR module

2014-04-09 Thread Luis R. Rodriguez
On Wed, Apr 9, 2014 at 9:14 AM, Antti Palosaari cr...@iki.fi wrote: +extern struct dvb_frontend *rtl2832_sdr_attach(struct dvb_frontend *fe, + struct i2c_adapter *i2c, const struct rtl2832_config *cfg, + struct v4l2_subdev *sd); Thanks for the patch! Joe has been going on a

Re: [RFC PATCH 0/2] managed token devres interfaces

2014-04-09 Thread Greg KH
On Wed, Apr 09, 2014 at 09:21:06AM -0600, Shuah Khan wrote: Media devices often have hardware resources that are shared across several functions. For instance, TV tuner cards often have MUXes, converters, radios, tuners, etc. that are shared across various functions. However, v4l2, alsa, DVB,

[PATCH 04/17] smiapp: Make PLL (quirk) flags a function

2014-04-09 Thread Sakari Ailus
This is more flexible. Quirk flags may be affected by configuration. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 4 ++-- drivers/media/i2c/smiapp/smiapp-quirk.c | 7 ++- drivers/media/i2c/smiapp/smiapp-quirk.h | 2 +- 3 files

[PATCH 12/17] smiapp-pll: Add quirk for op clk divisor == bits per pixel / 2

2014-04-09 Thread Sakari Ailus
For some sensors in some configurations the effective value of op clk div is bits per pixel divided by two. The output clock is correctly calculated whereas some of the rest of the clock tree uses higher clocks than calculated. This also limits the bpp to even values if the number of lanes is

[PATCH 0/17] smiapp and smiapp-pll quirk improvements, fixes

2014-04-09 Thread Sakari Ailus
Hi folks, This patchset contains PLL quirk improvements to take quirks in some implementations into account, as well as make the quirk mechanisms more flexible. The driver core is mostly unaffected by these changes. The PLL tree calculation itself is concerned less with the factual frequencies

[PATCH 03/17] smiapp: Make PLL flags unsigned long

2014-04-09 Thread Sakari Ailus
No reason to keep this u8, really. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp-pll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/smiapp-pll.h b/drivers/media/i2c/smiapp-pll.h index a4a6498..5ce2b61 100644 ---

[PATCH 16/17] smiapp: Ignore write accesses to quirk registers

2014-04-09 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-regs.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media/i2c/smiapp/smiapp-regs.c b/drivers/media/i2c/smiapp/smiapp-regs.c index 4fac32c..e88a59a 100644 ---

[PATCH 17/17] smiapp: Add register diversion quirk

2014-04-09 Thread Sakari Ailus
Add a quirk for diverting registers for on some sensors, even the standard registers are not where they can be expected to be found. Add a quirk to to help using such sensors. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-quirk.c | 8

[PATCH 15/17] smiapp-pll: Add quirk flag for sensors that effectively use double pix clks

2014-04-09 Thread Sakari Ailus
Some sensors have effectively the double pixel (and other clocks) compared to calculations. The frequency of the bus is also affected similarly so take this into account when calculating pll_op_clock frequency. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com ---

[PATCH 07/17] smiapp-pll: The clock tree values are unsigned --- fix debug prints

2014-04-09 Thread Sakari Ailus
These values are unsigned, so use %u instead of %d. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp-pll.c | 94 +- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/drivers/media/i2c/smiapp-pll.c

[PATCH 06/17] smiapp-pll: Correct clock debug prints

2014-04-09 Thread Sakari Ailus
The PLL flags were not used correctly. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp-pll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c index 2335529..ab5d9a3 100644

[PATCH 14/17] smiapp: Use actual pixel rate calculated by the PLL calculator

2014-04-09 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index 6d940f0..284df17 100644 ---

[PATCH 11/17] smiapp: Remove validation of op_pix_clk_div

2014-04-09 Thread Sakari Ailus
op_pix_clk_div is directly assigned and not calculated. There's no need to verify it. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp-pll.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/media/i2c/smiapp-pll.c

[PATCH 02/17] smiapp: Make PLL flags separate from regular quirk flags

2014-04-09 Thread Sakari Ailus
It doesn't make sense to just copy the information to the PLL flags. Add a new fields for the quirks to contain the PLL flags. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 5 ++--- drivers/media/i2c/smiapp/smiapp-quirk.c | 2 +-

[PATCH 05/17] smiapp: Use %u for printing u32 value

2014-04-09 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index 02041cc..3af8df8 100644 ---

[PATCH 08/17] smiapp: Limits can be 64 bits

2014-04-09 Thread Sakari Ailus
Limits may exceed the value range of 32 bit unsigned integers. Thus use 64 bits instead. Use typed min/max/clamp macros. Debug printing changes as well. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 30 --

[PATCH 13/17] smiapp-pll: Add pixel rate in pixel array as output parameters

2014-04-09 Thread Sakari Ailus
The actual pixel array pixel rate may be something else than vt_pix_clk_freq on some implementations. Add a new field which contains the corrected value. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp-pll.c | 1 + drivers/media/i2c/smiapp-pll.h | 1 + 2

[PATCH 10/17] smiapp-pll: Add support for odd pre-pll divisors

2014-04-09 Thread Sakari Ailus
Some sensors support odd pre-pll divisor. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp-pll.c | 39 ++- drivers/media/i2c/smiapp-pll.h | 2 ++ 2 files changed, 28 insertions(+), 13 deletions(-) diff --git

[PATCH 01/17] smiapp: Use I2C adapter ID and address in the sub-device name

2014-04-09 Thread Sakari Ailus
The sub-device names should be unique. Should two identical sensors be present in the same media device they would be indistinguishable. The names will change e.g. from vs6555 pixel array to vs6555 1-0010 pixel array. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com ---

[PATCH 09/17] smiapp-pll: Use 64-bit types limits

2014-04-09 Thread Sakari Ailus
Limits may exceed the value range of 32-bit unsigned integers. Thus use 64 bits for all of them. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp-pll.c | 69 +++--- drivers/media/i2c/smiapp-pll.h | 20 ++-- 2 files

[PATCHv2 2/2] rtl28xxu: silence error log about disabled rtl2832_sdr module

2014-04-09 Thread Antti Palosaari
It printed a little bit too heavy looking error log DVB: Unable to find symbol rtl2832_sdr_attach() when staging module was disabled. Silence that error by introducing own version of dvb_attach() macro without the error logging. Signed-off-by: Antti Palosaari cr...@iki.fi ---

[PATCHv2 1/2] rtl28xxu: do not hard depend on staging SDR module

2014-04-09 Thread Antti Palosaari
RTL2832 SDR extension module is currently on staging. SDR module headers were included from staging causing direct dependency staging directory. As a solution, add needed headers to main driver. Motivation of that change comes from Luis / driver backports project. Reported-by: Luis R. Rodriguez

[PATCHv2 0/2] rtl2832_sdr module attach related fixes

2014-04-09 Thread Antti Palosaari
V2: I split patch to two. Pull request for kernel 3.15 will follow right after that mail. regards, Antti Antti Palosaari (2): rtl28xxu: do not hard depend on staging SDR module rtl28xxu: silence error log about disabled rtl2832_sdr module drivers/media/usb/dvb-usb-v2/Makefile | 1 -

Re: [PATCHv2 1/2] rtl28xxu: do not hard depend on staging SDR module

2014-04-09 Thread Luis R. Rodriguez
On Wed, Apr 9, 2014 at 2:32 PM, Antti Palosaari cr...@iki.fi wrote: +extern struct dvb_frontend *rtl2832_sdr_attach(struct dvb_frontend *fe, + struct i2c_adapter *i2c, const struct rtl2832_config *cfg, + struct v4l2_subdev *sd); extern Luis -- To unsubscribe from this list: send

[PATCHv3 0/2] rtl2832_sdr module attach related fixes

2014-04-09 Thread Antti Palosaari
v2: I split patch to two. v3: remove unneeded extern keyword from rtl2832_sdr_attach() declaration Pull request for kernel 3.15 will follow right after that mail. Or tomorrow. Or... regards, Antti Antti Palosaari (2): rtl28xxu: do not hard depend on staging SDR module rtl28xxu: silence

[PATCHv3 2/2] rtl28xxu: silence error log about disabled rtl2832_sdr module

2014-04-09 Thread Antti Palosaari
It printed a little bit too heavy looking error log DVB: Unable to find symbol rtl2832_sdr_attach() when staging module was disabled. Silence that error by introducing own version of dvb_attach() macro without the error logging. Signed-off-by: Antti Palosaari cr...@iki.fi ---

[PATCHv3 1/2] rtl28xxu: do not hard depend on staging SDR module

2014-04-09 Thread Antti Palosaari
RTL2832 SDR extension module is currently on staging. SDR module headers were included from staging causing direct dependency staging directory. As a solution, add needed headers to main driver. Motivation of that change comes from Luis / driver backports project. Reported-by: Luis R. Rodriguez

[PATCH 2/7] libdvbv5: fix asprintf compile warning in dvbv5-scan

2014-04-09 Thread André Roth
Signed-off-by: André Roth neol...@gmail.com --- utils/dvb/dvbv5-scan.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/dvb/dvbv5-scan.c b/utils/dvb/dvbv5-scan.c index 501b332..7eb3bf5 100644 --- a/utils/dvb/dvbv5-scan.c +++ b/utils/dvb/dvbv5-scan.c @@ -407,6

[PATCH 1/7] libdvbv5: reunite atsc_table_header and dvb_table_header

2014-04-09 Thread André Roth
this solves the ambiguity when parsing the dvb/atsc header in dvb-scan.c Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/atsc_eit.h|2 +- lib/include/libdvbv5/atsc_header.h | 39 ++ lib/include/libdvbv5/header.h |5 ++--

[PATCH 7/7] libdvbv5: rename descriptor functions

2014-04-09 Thread André Roth
prefix the descriptor functions with dvb_desc for a nice API and code completion support Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/descriptors.h |6 +++--- lib/libdvbv5/descriptors.c |6 +++--- lib/libdvbv5/descriptors/atsc_eit.c |6 +++---

[PATCH 6/7] libdvbv5: cleanup printing of tables and descriptors

2014-04-09 Thread André Roth
- use log info for table and descpritor printing - cleanup 'out of memory' logs - fix error condition in desc_ts_info Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/atsc_header.h |2 +- lib/libdvbv5/descriptors.c |4 +-

[PATCH 4/7] libdvbv5: make dvb_table_filter_free public

2014-04-09 Thread André Roth
make dvb_table_filter_free public so it can be used by applications. fix potential double free. Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/dvb-scan.h |2 ++ lib/libdvbv5/dvb-scan.c | 10 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff

[PATCH 3/7] libdvbv5: make crc32 public

2014-04-09 Thread André Roth
applications reading dvb files might want to check crc, therefore provide the crc32 function in the header files. Signed-off-by: André Roth neol...@gmail.com --- lib/{ = include}/libdvbv5/crc32.h |0 lib/libdvbv5/Makefile.am |1 + lib/libdvbv5/crc32.c |2 +-

[PATCH 5/7] libdvbv5: cleanup table parsers

2014-04-09 Thread André Roth
- make the code look similar - check for correct table ID - ignore null packets with ID 0x1fff - return table length, or: - return error code on error - update / fix Copyrights Signed-off-by: André Roth neol...@gmail.com --- lib/include/libdvbv5/atsc_eit.h |1 -

Re: [RFC PATCH 0/2] managed token devres interfaces

2014-04-09 Thread Shuah Khan
On 04/09/2014 01:17 PM, Greg KH wrote: On Wed, Apr 09, 2014 at 09:21:06AM -0600, Shuah Khan wrote: Test Cases for token devres interfaces: (passed) - Create, lock, unlock, and destroy sequence. - Try lock while it is locked. Returns -EBUSY as expected. - Try lock after destroy. Returns

[PATCH 2/2] dma-buf: update exp_name when using dma_buf_export()

2014-04-09 Thread Javier Martinez Canillas
commit c0b00a5 (dma-buf: update debugfs output) modified the default exporter name to be the KBUILD_MODNAME pre-processor macro instead of __FILE__ but the documentation was not updated. Also the Supporting existing mmap interfaces in exporters section title seems wrong since talks about the

[PATCH 1/2] dma-buf: fix trivial typo error

2014-04-09 Thread Javier Martinez Canillas
Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- drivers/base/dma-buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c index ea77701..840c7fa 100644 --- a/drivers/base/dma-buf.c +++

[PATCH] staging: rtl2832_sdr: fixup checkpatch/style issues

2014-04-09 Thread Anthony DeStefano
rtl2832_sdr.c: fixup checkpatch issues about long lines Signed-off-by: Anthony DeStefano a...@fastmail.fm --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git

Re: [REVIEWv2 PATCH 04/13] vb2: use correct prefix

2014-04-09 Thread Pawel Osciak
On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Many dprintk's in vb2 use a hardcoded prefix with the function name. In many cases that is now outdated. To keep things consistent the dprintk macro has been changed to print the

Re: [REVIEWv2 PATCH 02/13] vb2: fix handling of data_offset and v4l2_plane.reserved[]

2014-04-09 Thread Pawel Osciak
Looks good to me, just a small nit below. On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com The videobuf2-core did not zero the 'planes' array in __qbuf_userptr() and __qbuf_dmabuf(). That's now memset to 0. Without this the

Re: [REVIEWv2 PATCH 06/13] vb2: set timestamp when using write()

2014-04-09 Thread Pawel Osciak
I see. Ack, but please add a comment about this in the code. On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com When using write() to write data to an output video node the vb2 core should set timestamps if

Re: [REVIEWv2 PATCH 07/13] vb2: reject output buffers with V4L2_FIELD_ALTERNATE

2014-04-09 Thread Pawel Osciak
On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com This is not allowed by the spec and does in fact not make any sense. Return -EINVAL if this is the case. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Pawel

Re: [REVIEWv2 PATCH 04/13] vb2: use correct prefix

2014-04-09 Thread Pawel Osciak
On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Many dprintk's in vb2 use a hardcoded prefix with the function name. In many cases that is now outdated. To keep things consistent the dprintk macro has been changed to print the

Re: [REVIEWv2 PATCH 09/13] vb2: add vb2_fileio_is_active and check it more often

2014-04-09 Thread Pawel Osciak
On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Added a vb2_fileio_is_active inline function that returns true if fileio is in progress. Check for this too in mmap() (you don't want apps mmap()ing buffers used by fileio) and

Re: [REVIEWv2 PATCH 10/13] vb2: set v4l2_buffer.bytesused to 0 for mp buffers

2014-04-09 Thread Pawel Osciak
On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com The bytesused field of struct v4l2_buffer is not used for multiplanar formats, so just zero it to prevent it from having some random value. Signed-off-by: Hans Verkuil

Re: [REVIEWv2 PATCH 10/13] vb2: set v4l2_buffer.bytesused to 0 for mp buffers

2014-04-09 Thread Pawel Osciak
Ah, alas, Sakari is right. This should not be needed, since we memcpy vb-v4l2_buf to this, also overwriting bytesused. On Thu, Apr 10, 2014 at 10:08 AM, Pawel Osciak pa...@osciak.com wrote: On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil

Re: [REVIEWv2 PATCH 12/13] vb2: start messages with a lower-case for consistency.

2014-04-09 Thread Pawel Osciak
On Mon, Apr 7, 2014 at 10:11 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com The kernel debug messages produced by vb2 started either with a lower or an upper case character. Switched all to use lower-case which seemed to be what was used in the majority

Re: [PATCH] staging: rtl2832_sdr: fixup checkpatch/style issues

2014-04-09 Thread Greg Kroah-Hartman
On Wed, Apr 09, 2014 at 08:07:28PM -0400, Anthony DeStefano wrote: rtl2832_sdr.c: fixup checkpatch issues about long lines Signed-off-by: Anthony DeStefano a...@fastmail.fm --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 23 --- 1 file changed, 16 insertions(+),

[PATCHv2] staging: rtl2832_sdr: fixup checkpatch/style issues

2014-04-09 Thread Anthony DeStefano
rtl2832_sdr.c: fixup checkpatch issues about long lines Aligned stuff under the ( for this version. Signed-off-by: Anthony DeStefano a...@fastmail.fm --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 26 +--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git

cron job: media_tree daily build: OK

2014-04-09 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: Thu Apr 10 04:00:19 CEST 2014 git branch: test git hash: a83b93a7480441a47856dc9104bea970e84cda87 gcc