[PATCH 2/2] au0828: Cancel stream-restart operation if frontend is disconnected

2014-05-08 Thread Changbing Xiong
If the tuner is already disconnected, It is meaningless to go on doing the stream-restart operation, It is better to cancel this operation. Signed-off-by: Changbing Xiong cb.xi...@samsung.com --- drivers/media/usb/au0828/au0828-dvb.c |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 2/2] au0828: Cancel stream-restart operation if frontend is disconnected

2014-05-08 Thread Mauro Carvalho Chehab
Hi Changbing, Em Thu, 08 May 2014 14:28:23 +0800 Changbing Xiong cb.xi...@samsung.com escreveu: If the tuner is already disconnected, It is meaningless to go on doing the stream-restart operation, It is better to cancel this operation. Signed-off-by: Changbing Xiong cb.xi...@samsung.com

Re: [PATCH] mt9p031: Really disable Black Level Calibration in test pattern mode

2014-05-08 Thread Hans Verkuil
Hi Laurent, The patch is correct, but I noticed a pre-existing bug that should be fixed. See below. On 05/07/14 17:40, Laurent Pinchart wrote: The digital side of the Black Level Calibration (BLC) function must be disabled when generating a test pattern to avoid artifacts in the image. The

Re: V4L control units

2014-05-08 Thread Sakari Ailus
Heippa! On Wed, May 07, 2014 at 03:57:11PM +0300, Antti Palosaari wrote: What is preferred way implement controls that could have some known unit or unknown unit? For example for gain controls, I would like to offer gain in unit of dB (decibel) and also some unknown driver specific unit.

Re: [PATCH] [media] s5p-mfc: Dequeue sequence header after STREAMON

2014-05-08 Thread Sachin Kamat
Hi Arun, Just 2 small nits. On 7 May 2014 17:00, Arun Kumar K arun...@samsung.com wrote: MFCv6 encoder needs specific minimum number of buffers to be queued in the CAPTURE plane. This minimum number will be known only when the sequence header is generated. So we used to allow STREAMON on the

[PATCH] staging: lirc: Fix sparse warnings

2014-05-08 Thread Tuomas Tynkkynen
Fix sparse warnings by adding __user and __iomem annotations where necessary and removing certain unnecessary casts. Signed-off-by: Tuomas Tynkkynen tuomas.tynkky...@iki.fi --- Compile tested only. drivers/staging/media/lirc/lirc_bt829.c|6 +++---

Re: [PATCH] staging: lirc: Fix sparse warnings

2014-05-08 Thread Dan Carpenter
On Thu, May 08, 2014 at 01:11:48PM +0300, Tuomas Tynkkynen wrote: Fix sparse warnings by adding __user and __iomem annotations where necessary and removing certain unnecessary casts. Signed-off-by: Tuomas Tynkkynen tuomas.tynkky...@iki.fi This patch adds spaces between the cast and the

Re: [PATCH] staging: lirc: Fix sparse warnings

2014-05-08 Thread Dan Carpenter
On Thu, May 08, 2014 at 01:30:28PM +0300, Dan Carpenter wrote: On Thu, May 08, 2014 at 01:11:48PM +0300, Tuomas Tynkkynen wrote: Fix sparse warnings by adding __user and __iomem annotations where necessary and removing certain unnecessary casts. Signed-off-by: Tuomas Tynkkynen

[PATCH v2] staging: lirc: Fix sparse warnings

2014-05-08 Thread Tuomas Tynkkynen
Fix sparse warnings by adding __user and __iomem annotations where necessary and removing certain unnecessary casts. While at it, also use u32 in place of __u32. Signed-off-by: Tuomas Tynkkynen tuomas.tynkky...@iki.fi --- Compile tested only. v2 changes: - introduce variable 'uptr' instead

Re: [PATCH] [media] s2255drv: fix memory leak s2255_probe()

2014-05-08 Thread Sakari Ailus
On Wed, May 07, 2014 at 01:38:58PM +0900, DaeSeok Youn wrote: Hello, 2014-05-05 17:38 GMT+09:00 Sakari Ailus sakari.ai...@iki.fi: On Tue, Apr 15, 2014 at 07:54:43PM +0900, DaeSeok Youn wrote: Hi, Sakari 2014-04-15 18:33 GMT+09:00 Sakari Ailus sakari.ai...@iki.fi: Hi Daeseok,

Re: [PATCH v2] staging: lirc: Fix sparse warnings

2014-05-08 Thread Dan Carpenter
On Thu, May 08, 2014 at 02:13:17PM +0300, Tuomas Tynkkynen wrote: Fix sparse warnings by adding __user and __iomem annotations where necessary and removing certain unnecessary casts. While at it, also use u32 in place of __u32. Signed-off-by: Tuomas Tynkkynen tuomas.tynkky...@iki.fi Thanks.

[PATCH v3 0/2] Add resolution change event

2014-05-08 Thread Arun Kumar K
This patchset adds a source_change event to the v4l2-events. This can be used for notifying the userspace about runtime format changes happening on video nodes / pads like resolution change in video decoder. This version includes suggestions from Hans and Laurent to make it more generic and to be

[PATCH v3 2/2] [media] s5p-mfc: Add support for resolution change event

2014-05-08 Thread Arun Kumar K
From: Pawel Osciak posc...@chromium.org When a resolution change point is reached, queue an event to signal the userspace that a new set of buffers is required before decoding can continue. Signed-off-by: Pawel Osciak posc...@chromium.org Signed-off-by: Arun Kumar K arun...@samsung.com ---

[PATCH v3 1/2] [media] v4l: Add source change event

2014-05-08 Thread Arun Kumar K
This event indicates that the video device has encountered a source parameter change during runtime. This can typically be a resolution change detected by a video decoder OR a format change detected by an HDMI connector. This needs to be nofified to the userspace and the application may be

Re: [PATCH] mt9p031: Really disable Black Level Calibration in test pattern mode

2014-05-08 Thread Laurent Pinchart
Hi Hans, On Thursday 08 May 2014 10:44:12 Hans Verkuil wrote: Hi Laurent, The patch is correct, but I noticed a pre-existing bug that should be fixed. See below. On 05/07/14 17:40, Laurent Pinchart wrote: The digital side of the Black Level Calibration (BLC) function must be disabled

[PATCH] mt9p031: Fix BLC configuration restore when disabling test pattern

2014-05-08 Thread Laurent Pinchart
Auto BLC and BLC digital offset are disabled when enabling the test pattern and must be restored when disabling it. The driver does so by calling the set control handler on the auto BLC and BLC offset controls, but this programs the hardware with the new value of those controls, not the current

re: [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver

2014-05-08 Thread Dan Carpenter
Hello Sylwester Nawrocki, The patch 34947b8aebe3: [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver from Dec 20, 2013, leads to the following static checker warning: drivers/media/platform/exynos4-is/fimc-isp-video.c:415 isp_video_try_fmt_mplane() error: XXX NULL

[GIT PULL FOR v3.16] Migrate the OMAP3 ISP driver to videobuf2

2014-05-08 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 286f600bc890347f7ec7bd50d33210d53a9095a3: iommu/omap: Fix map protection value handling (2014-04-16 16:30:18 +0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp/videobuf2 for you to fetch changes up to

Re: [PATCH v5 0/3] ARM: sunxi: Add support for consumer infrared devices

2014-05-08 Thread Hans de Goede
Hi, On 04/30/2014 05:16 PM, Alexander Bersenev wrote: This patch introduces Consumer IR(CIR) support for sunxi boards. This is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey

UBS Benachrichtigung - Ihre Internet-Banking gesperrt

2014-05-08 Thread UBS AG
-- Sehr geehrter Kunde, kürzlich zeigten unsere Aufzeichnungen, dass Ihr UBS-Konto durch einen Dritten unbefugten Zutritt hatte. Die Sicherheit Ihres Kontos ist unser wichtigstes Anliegen. Deshalb haben wir beschlossen, den Zugang zu Ihrem Konto vorübergehend zu begrenzen. Für den vollen

Re: [PATCH 1/5] ARM: S5PV210: Remove camera support from mach-goni.c

2014-05-08 Thread Sylwester Nawrocki
On 02/05/14 08:07, Kukjin Kim wrote: Sylwester Nawrocki wrote: S5PV210 is going to get DT support, so we can remove the camera bits from the only board using camera on S5PV210. This allows to clean the exynos4-is driver by dropping code for non-dt platforms. This patch can be dropped

RE: [PATCH 3/3] [media] s5p-mfc: Don't allocate codec buffers on STREAMON.

2014-05-08 Thread Kamil Debski
Hi, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun Kumar K Sent: Friday, March 21, 2014 9:37 AM From: Pawel Osciak posc...@chromium.org Currently, we allocate private codec buffers on STREAMON, which may fail if we are out of memory. We don't check for failure

RE: [PATCH v2] [media] s5p-mfc: add init buffer cmd to MFCV6

2014-05-08 Thread Kamil Debski
Hi, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun Kumar K Sent: Tuesday, March 11, 2014 10:16 AM From: avnd kiran avnd.ki...@samsung.com Latest MFC v6 firmware requires tile mode and loop filter setting to be done as part of Init buffer command, in sync with v7.

RE: [PATCH] [media] s5p-mfc: Don't try to resubmit VP8 bitstream buffer for decode.

2014-05-08 Thread Kamil Debski
Hi, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun Kumar K Sent: Friday, March 07, 2014 9:26 AM From: Pawel Osciak posc...@chromium.org Currently, for formats that are not H264, MFC driver will check the consumed stream size returned by the firmware and, based

RE: [PATCH] [media] s5p-mfc: Add IOMMU support

2014-05-08 Thread Kamil Debski
Hi Arun, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] Sent: Tuesday, April 22, 2014 2:22 PM Hi Laurent, Thank you for the review. On Tue, Apr 22, 2014 at 5:23 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Arun, Thank you for the patch. On Tuesday

[PATCH V2 0/4] Exynos4 SoC camera subsystem driver cleanups

2014-05-08 Thread Sylwester Nawrocki
This patch series includes some bug fixes for the Exynos4/S5P SoC camera interface drivers and removes (ab)use of simple-bus compatible string. Comparing to previous version I've excluded patches dropping support for non-dt platforms and added two further bug fixes. of_platform_populate() is used

[PATCH V2 1/4] exynos4-is: Free FIMC-IS CPU memory only when allocated

2014-05-08 Thread Sylwester Nawrocki
Ensure dma_free_coherent() is not called with incorrect arguments and only when the memory was actually allocated. This will prevent possible crashes on error paths of the top level media device driver, when fimc-is device gets unregistered and its driver detached. Signed-off-by: Sylwester

[PATCH V2 2/4] exynos4-is: Move firmware request to subdev open()

2014-05-08 Thread Sylwester Nawrocki
Move the firmware request to the FIMC-IS-ISP subdev open callback so we can avoid crashed on error paths in probe and deferred probing, when firmware request was sheduled and is in progress while the fimc-is device is being unregistered and its driver detached. Signed-off-by: Sylwester Nawrocki

[PATCH V2 4/4] ARM: dts: exynos4: Remove simple-bus compatibles from the camera subsystem

2014-05-08 Thread Sylwester Nawrocki
The usage of simple-bus was incorrect and the drivers now will also work without it so remove it. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi|2 +- arch/arm/boot/dts/exynos4x12.dtsi |2

[PATCH 1/3] rc_keymaps: Add a keymap for the remote shipped with allwinner ba10 tv boxes

2014-05-08 Thread Hans de Goede
This is an unbranded remote found with unbranded allwinner a10 based android tv boxes, which are referred to as ba10 tv boxes since the pcb is marked ba10 (the ba10 name is also used in u-boot and for the devicetree files). Signed-off-by: Hans de Goede hdego...@redhat.com ---

[PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv

2014-05-08 Thread Hans de Goede
Hi All, These patches add keymaps for the remotes found with various allwinner android tv boxes. I've checked that these are not duplicate with existing configs. These tv-boxes can run regular Linux, and that is what these keymaps are intended for. If there are no objections I'm going to push

[PATCH 3/3] rc_keymaps: Add keymap for the remote shipped with the Wobo i5 tv box

2014-05-08 Thread Hans de Goede
The Wobo i5 is an allwinner based android tv box, with its own custom remote, this adds a keymap for this remote (like all allwinner devices, the wobo i5 can run plain Linux). Signed-off-by: Hans de Goede hdego...@redhat.com --- utils/keytable/rc_keymaps/wobo_i5 | 9 + 1 file changed, 9

[PATCH 2/3] rc_keymaps: Add a keymap for the remote shipped with allwinner i12-a20 tv boxes

2014-05-08 Thread Hans de Goede
This is an unbranded remote found with unbranded allwinner a20 based android tv boxes, which are referred to as i12 tv boxes since the pcb is marked i12 (the i12 name is also used in u-boot and for the devicetree files). Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: s_ctrl V4l2 device driver does not work

2014-05-08 Thread Guennadi Liakhovetski
On Thu, 8 May 2014, Marcio Campos de Lima wrote: Hi Guennadi Thank you very much for your answer. The driver is a modified OV5642.c for the Omnivision OV5642 sensor. The platform is a custom AT91SAM9M10 board with a camera paralell interface. the driver is working quite well (capturing

Re: s_ctrl V4l2 device driver does not work

2014-05-08 Thread Marcio Campos de Lima
Hi Guennadi Thank you very much for your answer. The driver is a modified OV5642.c for the Omnivision OV5642 sensor. The platform is a custom AT91SAM9M10 board with a camera paralell interface. the driver is working quite well (capturing images) apart the set control interface. Unfortunately I

Re: s_ctrl V4l2 device driver does not work

2014-05-08 Thread Marcio Campos de Lima
Sorry Guennadi I forgot to include it. #define VIDIOC_AVANCA_ZOOM (0x009a|0x900)+15 #define VIDIOC_RECUA_ZOOM (0x009a|0x900)+15 #define VIDIOC_ATIVA_FLASH (0x009a|0x900)+15Em 08/05/2014, à(s) 1 Thanks 8:01, Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: On

Re: s_ctrl V4l2 device driver does not work

2014-05-08 Thread Marcio Campos de Lima
I have also tried these settings #define VIDIOC_AVANCA_ZOOM (0x009a|0x900)+14 #define VIDIOC_RECUA_ZOOM (0x009a|0x900)+14 #define VIDIOC_ATIVA_FLASH (0x009a|0x900)+3 #define VIDIOC_WHITE_BALANCE(0x009a|0x900)+13 Em 08/05/2014, à(s) 18:01, Guennadi Liakhovetski

[PATCH] [media] s2255drv: fix memory leak s2255_probe()

2014-05-08 Thread Daeseok Youn
smatch says: drivers/media/usb/s2255/s2255drv.c:2246 s2255_probe() warn: possible memory leak of 'dev' Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- V2: use the same pattern for error handling. drivers/media/usb/s2255/s2255drv.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH 3/3] [media] s5p-mfc: Don't allocate codec buffers on STREAMON.

2014-05-08 Thread Pawel Osciak
Hi Kamil, On Fri, May 9, 2014 at 1:22 AM, Kamil Debski k.deb...@samsung.com wrote: Hi, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun Kumar K Sent: Friday, March 21, 2014 9:37 AM From: Pawel Osciak posc...@chromium.org Currently, we allocate private codec buffers

Support for Elgato Game Capture HD / MStar MST3367CMK

2014-05-08 Thread Tolga Cakir
Hello everyone! Over the past weeks, I've been busy capturing USB packets between the Elgato Game Capture HD and my PC. It's using the MStar MST3367CMK chip, which seems to have proprietary Linux support available only for hardware vendors in form of an SDK. Problem is, that this SDK is

cron job: media_tree daily build: OK

2014-05-08 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: Fri May 9 04:00:17 CEST 2014 git branch: test git hash: 393cbd8dc532c1ebed60719da8d379f50d445f28 gcc

Re: [PATCH] [media] s5p-mfc: Don't try to resubmit VP8 bitstream buffer for decode.

2014-05-08 Thread Arun Kumar K
Hi Kamil, On 05/08/14 21:52, Kamil Debski wrote: Hi, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun Kumar K Sent: Friday, March 07, 2014 9:26 AM From: Pawel Osciak posc...@chromium.org Currently, for formats that are not H264, MFC driver will check the

Re: [PATCH v2] [media] s5p-mfc: add init buffer cmd to MFCV6

2014-05-08 Thread Arun Kumar K
Hi Kamil, On 05/08/14 21:52, Kamil Debski wrote: Hi, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun Kumar K Sent: Tuesday, March 11, 2014 10:16 AM From: avnd kiran avnd.ki...@samsung.com Latest MFC v6 firmware requires tile mode and loop filter setting to be

Re: [PATCH] [media] s5p-mfc: Add IOMMU support

2014-05-08 Thread Arun Kumar K
Hi Kamil, On 05/08/14 21:54, Kamil Debski wrote: Hi Arun, From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] Sent: Tuesday, April 22, 2014 2:22 PM Hi Laurent, Thank you for the review. On Tue, Apr 22, 2014 at 5:23 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi

[PATCH] au0828: Cancel stream-restart operation if frontend is disconnected

2014-05-08 Thread Changbing
From: Changbing Xiong cb.xi...@samsung.com If the tuner is already disconnected, It is meaningless to go on doing the stream-restart operation, It is better to cancel this operation. Signed-off-by: Changbing Xiong cb.xi...@samsung.com --- drivers/media/usb/au0828/au0828-dvb.c |2 ++ 1 file

[no subject]

2014-05-08 Thread Changbing Xiong
Thanks for your comments, and I have resubmit this according Mr. Chehab's comments, please check. Thanks. Changbing Xiong. -- 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: [PATCH 1/3] [media] s5p-mfc: Add variants to access mfc registers

2014-05-08 Thread Tomasz Figa
Hi Arun, Paweł, On 09.05.2014 06:49, Arun Kumar K wrote: Hi Kamil, On 05/09/14 06:30, Pawel Osciak wrote: Hi Kamil, On Fri, May 9, 2014 at 1:31 AM, Kamil Debski k.deb...@samsung.com wrote: Hi Arun, I think that this driver is getting too complicated now. First there are separate files

Re: [PATCH 1/3] [media] s5p-mfc: Add variants to access mfc registers

2014-05-08 Thread Arun Kumar K
Hi Tomasz, On 05/09/14 10:50, Tomasz Figa wrote: Hi Arun, Paweł, On 09.05.2014 06:49, Arun Kumar K wrote: Hi Kamil, On 05/09/14 06:30, Pawel Osciak wrote: Hi Kamil, On Fri, May 9, 2014 at 1:31 AM, Kamil Debski k.deb...@samsung.com wrote: Hi Arun, I think that this driver is getting