Re: [PATCH] pxa_camera: merge soc_mediabus.c into pxa_camera.c

2016-09-20 Thread Hans Verkuil
On 09/21/2016 08:37 AM, Robert Jarzmik wrote: > Hans Verkuil writes: > >> Linking soc_mediabus into this driver causes multiple definition linker >> warnings >> if soc_camera is also enabled: >> >> >> drivers/media/platform/soc_camera/built-in.o:(___ksymtab+soc_mbus_image_size+0x0): >> mult

Re: [PATCH] pxa_camera: merge soc_mediabus.c into pxa_camera.c

2016-09-20 Thread Robert Jarzmik
Hans Verkuil writes: > Linking soc_mediabus into this driver causes multiple definition linker > warnings > if soc_camera is also enabled: > > > drivers/media/platform/soc_camera/built-in.o:(___ksymtab+soc_mbus_image_size+0x0): > multiple definition of `__ksymtab_soc_mbus_image_size' >

Re: [PATCH -next] [media] pxa_camera: remove duplicated include from pxa_camera.c

2016-09-20 Thread Robert Jarzmik
Wei Yongjun writes: > From: Wei Yongjun > > Remove duplicated include. > > Signed-off-by: Wei Yongjun Acked-by: Robert Jarzmik Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH -next] [media] pxa_camera: fix error return code in pxa_camera_probe()

2016-09-20 Thread Robert Jarzmik
Wei Yongjun writes: > From: Wei Yongjun > > Fix to return error code -ENODEV from dma_request_slave_channel_compat() > error handling case instead of 0, as done elsewhere in this function. > > Also fix to release resources in v4l2_clk_register() error handling. > > Signed-off-by: Wei Yongjun Ac

Re: [PATCH] [media] platform: pxa_camera: add VIDEO_V4L2 dependency

2016-09-20 Thread Robert Jarzmik
Arnd Bergmann writes: > Moving the pxa_camera driver from soc_camera lots the implied > VIDEO_V4L2 Kconfig dependency, and building the driver without > V4L2 results in a kernel that cannot link: > > drivers/media/platform/pxa_camera.o: In function `pxa_camera_remove': > pxa_camera.c:(.text.pxa_c

cron job: media_tree daily build: WARNINGS

2016-09-20 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 Sep 21 04:00:14 CEST 2016 git branch: test git hash: 142a0e11b52c18a82c4fe55132b762005dda05c0 gcc versi

Re: [PATCH v2 0/3] doc-rst:c-domain: fix some issues in the c-domain

2016-09-20 Thread Mauro Carvalho Chehab
Em Tue, 20 Sep 2016 13:00:33 -0600 Jonathan Corbet escreveu: > On Tue, 20 Sep 2016 20:56:35 +0200 > Markus Heiser wrote: > > > > I submitted one patch fixing it. Not sure if it got merged by Jon > > > or not. > > > > Ups, I might have overseen this patch .. as Jon said, its hard to > > follo

Re: [PATCH v2 0/3] doc-rst:c-domain: fix some issues in the c-domain

2016-09-20 Thread Jonathan Corbet
On Tue, 20 Sep 2016 20:56:35 +0200 Markus Heiser wrote: > > I submitted one patch fixing it. Not sure if it got merged by Jon > > or not. > > Ups, I might have overseen this patch .. as Jon said, its hard to > follow you ;) > > I tested the above with Jon's docs-next, so it seems your patch i

Re: [PATCH v2 0/3] doc-rst:c-domain: fix some issues in the c-domain

2016-09-20 Thread Markus Heiser
Am 19.09.2016 um 17:00 schrieb Mauro Carvalho Chehab : >> Hmm, as far as I see, the output is not correct ... The output of >> functions with a function pointer argument are missing the >> leading parenthesis in the function definition: >> >> .. c:function:: struct v4l2_m2m_ctx * v4l2_m2m_ctx_

tw5864 - call to hardware owners

2016-09-20 Thread Andrey Utkin
Hi all, I would love to hear from anybody who owns any sample of PCIE board with TW5864 chip. It is possible to buy from here http://www.provideo.com.tw/Products.htm?link=web/DVR%20Card_Hardward.htm I guess there are more companies selling boards with it. So there is a driver, "tw5864", submitte

g_webcam Isoch high bandwidth transfer

2016-09-20 Thread Bin Liu
Hi, I am trying to check Isoch high bandwidth transfer with g_webcam.ko in high-speed connection. First I hacked webcam.c as follows to enable 640x480@30fps mode. diff --git a/drivers/usb/gadget/legacy/webcam.c b/drivers/usb/gadget/legacy/webcam.c index 72c976b..9eb315f 100644 --- a/drivers/us

Segnalazione libro a Mesogea by GEM s.r.l.

2016-09-20 Thread 訾乔应
【澳门金沙集团】诚信品牌,大额无忧:http://www.834516.com/?linux-media@vger.kernel.org 博彩界独家1元可游戏,入款即送1%红利无上限(支持财付通、支付宝、微信),还享天天返水1.2%,24小时任意取款,0手续费。 澳门金沙集团-全球最大博彩公司,以信誉为基础,诚信为招牌! -- 我们可以长的不漂亮,但绝对不能让自己的人生不漂亮。 -- To unsubscribe from this list: send the line

[PATCH v1 5/9] [media] st-delta: add contiguous memory allocator

2016-09-20 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet --- drivers/media/platform/sti/delta/Makefile| 2 +- drivers/media/platform/sti/delta/delta-mem.c | 51 drivers/media/platform/sti/delta/delta-mem.h | 14 drivers/media/platform/sti/delta/delta.h | 8 + 4 files chan

[PATCH v1 8/9] [media] st-delta: add mjpeg support

2016-09-20 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet --- drivers/media/platform/Kconfig | 6 + drivers/media/platform/sti/delta/Makefile | 4 + drivers/media/platform/sti/delta/delta-cfg.h | 4 + drivers/media/platform/sti/delta/delta-mjpeg-dec.c | 439 + dri

[PATCH v1 1/9] Documentation: DT: add bindings for ST DELTA

2016-09-20 Thread Hugues Fruchet
This patch adds DT binding documentation for STMicroelectronics DELTA V4L2 video decoder. Signed-off-by: Hugues Fruchet --- Documentation/devicetree/bindings/media/st,st-delta.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v1 9/9] [media] st-delta: debug: trace stream/frame information & summary

2016-09-20 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet --- drivers/media/platform/sti/delta/Makefile | 2 +- drivers/media/platform/sti/delta/delta-debug.c | 164 + drivers/media/platform/sti/delta/delta-debug.h | 18 +++ drivers/media/platform/sti/delta/delta-v4l2.c | 31 - 4 files

[PATCH v1 3/9] [media] MAINTAINERS: add st-delta driver

2016-09-20 Thread Hugues Fruchet
Add entry for the STMicroelectronics DELTA driver. Signed-off-by: Hugues Fruchet --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index db814a8..fae934b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2363,6 +2363,14 @@ W: https://linuxtv

[PATCH v1 4/9] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2016-09-20 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Signed-off-by: Hugues Fruchet --- drivers/media/platform/Kconfig| 20 + drivers/media/platform/Makefile |2 + drivers/media/platform/sti/delta/Makefile |

[PATCH v1 0/9] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2016-09-20 Thread Hugues Fruchet
This patchset introduces a basic support for DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. DELTA hardware IP is controlled by a remote firmware loaded in a ST231 coprocessor. Communication with firmware is done within an IPC layer using rpmsg kernel framework and a sha

[PATCH v1 2/9] ARM: dts: STiH410: add DELTA dt node

2016-09-20 Thread Hugues Fruchet
This patch adds DT node for STMicroelectronics DELTA V4L2 video decoder Signed-off-by: Hugues Fruchet --- arch/arm/boot/dts/stih410.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi index ff245e4..5f951cc 100644 -

[PATCH v1 6/9] [media] st-delta: rpmsg ipc support

2016-09-20 Thread Hugues Fruchet
IPC (Inter Process Communication) support for communication with DELTA coprocessor firmware using rpmsg kernel framework. Based on 4 services open/set_stream/decode/close and their associated rpmsg messages. The messages structures are duplicated on both host and firmware side and are packed (use o

[PATCH v1 7/9] [media] st-delta: EOS (End Of Stream) support

2016-09-20 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet --- drivers/media/platform/sti/delta/delta-v4l2.c | 143 +- drivers/media/platform/sti/delta/delta.h | 24 - 2 files changed, 165 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/sti/delta/delta-v4l2.c b/drivers/me

Re: [PATCH] dma-buf/sw_sync: mark sync_timeline_create() static

2016-09-20 Thread Sumit Semwal
Hi Baoyou, On 20 September 2016 at 16:43, Gustavo Padovan wrote: > 2016-09-18 Baoyou Xie : > >> We get 1 warning when building kernel with W=1: >> drivers/dma-buf/sw_sync.c:87:23: warning: no previous prototype for >> 'sync_timeline_create' [-Wmissing-prototypes] >> >> In fact, this function is

[PATCH v1.1 5/5] smiapp: Implement support for autosuspend

2016-09-20 Thread Sakari Ailus
Delay suspending the device by 1000 ms by default. Signed-off-by: Sakari Ailus --- since v1: - Increment usage count before register write using pm_runtime_get_noresume(), and decrement it before returning. This avoids a serialisation problem with autosuspend. drivers/media/i2c/smiapp/smi

Re: [PATCH] dma-buf/sw_sync: mark sync_timeline_create() static

2016-09-20 Thread Gustavo Padovan
2016-09-18 Baoyou Xie : > We get 1 warning when building kernel with W=1: > drivers/dma-buf/sw_sync.c:87:23: warning: no previous prototype for > 'sync_timeline_create' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it is > declared and don't need a declarati

[PATCH v2 1/2] [media] st-hva: encoding summary at instance release

2016-09-20 Thread Jean-Christophe Trotin
This patch prints unconditionnaly a short summary about the encoding operation at each instance closing, for debug purpose: - information about the frame (format, resolution) - information about the stream (format, profile, level, resolution) - number of encoded frames - potential (system, encoding

Re: [PATCH v1 2/2] st-hva: add debug file system

2016-09-20 Thread Jean Christophe TROTIN
On 09/15/2016 12:30 PM, Hans Verkuil wrote: > Same thing here: this should be enabled in a Kconfig option. That new Kconfig > option should depend on DEBUG_FS as well. > > BTW (independent of these two patches): I think it would be easier to maintain > if you make a Kconfig file in the sti direct

[PATCH v2 2/2] [media] st-hva: add debug file system

2016-09-20 Thread Jean-Christophe Trotin
This patch creates 4 static debugfs entries to dump: - the device-related information ("st-hva/device") - the list of registered encoders ("st-hva/encoders") - the current values of the hva registers ("st-hva/regs") - the information about the last closed instance ("st-hva/last") It also creates d

[PATCH v2 0/2] add debug capabilities to v4l2 encoder for STMicroelectronics SOC

2016-09-20 Thread Jean-Christophe Trotin
version 2: - the encoding summary (first patch) doesn't include any longer information about the encoding performance. Thus, after each frame encoding, only one or two variables are increased (number of encoded frames, number of encoding errors), but no computation is executed (as it was in v

Re: [PATCH 1/2] ARM: dts: lager: Add entries for VIN HDMI input support

2016-09-20 Thread Simon Horman
On Sat, Sep 17, 2016 at 01:25:47PM +0300, Sergei Shtylyov wrote: > Hello. > > On 9/16/2016 4:09 PM, Ulrich Hecht wrote: > > >From: William Towle > > > >Add DT entries for vin0, vin0_pins, and adv7612. > > > >Sets the 'default-input' property for ADV7612, enabling image and video > >capture witho

Re: Staging: Media: Lirc - Fix possible ERR_PTR() dereferencing.

2016-09-20 Thread Dan Carpenter
On Tue, Sep 20, 2016 at 12:21:21PM +0530, Shailendra Verma wrote: > This is of course wrong to call kfree() if memdup_user() fails, > no memory was allocated and the error in the error-valued pointer > should be returned. > > Reviewed-by: Ravikant Sharma > Signed-off-by: Shailendra Verma Callin

Re: [PATCH v1.1 4/5] smiapp: Use runtime PM

2016-09-20 Thread Sakari Ailus
Hi Sebastian, Thank you for the review. On 09/20/16 01:51, Sebastian Reichel wrote: > Hi, > > On Fri, Sep 16, 2016 at 01:53:29AM +0300, Sakari Ailus wrote: >> [...] >> >> diff --git a/drivers/media/i2c/smiapp/smiapp-regs.c >> b/drivers/media/i2c/smiapp/smiapp-regs.c >> index 1e501c0..a9c7baf 10

Staging: Media: Lirc - Fix possible ERR_PTR() dereferencing.

2016-09-20 Thread Shailendra Verma
This is of course wrong to call kfree() if memdup_user() fails, no memory was allocated and the error in the error-valued pointer should be returned. Reviewed-by: Ravikant Sharma Signed-off-by: Shailendra Verma --- drivers/staging/media/lirc/lirc_imon.c | 7 ++- drivers/staging/media/lirc/