[patch v2] dvb-usb: check for invalid length in ttusb_process_muxpack()

2013-02-07 Thread Dan Carpenter
This patch is driven by a static checker warning. The ttusb_process_muxpack() function is only called from ttusb_process_frame(). Before calling, it verifies that len = 2. The problem is that len == 2 is not valid and would lead to an array underflow. Odd number values for len are also invalid

Re: [PATCH 3/3] dma-buf: restore args on failure of dma_buf_mmap

2013-02-07 Thread Sumit Semwal
Hi John, On Thursday 07 February 2013 05:33 AM, John Sheu wrote: From: John Sheu s...@chromium.org Callers to dma_buf_mmap expect to fput() the vma struct's vm_file themselves on failure. Not restoring the struct's data on failure causes a double-decrement of the vm_file's refcount. Thanks

re: [media] tm6000: add support for control events and prio handling

2013-02-07 Thread Dan Carpenter
Hello Hans Verkuil, The patch 770056c47fbb: [media] tm6000: add support for control events and prio handling from Sep 11, 2012, leads to the following Smatch warning: drivers/media/usb/tm6000/tm6000-video.c:1462 __tm6000_poll() error: potentially dereferencing uninitialized 'buf'.

Re: [media] tm6000: add support for control events and prio handling

2013-02-07 Thread Hans Verkuil
On Thu 7 February 2013 11:44:54 Dan Carpenter wrote: Hello Hans Verkuil, The patch 770056c47fbb: [media] tm6000: add support for control events and prio handling from Sep 11, 2012, leads to the following Smatch warning: drivers/media/usb/tm6000/tm6000-video.c:1462 __tm6000_poll()

[PATCH] tm6000: fix an uninitialized variable.

2013-02-07 Thread Hans Verkuil
tm6000_poll could use an uninitialized buf pointer. Move the buf-handling code inside the 'if' that initializes the buf pointer. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reported-by: Dan Carpenter dan.carpen...@oracle.com --- drivers/media/usb/tm6000/tm6000-video.c |8 1

[RFC PATCH v2 0/5] exynos-hdmi to CDF compliant display driver

2013-02-07 Thread Rahul Sharma
V2: 1) Adding hdmi sound card using cdf based hdmi audio codec. 2) DAPM and JACK control to hdmi codec. 3) Offload event handler by adding work queue. 4) Rework based on v1 comments. Tested for: 1) Mode setting and switching using modetest. 2) Video with HPD and Power related scenarios. 3) Audio

[RFC PATCH v2 1/5] video: display: add event handling, set mode and hdmi ops to cdf core

2013-02-07 Thread Rahul Sharma
This patch adds 1) Event Notification to CDF Core: Adds simple event notification mechanism supports multiple subscribers. This is used for hot-plug notification to the clients of hdmi display i.e. exynos-drm and alsa-codec. CDF Core maintains multiple subscriber

Re: [PATCH v2] media: add support for decoder as one of media entity types

2013-02-07 Thread Sylwester Nawrocki
Hi Prabhakar, On 01/28/2013 12:50 PM, Prabhakar Lad wrote: diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 0ef8833..dac06d7 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h @@ -56,6 +56,8 @@ struct media_device_info { #define

[RFC PATCH v2 2/5] drm/edid: temporarily exposing generic edid-read interface from drm

2013-02-07 Thread Rahul Sharma
It exposes generic interface from drm_edid.c to get the edid data and length by any display entity. Once I get clear idea about edid handling in CDF, I need to revert these temporary changes. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- drivers/gpu/drm/drm_edid.c | 88

[RFC PATCH v2 3/5] drm/exynos: moved drm hdmi driver to cdf framework

2013-02-07 Thread Rahul Sharma
This patch implements exynos_hdmi_cdf.c which is a glue component between exynos DRM and hdmi cdf panel. It is a platform driver register through exynos_drm_drv.c. Exynos_hdmi.c is modified to register hdmi as display panel. exynos_hdmi_cdf.c registers for exynos hdmi display entity and if

[RFC PATCH v2 4/5] alsa/soc: add hdmi audio codec based on cdf

2013-02-07 Thread Rahul Sharma
V2: - DAPM and JACK control to hdmi codec. This patch registers hdmi-audio codec to the ALSA framework. This is the second client to the hdmi panel. Once notified by the CDF Core it proceeds towards audio setting and audio control. It also subscribes for hpd notification to implement hpd related

[RFC PATCH v2 5/5] alsa/soc: add hdmi audio card using cdf based hdmi codec

2013-02-07 Thread Rahul Sharma
It registers hdmi-audio card to ALSA framework which associates i2s dai and cdf based hdmi audio codec. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- sound/soc/samsung/Kconfig | 8 ++ sound/soc/samsung/Makefile | 2 + sound/soc/samsung/hdmi.c | 260

[REVIEW PATCH V4 02/12] [media] marvell-ccic: add clock tree support for marvell-ccic driver

2013-02-07 Thread Albert Wang
From: Libin Yang lby...@marvell.com This patch adds the clock tree support for marvell-ccic. Signed-off-by: Libin Yang lby...@marvell.com Signed-off-by: Albert Wang twan...@marvell.com Acked-by: Jonathan Corbet cor...@lwn.net --- drivers/media/platform/marvell-ccic/mcam-core.h |4 ++

[REVIEW PATCH V4 01/12] [media] marvell-ccic: add MIPI support for marvell-ccic driver

2013-02-07 Thread Albert Wang
From: Libin Yang lby...@marvell.com This patch adds the MIPI support for marvell-ccic. Board driver should determine whether using MIPI or not. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com --- drivers/media/platform/marvell-ccic/mcam-core.c | 66

[REVIEW PATCH V4 03/12] [media] marvell-ccic: reset ccic phy when stop streaming for stability

2013-02-07 Thread Albert Wang
This patch adds the reset ccic phy operation when stop streaming. Stop streaming without reset ccic phy, the next start streaming may be unstable. Also need add CCIC2 definition when PXA688/PXA2128 support dual ccics. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang

[REVIEW PATCH V4 04/12] [media] marvell-ccic: refine mcam_set_contig_buffer function

2013-02-07 Thread Albert Wang
From: Libin Yang lby...@marvell.com This patch refines mcam_set_contig_buffer() in mcam core. It can remove redundant code line and enhance readability. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com Acked-by: Guennadi Liakhovetski

[REVIEW PATCH V4 05/12] [media] marvell-ccic: add new formats support for marvell-ccic driver

2013-02-07 Thread Albert Wang
From: Libin Yang lby...@marvell.com This patch adds the new formats support for marvell-ccic. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com --- drivers/media/platform/marvell-ccic/mcam-core.c | 189 +++

[REVIEW PATCH V4 06/12] [media] marvell-ccic: add SOF/EOF pair check for marvell-ccic driver

2013-02-07 Thread Albert Wang
From: Libin Yang lby...@marvell.com This patch adds the SOFx/EOFx pair check for marvell-ccic. When switching format, the last EOF may not arrive when stop streamning. And the EOF will be detected in the next start streaming. Must ensure clear the left over frame flags before every really start

[REVIEW PATCH V4 07/12] [media] marvell-ccic: switch to resource managed allocation and request

2013-02-07 Thread Albert Wang
This patch switchs to resource managed allocation and request in mmp-driver. It can remove free resource operations. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com Acked-by: Jonathan Corbet cor...@lwn.net ---

[REVIEW PATCH V4 08/12] [media] marvell-ccic: rename B_DMA* to avoid CamelCase warning

2013-02-07 Thread Albert Wang
This patch renames the B_vmalloc/B_DMA_contig/B_DMA_sg to B_VMALLOC/B_DMA_CONTIG/B_DMA_SG variables to avoid CamelCase warning reported by the checkpatch.pl script. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com ---

[REVIEW PATCH V4 09/12] [media] marvell-ccic: use unsigned int type replace int type

2013-02-07 Thread Albert Wang
This patch uses unsigned int type replace int type in marvell-ccic. These variables: frame number, buf number, irq... should be unsigned. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com Acked-by: Jonathan Corbet cor...@lwn.net ---

[REVIEW PATCH V4 11/12] [media] marvell-ccic: add dma burst support for marvell-ccic driver

2013-02-07 Thread Albert Wang
This patch adds the dma burst size config support for marvell-ccic. Developer can set the dma burst size in specified board driver. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com Acked-by: Jonathan Corbet cor...@lwn.net ---

[REVIEW PATCH V4 10/12] [media] marvell-ccic: add soc_camera support for marvell-ccic driver

2013-02-07 Thread Albert Wang
This patch adds the soc_camera mode support in marvell-ccic driver. It also removes the old mode for maintaining single mode in the future. Signed-off-by: Libin Yang lby...@marvell.com Signed-off-by: Albert Wang twan...@marvell.com --- drivers/media/platform/Makefile |4 +-

[REVIEW PATCH V4 12/12] [media] marvell-ccic: add 3 frame buffers support in DMA_CONTIG mode

2013-02-07 Thread Albert Wang
This patch adds support of 3 frame buffers in DMA-contiguous mode. In current DMA_CONTIG mode, only 2 frame buffers can be supported. Actually, Marvell CCIC can support 2 or 3 frame buffers. Currently 3 frame buffers mode will be used by default. To use 2 frame buffers mode, can do: #define

[REVIEW PATCH V4 00/12] [media] marvell-ccic: add soc camera support in marvell-ccic driver

2013-02-07 Thread Albert Wang
The following patches series will add soc_camera support in marvell-ccic driver Patch set V4 - Change log: - remove the first patch of V3 which had been queued in tree - merge [PATCH 09/15-12/15] of V3 to [PATCH 10/12] of V4 - use soc_camera mode replace the old mode for

Re: [GIT PULL FOR v3.9] Move cx2341x from media/i2c to media/common

2013-02-07 Thread Sakari Ailus
Hi Laurent, On Wed, Feb 06, 2013 at 10:41:16AM +0100, Laurent Pinchart wrote: On Wednesday 06 February 2013 07:16:04 Mauro Carvalho Chehab wrote: Em Wed, 6 Feb 2013 08:46:35 +0100 Hans Verkuil escreveu: At least aptina-pll.c, smiapp-pll.c and tveeprom.c all have some relationship with

[RFC PATCHv2 01/18] tlg2300: use correct device parent.

2013-02-07 Thread Hans Verkuil
Set the correct parent for v4l2_device_register and don't set the name anymore (that's now deduced from the parent). Also remove an unnecessary forward reference and fix two weird looking log messages. Changes since v1: don't set v4l2_dev.name anymore as per Huang's suggestion. Huang: can you Ack

Re: [PATCH v2] media: add support for decoder as one of media entity types

2013-02-07 Thread Prabhakar Lad
Hi Sylwester, On Thu, Feb 7, 2013 at 5:18 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Prabhakar, On 01/28/2013 12:50 PM, Prabhakar Lad wrote: diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 0ef8833..dac06d7 100644 --- a/include/uapi/linux/media.h +++

[RFC PATCHv2 18/18] tlg2300: update MAINTAINERS file.

2013-02-07 Thread Hans Verkuil
Remove two maintainers: telegent.com no longer exists, so those email addresses are invalid as well. Added myself as co-maintainer and change the status to 'Odd Fixes'. Changes since v1: Added myself as co-maintainer and change the status to 'Odd Fixes'. Huang: can you Ack this? Once patches

Re: af9035 test needed!

2013-02-07 Thread Andre Heider
Hi, On Thu, Jan 31, 2013 at 2:46 PM, Michael Krufky mkru...@linuxtv.org wrote: Hey guys... somehow this email slipped through my filters :-( I see it now, and I'll give a look over the patch this weekend. I suspect the merge window opens soon, so... *poke* ;) Any chance for 3.9? Thanks,

Re: [RFC PATCH v2 2/5] drm/edid: temporarily exposing generic edid-read interface from drm

2013-02-07 Thread Daniel Vetter
On Thu, Feb 7, 2013 at 1:09 PM, Rahul Sharma rahul.sha...@samsung.com wrote: It exposes generic interface from drm_edid.c to get the edid data and length by any display entity. Once I get clear idea about edid handling in CDF, I need to revert these temporary changes. Just a quick reply

Re: [RFCv1 PATCH 00/20] cx231xx: v4l2-compliance fixes

2013-02-07 Thread Hans Verkuil
On Tue January 29 2013 17:41:29 Devin Heitmueller wrote: On Tue, Jan 29, 2013 at 11:32 AM, Hans Verkuil hverk...@xs4all.nl wrote: I will take a closer look at the vbi support, though.. It would be nice to get that working. FYI: I had the VBI support working when I submitted the driver

Re: [RFCv1 PATCH 00/20] cx231xx: v4l2-compliance fixes

2013-02-07 Thread Devin Heitmueller
Hi Hans, On Thu, Feb 7, 2013 at 10:08 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Tue January 29 2013 17:41:29 Devin Heitmueller wrote: On Tue, Jan 29, 2013 at 11:32 AM, Hans Verkuil hverk...@xs4all.nl wrote: I will take a closer look at the vbi support, though.. It would be nice to get

[PATCH 2/3] mutex: add support for reservation style locks

2013-02-07 Thread Maarten Lankhorst
GPU's do operations that commonly involve many buffers. Those buffers can be shared across contexts/processes, exist in different memory domains (for example VRAM vs system memory), and so on. And with PRIME / dmabuf, they can even be shared across devices. So there are a handful of situations

[PATCH 1/3] arch: make __mutex_fastpath_lock_retval return whether fastpath succeeded or not.

2013-02-07 Thread Maarten Lankhorst
This will allow me to call functions that have multiple arguments if fastpath fails. This is required to support ticket mutexes, because they need to be able to pass an extra argument to the fail function. Originally I duplicated the functions, by adding __mutex_fastpath_lock_retval_arg. This

[PATCH 3/3] reservation: Add tests to lib/locking-selftest.c.

2013-02-07 Thread Maarten Lankhorst
This stresses the lockdep code in some ways specifically useful to reservations. It adds checks for most of the common locking errors. Since the lockdep tests were originally written to stress the reservation code, I duplicated some of the definitions into lib/locking-selftest.c for now. This

[PATCH v3] media: add support for decoder as one of media entity types

2013-02-07 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com A lot of SOCs including Texas Instruments Davinci family mainly use video decoders as input devices. This patch adds a flag 'MEDIA_ENT_T_V4L2_SUBDEV_DECODER' media entity type for decoder's. Along side updates the documentation for this media entity

Re: omap3isp - set_xclk dont work

2013-02-07 Thread Laurent Pinchart
Hi Adriano, On Wednesday 06 February 2013 11:26:43 Adriano Martins wrote: Hi, I have 2 boards with DM3730 processor, a beagleboard and a custom board. The omap3isp is working in both boards, any error is seen. On beagleboard I can see the xclka, then the sensor is detected and the driver

[PATCH 3/4] fc0011: Add some sanity checks and cleanups

2013-02-07 Thread Michael Büsch
Add some sanity checks to the calculations and make the REG_16 register write consistent with the other ones. Signed-off-by: Michael Buesch m...@bues.ch --- Index: linux/drivers/media/tuners/fc0011.c === ---

[PATCH 2/4] fc0011: Fix xin value clamping

2013-02-07 Thread Michael Büsch
Fix the xin value clamping and use clamp_t(). Signed-off-by: Michael Buesch m...@bues.ch --- Index: linux/drivers/media/tuners/fc0011.c === --- linux.orig/drivers/media/tuners/fc0011.c2012-10-22 16:13:29.140465225 +0200 +++

[PATCH 4/4] fc0011: Return early, if the frequency is already tuned

2013-02-07 Thread Michael Büsch
Return early, if we already tuned to a frequency. Signed-off-by: Michael Buesch m...@bues.ch --- Index: linux/drivers/media/tuners/fc0011.c === --- linux.orig/drivers/media/tuners/fc0011.c2013-01-01 23:25:40.0 +0100

[PATCH 1/4] fc0011: fp/fa value overflow fix

2013-02-07 Thread Michael Büsch
Assign the maximum instead of masking with the maximum on value overflow. Signed-off-by: Michael Buesch m...@bues.ch --- Index: linux/drivers/media/tuners/fc0011.c === --- linux.orig/drivers/media/tuners/fc0011.c2012-10-22

[RFC PATCH] ivtv-alsa: regression fix: remove __init from ivtv_alsa_load

2013-02-07 Thread Hans Verkuil
Andy, Please review this patch. This fix probably should be fast-tracked to 3.8 and queued for stable 3.7. ivtv-alsa kept crashing my machine every time I loaded it, and this is the cause. Regards, Hans This function is called after initialization, so it should never be marked __init!

Re: On MIPI-CSI2 YUV420 formats and V4L2 Media Bus formats

2013-02-07 Thread Laurent Pinchart
Hi Antonio, On Wednesday 06 February 2013 23:33:47 Antonio Ospite wrote: On Wed, 30 Jan 2013 01:23:48 +0100 Laurent Pinchart wrote: On Monday 28 January 2013 13:22:10 Antonio Ospite wrote: Hi, looking at the MIPI Alliance Specification for Camera Serial Interface 2 (I'll call it

Re: omap3isp - set_xclk dont work

2013-02-07 Thread Adriano Martins
Hi Laurent, 2013/2/7 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Adriano, On Wednesday 06 February 2013 11:26:43 Adriano Martins wrote: Hi, I have 2 boards with DM3730 processor, a beagleboard and a custom board. The omap3isp is working in both boards, any error is seen. On

[PATCH] em28xx: fix analog streaming with USB bulk transfers

2013-02-07 Thread Frank Schäfer
With the conversion to videobuf2, some unnecessary calls of em28xx_set_alternate() have been removed. It is now called at analog streaming start only. This has unveiled a bug that causes USB bulk transfers to fail with all urbs having status -EVOERFLOW. The reason is, that for bulk transfers

[PATCH RFC v6] [media] Add a V4L2 OF parser

2013-02-07 Thread Sylwester Nawrocki
From: Guennadi Liakhovetski g.liakhovet...@gmx.de Add a V4L2 OF parser, implementing bindings documented in Documentation/devicetree/bindings/media/video-interfaces.txt. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de [s.nawro...@samsung.com: various corrections and improvements since

[PATCH v2 00/13] em28xx: ioctl fixes/clean-ups

2013-02-07 Thread Frank Schäfer
This patch series addresses some issues with the ioctl code of the em28xx driver: Patches 1-5 and 11+12 fix and clean up the enabling/disabling of the ioctls depending on the device type and equipment. Patches 6-10 remove some obsolete/useless code. Patch 13 improves the VBI support detection

[PATCH v2 01/13] em28xx: use v4l2_disable_ioctl() to disable ioctls VIDIOC_QUERYSTD, VIDIOC_G/S_STD

2013-02-07 Thread Frank Schäfer
Instead of checking the device type and returning -ENOTTY inside the ioctl functions, use v4l2_disable_ioctl() to disable the ioctls VIDIOC_QUERYSTD, VIDIOC_G_STD and VIDIOC_S_STD if the device is a camera. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil

[PATCH v2 02/13] em28xx: disable tuner related ioctls for video and VBI devices without tuner

2013-02-07 Thread Frank Schäfer
Disable the ioctls VIDIOC_G_TUNER, VIDIOC_S_TUNER, VIDIOC_G_FREQUENCY and VIDIOC_S_FREQUENCY for video and VBI devices without tuner. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c | 14

[PATCH v2 03/13] em28xx: use v4l2_disable_ioctl() to disable ioctls VIDIOC_G_AUDIO and VIDIOC_S_AUDIO

2013-02-07 Thread Frank Schäfer
Instead of checking the device type and returning -EINVAL inside the ioctl functions, use v4l2_disable_ioctl() to disable the ioctls VIDIOC_G_AUDIO and VIDIOC_S_AUDIO if the device doesn't support audio. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil

[PATCH v2 04/13] em28xx: use v4l2_disable_ioctl() to disable ioctl VIDIOC_S_PARM

2013-02-07 Thread Frank Schäfer
Instead of checking the device type and returning -ENOTTY inside the ioctl function, use v4l2_disable_ioctl() to disable the ioctl VIDIOC_S_PARM if the device is not a camera. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH v2 05/13] em28xx: disable ioctl VIDIOC_S_PARM for VBI devices

2013-02-07 Thread Frank Schäfer
VIDIOC_S_PARM doesn't make sense for VBI device nodes, because we don't support selecting the number of read buffers to use. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c |1 + 1 Datei

[PATCH v2 06/13] em28xx: make ioctls VIDIOC_G/S_PARM working for VBI devices

2013-02-07 Thread Frank Schäfer
With the current code V4L2_BUF_TYPE_VIDEO_CAPTURE is accepted only, but for VBI devices only buffer type V4L2_BUF_TYPE_VBI_CAPTURE is used/valid. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c |

[PATCH v2 07/13] em28xx: remove ioctl VIDIOC_CROPCAP

2013-02-07 Thread Frank Schäfer
The em28xx driver doesn't support the VIDIOC_G_CROP and VIDIOC_S_CROP ioctls, so VIDIOC_CROPCAP is useless and has the potential to confuse applications, because it can be interpreted as indicator for cropping support. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans

[PATCH v2 08/13] em28xx: get rid of duplicate function vidioc_s_fmt_vbi_cap()

2013-02-07 Thread Frank Schäfer
vidioc_s_fmt_vbi_cap() is a 100% duplicate of vidioc_g_fmt_vbi_cap() and therefore can be removed. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c | 31 +-- 1 Datei

[PATCH v2 09/13] em28xx: VIDIOC_G_TUNER: remove unneeded setting of tuner type

2013-02-07 Thread Frank Schäfer
The tuner type is set by the v4l2-core based on the device type. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c |1 - 1 Datei geändert, 1 Zeile entfernt(-) diff --git

[PATCH v2 10/13] em28xx: remove obsolete device state checks from the ioctl functions

2013-02-07 Thread Frank Schäfer
v4l2_device_disconnect() is called when the device is disconnected, so that the v4l2-core rejects all ioctl calls. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c | 43

[PATCH v2 11/13] em28xx: make ioctl VIDIOC_DBG_G_CHIP_IDENT available without CONFIG_VIDEO_ADV_DEBUG selected

2013-02-07 Thread Frank Schäfer
VIDIOC_DBG_G_CHIP_IDENT is a normal and not an advanced debug functionality. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c | 27 +-- 1 Datei geändert, 13 Zeilen

[PATCH v2 12/13] em28xx: make ioctl VIDIOC_DBG_G_CHIP_IDENT available for radio devices

2013-02-07 Thread Frank Schäfer
Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-video.c |1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c

[PATCH v2 13/13] em28xx: do not claim VBI support if the device is a camera

2013-02-07 Thread Frank Schäfer
Avoids registering a VBI device and streaming in VBI-mode if the device is a camera. Signed-off-by: Frank Schäfer fschaefer@googlemail.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/em28xx/em28xx-core.c |5 + 1 Datei geändert, 5 Zeilen hinzugefügt(+) diff

cron job: media_tree daily build: ERRORS

2013-02-07 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 Feb 7 19:00:18 CET 2013 git branch: for_v3.9 git hash: 248ac368ce4b3cd36515122d888403909d7a2500 gcc

[PATCH] [media] mantis: add remote control support

2013-02-07 Thread Jan Klötzke
The embedded UART is apparently used to receive decoded IR (RC5?) codes. Forward these scan codes to the RC framework and (where known) add corresponding mapping tables to translate them into regular keys. This patch has been tested on a TechniSat CableStar HD2. Other rc-maps were taken from

Re: [RFC PATCH] ivtv-alsa: regression fix: remove __init from ivtv_alsa_load

2013-02-07 Thread Andy Walls
Hans Verkuil hverk...@xs4all.nl wrote: Andy, Please review this patch. This fix probably should be fast-tracked to 3.8 and queued for stable 3.7. ivtv-alsa kept crashing my machine every time I loaded it, and this is the cause. Regards, Hans This function is called after

Re: Hi again

2013-02-07 Thread Sylwester Nawrocki
On 02/07/2013 12:53 AM, Sylwester Nawrocki wrote: root@mini2440:~ echo 100 /sys/module/videobuf2_core/parameters/debug root@mini2440:~ gst-launch -v v4l2src device=/dev/video0 queue-size=2 ! video/x-raw-yuv,format='(fourcc)'YV12 ! ffmpegcolorspace ! fbdevsink root@mini2440:~ dmesg -c [

[PATCH RFC] s3c-camif: Fail on insufficient number of allocated buffers

2013-02-07 Thread Sylwester Nawrocki
Ensure the driver gets always at least its minimum required number of buffers allocated by checking actual number of allocated buffers in vb2_reqbufs(). And free any partially allocated buffer queue with signaling an error to user space. Without this patch applications may wait forever to dequeue

Re: [RFC PATCH 1/8] stk-webcam: various fixes.

2013-02-07 Thread Arvydas Sidorenko
On Wed, Feb 6, 2013 at 8:32 AM, Hans Verkuil hverk...@xs4all.nl wrote: I've improved v4l2-compliance a bit, but I've also pushed a fix (I hope) to my git branch. It's great if you can test this! $ v4l2-compliance -d /dev/video0 Driver Info: Driver name : stk Card type

Re: [RFC PATCH] ivtv-alsa: regression fix: remove __init from ivtv_alsa_load

2013-02-07 Thread Hans Verkuil
On Thu February 7 2013 22:58:53 Andy Walls wrote: Hans Verkuil hverk...@xs4all.nl wrote: Andy, Please review this patch. This fix probably should be fast-tracked to 3.8 and queued for stable 3.7. ivtv-alsa kept crashing my machine every time I loaded it, and this is the cause.

Re: [RFC PATCH] ivtv-alsa: regression fix: remove __init from ivtv_alsa_load

2013-02-07 Thread Andy Walls
Hans Verkuil hverk...@xs4all.nl wrote: On Thu February 7 2013 22:58:53 Andy Walls wrote: Hans Verkuil hverk...@xs4all.nl wrote: Andy, Please review this patch. This fix probably should be fast-tracked to 3.8 and queued for stable 3.7. ivtv-alsa kept crashing my machine every time I