Re: [PATCH 1/3] v4l: add contorl definitions for codec devices.

2012-03-02 Thread Hans Verkuil
Hi Jeongtae! Some review notes below... On Friday, March 02, 2012 03:17:40 Jeongtae Park wrote: Add control definitions for controls specific to codec devices. Signed-off-by: Jeongtae Park jtp.p...@samsung.com Cc: Marek Szyprowski m.szyprow...@samsung.com Cc: Kamil Debski

[PATCH] Two small string fixes in v4l2-ctrls.c

2012-03-02 Thread Hans Verkuil
Fix one typo and use 'Microseconds' instead of 'useconds' in the pre-emphasis descriptions. Regards, Hans diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 9091172..8465ee9 100644 --- a/drivers/media/video/v4l2-ctrls.c +++

Re: [PATCH 2/3] v4l2-ctrl: add codec controls support to the control framework

2012-03-02 Thread Hans Verkuil
On Friday, March 02, 2012 03:18:22 Jeongtae Park wrote: Add support for the codec controls to the v4l2 control framework. Signed-off-by: Jeongtae Park jtp.p...@samsung.com Cc: Marek Szyprowski m.szyprow...@samsung.com Cc: Kamil Debski k.deb...@samsung.com ---

Re: [PATCH 1/2] media: tvp5150: Add cropping support.

2012-03-02 Thread javier Martin
Hi all, I've been using and testing these patches successfully for a month. Do you have any comments on them? Do you think they are ready to be merged? [PATCH 1/2] media: tvp5150: Add cropping support [PATCH 2/2] media: tvp5150: Add g_mbus_fmt_callback -- Javier Martin Vista Silicon S.L. CDTUC

Re: [PATCH 1/2] media: tvp5150: Add cropping support.

2012-03-02 Thread Marco Cavallini
javier Martin ha scritto, Il 02/03/2012 09:35: Hi all, I've been using and testing these patches successfully for a month. Do you have any comments on them? Do you think they are ready to be merged? [PATCH 1/2] media: tvp5150: Add cropping support [PATCH 2/2] media: tvp5150: Add

Re: [PATCH 1/3] v4l: add contorl definitions for codec devices.

2012-03-02 Thread Sylwester Nawrocki
Hi Jongtae, On 03/02/2012 03:17 AM, Jeongtae Park wrote: @@ -1458,17 +1462,18 @@ enum v4l2_mpeg_video_header_mode { }; #define V4L2_CID_MPEG_VIDEO_MAX_REF_PIC (V4L2_CID_MPEG_BASE+217) #define V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE (V4L2_CID_MPEG_BASE+218)

Re: [RFC PATCH] PnP support for the new ISA radio framework

2012-03-02 Thread Hans Verkuil
Hi Ondrej! Thanks for working on this. It looks good, I just have a few minor points: On Thursday, March 01, 2012 20:25:05 Ondrej Zary wrote: Hello, this is the first attempt to add PnP support to the new ISA radio framework. I don't like the region_size function parameter - it's needed

Re: [PATCH 1/2] media: tvp5150: Add cropping support.

2012-03-02 Thread javier Martin
On 2 March 2012 09:37, Marco Cavallini koansoftw...@gmail.com wrote: javier Martin ha scritto, Il 02/03/2012 09:35: Hi all, I've been using and testing these patches successfully for a month. Do you have any comments on them? Do you think they are ready to be merged? [PATCH 1/2] media:

[PULL] mx2-camera patches for 3.4

2012-03-02 Thread Guennadi Liakhovetski
Hi Mauro This time so it happened, that soc-camera for the next kernel version consists of only one driver updates: mx2-camera. The following changes since commit e8ca6d20a65d9d94693a0ed99b12d95b882dc859: [media] tveeprom: update hauppauge tuner list thru 181 (2012-02-28 18:46:53 -0300)

[GIT PULL] V4L custom compat_ioctl32 support and uvcvideo changes for v3.4

2012-03-02 Thread Laurent Pinchart
Hi Mauro, The following changes since commit e8ca6d20a65d9d94693a0ed99b12d95b882dc859: [media] tveeprom: update hauppauge tuner list thru 181 (2012-02-28 18:46:53 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/uvcvideo.git uvcvideo-next Javier Martin (1):

[PATCH v2 00/10] MT9M032 sensor driver

2012-03-02 Thread Laurent Pinchart
Hi everybody, Here's the second version of the Aptina MT9M032 sensor driver, originally written by Martin Hostettler. Compared to the first version, I've squashed two patches together that were not supposed to be split in the first place and fixed a couple of 80-columns checkpatch warnings. The

[PATCH v2 01/10] v4l: Add driver for Micron MT9M032 camera sensor

2012-03-02 Thread Laurent Pinchart
From: Martin Hostettler mar...@neutronstar.dyndns.org The MT9M032 is a parallel 1.6MP sensor from Micron controlled through I2C. The driver creates a V4L2 subdevice. It currently supports cropping, gain, exposure and v/h flipping controls in monochrome mode with an external pixel clock.

[PATCH v2 02/10] mt9m032: Reorder code into section and whitespace cleanups

2012-03-02 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/mt9m032.c | 162 +--- 1 files changed, 85 insertions(+), 77 deletions(-) diff --git a/drivers/media/video/mt9m032.c b/drivers/media/video/mt9m032.c index

[PATCH v2 06/10] mt9m032: Pass an i2c_client pointer to the register read/write functions

2012-03-02 Thread Laurent Pinchart
Replace the mt9m032 * argument to register read/write functions with an i2c_client *. As the register access functions are often called several times in a single location, this removes several casts at runtime. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH v2 05/10] mt9m032: Enclose to_dev() macro argument in brackets

2012-03-02 Thread Laurent Pinchart
To make the macro safer to use, enclose its argument in brackets in the macro's body. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/mt9m032.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mt9m032.c

[PATCH v2 09/10] v4l: Aptina-style sensor PLL support

2012-03-02 Thread Laurent Pinchart
Add a generic helper function to compute PLL parameters for PLL found in several Aptina sensors. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/Kconfig |4 + drivers/media/video/Makefile |4 + drivers/media/video/aptina-pll.c | 120

[PATCH v2 10/10] mt9m032: Use generic PLL setup code

2012-03-02 Thread Laurent Pinchart
Compute the PLL parameters at runtime using the generic Aptina PLL helper. Remove the PLL parameters from platform data and pass the external clock and desired internal clock frequencies instead. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/mt9m032.c

[PATCH v2 08/10] mt9m032: Remove unneeded register read

2012-03-02 Thread Laurent Pinchart
There's not need to read register MT9M032_READ_MODE1 when setting up the PLL. Remove the read call. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/mt9m032.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git

[PATCH v2 03/10] mt9m032: Make get/set format/crop operations consistent across drivers

2012-03-02 Thread Laurent Pinchart
Modify the get/set format/crop operation handlers to match the existing pad-aware Aptina sensor drivers. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/mt9m032.c | 132 +++-- 1 files changed, 61 insertions(+), 71

[PATCH v2 07/10] mt9m032: Put HFLIP and VFLIP controls in a cluster

2012-03-02 Thread Laurent Pinchart
HFLIP and VFLIP are often set together to rotate the image by 180°. Putting the controls in a cluster makes sure they will always be applied together, getting rid of a race condition that could result in one bad frame. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH v2 04/10] mt9m032: Use module_i2c_driver() macro

2012-03-02 Thread Laurent Pinchart
Replace the custom driver init and exit functions by module_i2c_driver(). Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/mt9m032.c | 19 +-- 1 files changed, 1 insertions(+), 18 deletions(-) diff --git a/drivers/media/video/mt9m032.c

[PATCH] omap3isp: Fix frame number propagation

2012-03-02 Thread Laurent Pinchart
When propagating the frame number through the pipeline, the frame number must be incremented at frame start by the appropriate IRQ handler. This was properly handled for the CSI2 and CCP2 receivers, but not when the CCDC parallel interface is used. ADD frame number incrementation to the HS/VS

Re: [PATCH v3 09/33] v4l: Add subdev selections documentation

2012-03-02 Thread Sakari Ailus
Hi Laurent, On Tue, Feb 28, 2012 at 12:42:26PM +0100, Laurent Pinchart wrote: On Sunday 26 February 2012 23:42:19 Sakari Ailus wrote: Laurent Pinchart wrote: On Monday 20 February 2012 03:56:48 Sakari Ailus wrote: Add documentation for V4L2 subdev selection API. This changes also

[RFCv1 PATCH] Expose controls in debugfs

2012-03-02 Thread Hans Verkuil
Hi all, I've resumed work on something that was discussed ages ago: exposing controls in debugfs. It's quite useful in pvrusb2, but that code is completely custom. Creating a general method for this is the goal of this patch. The old thread can be found here:

Re: Kernel Display and Video API Consolidation mini-summit at ELC 2012 - Notes

2012-03-02 Thread Heiko Stübner
Am Freitag, 17. Februar 2012, 00:25:51 schrieb Laurent Pinchart: Hello everybody, First of all, I would like to thank all the attendees for their participation in the mini-summit that helped make the meeting a success. Here are my consolidated notes that cover both the Linaro Connect

[PATCH 1/1] omap3isp: Handle omap3isp_csi2_reset() errors

2012-03-02 Thread Sakari Ailus
Handle errors from omap3isp_csi2_reset() in omap3isp_csiphy_acquire(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/ispcsiphy.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/omap3isp/ispcsiphy.c

[GIT PULL FOR v3.4] Fix ivtv/control issues.

2012-03-02 Thread Hans Verkuil
I discovered that after the decoder controls were added to ivtv a lot of the controls went missing. The core reason was a bug in v4l2_ctrl_add_handler that was triggered for the first time due to the ivtv changes. So the first patch fixes that bug. The second reason was unnecessarily complex

Re: [RFCv1 PATCH] Expose controls in debugfs

2012-03-02 Thread Hans Verkuil
On Friday, March 02, 2012 14:36:16 Hans Verkuil wrote: Hi all, I've resumed work on something that was discussed ages ago: exposing controls in debugfs. It's quite useful in pvrusb2, but that code is completely custom. Creating a general method for this is the goal of this patch. The old

[GIT PULL v2] V4L custom compat_ioctl32 support and uvcvideo changes for v3.4

2012-03-02 Thread Laurent Pinchart
Hi Mauro, The following changes since commit e8ca6d20a65d9d94693a0ed99b12d95b882dc859: [media] tveeprom: update hauppauge tuner list thru 181 (2012-02-28 18:46:53 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/uvcvideo.git uvcvideo-next This now includes that

[PATCH v4 0/34] V4L2 subdev and sensor control changes, SMIA++ driver and N9 camera board code

2012-03-02 Thread Sakari Ailus
Hi everyone, This the fourth version of my patchset that contains: - Integer menu controls [2], - Selection IOCTL for subdevs [3], - Sensor control changes [5,7], - link_validate() media entity and V4L2 subdev pad ops, - OMAP 3 ISP driver improvements [4], - SMIA++ sensor driver, - rm680/rm696

[PATCH v4 07/34] v4l: Support s_crop and g_crop through s/g_selection

2012-03-02 Thread Sakari Ailus
Fall back to s_selection if s_crop isn't implemented by a driver. Same for g_selection / g_crop. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-subdev.c | 37 +++-- 1

[PATCH v4 26/34] omap3isp: Add information on external subdev to struct isp_pipeline

2012-03-02 Thread Sakari Ailus
Add pointer to external subdev, pixel rate of the external subdev and bpp of the format to struct isp_pipeline. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/ispvideo.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[PATCH v4 11/34] v4l: Image source control class

2012-03-02 Thread Sakari Ailus
Add image source control class. This control class is intended to contain low level controls which deal with control of the image capture process --- the A/D converter in image sensors, for example. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/controls.xml

[PATCH v4 20/34] omap3isp: Support additional in-memory compressed bayer formats

2012-03-02 Thread Sakari Ailus
This also prevents accessing NULL pointer in csi2_try_format(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/omap3isp/ispvideo.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff

[PATCH v4 03/34] vivi: Add an integer menu test control

2012-03-02 Thread Sakari Ailus
Add an integer menu test control for the vivi driver. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/vivi.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git

[PATCH v4 17/34] v4l: Improve sub-device documentation for pad ops

2012-03-02 Thread Sakari Ailus
Document that format related configuration is done through pad ops in case the driver does use the media framework. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt |9 + 1

[PATCH v4 28/34] omap3isp: Use external rate instead of vpcfg

2012-03-02 Thread Sakari Ailus
From: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Access pipe-external_rate instead of isp_ccdc.vpcfg.pixelclk. Also remove means to set the value for isp_ccdc_vpcfg.pixelclk. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/isp.c | 14

[PATCH v4 13/34] v4l: Document raw bayer 4CC codes

2012-03-02 Thread Sakari Ailus
Document guidelines how 4CC codes should be named. Only raw bayer is included currently. Other formats should be documented later on. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/video4linux/4CCs.txt | 32 1 files changed, 32 insertions(+),

[PATCH v4 34/34] rm680: Add camera init

2012-03-02 Thread Sakari Ailus
From: Sakari Ailus sakari.ai...@maxwell.research.nokia.com This currently introduces an extra file to the arch/arm/mach-omap2 directory: board-rm680-camera.c. Keeping the device tree in mind, the context of the file could be represented as static data with one exception: the external clock to the

[PATCH v4 31/34] omap3isp: Configure CSI-2 phy based on platform data

2012-03-02 Thread Sakari Ailus
Configure CSI-2 phy based on platform data in the ISP driver. For that, the new V4L2_CID_IMAGE_SOURCE_PIXEL_RATE control is used. Previously the same was configured from the board code. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH v4 32/34] omap3isp: Add resizer data rate configuration to resizer_link_validate

2012-03-02 Thread Sakari Ailus
The configuration of many other blocks depend on resizer maximum data rate. Get the value from resizer at link validation time. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/ispresizer.c | 15 drivers/media/video/omap3isp/ispvideo.c | 54

[PATCH v4 25/34] omap3isp: Add lane configuration to platform data

2012-03-02 Thread Sakari Ailus
Add lane configuration (order of clock and data lane) to platform data on both CCP2 and CSI-2. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/omap3isp/ispcsiphy.h | 15 ++-

[PATCH v4 23/34] omap3isp: Move setting constaints above media_entity_pipeline_start

2012-03-02 Thread Sakari Ailus
The clock rate for l3_ick is will soon be read during pipeline validation which is now part of media_entity_pipeline_start(). For that reason we set constraints earlier on. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/ispvideo.c | 14 +++--- 1 files

[PATCH v4 29/34] omap3isp: Default link validation for ccp2, csi2, preview and resizer

2012-03-02 Thread Sakari Ailus
Use default link validation for ccp2, csi2, preview and resizer. On ccp2, csi2 and ccdc we also collect information on external subdevs as one may be connected to those entities. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/ispccp2.c|1 +

[PATCH v4 27/34] omap3isp: Introduce isp_video_check_external_subdevs()

2012-03-02 Thread Sakari Ailus
isp_video_check_external_subdevs() will retrieve external subdev's bits-per-pixel and pixel rate for the use of other ISP subdevs at streamon time. isp_video_check_external_subdevs() is called after pipeline validation. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[PATCH v4 30/34] omap3isp: Move CCDC link validation to ccdc_link_validate()

2012-03-02 Thread Sakari Ailus
Perform CCDC link validation in ccdc_link_validate() instead of isp_video_validate_pipeline(). Also perform maximum data rate check in isp_video_check_external_subdevs(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/ispccdc.c | 65 +

[PATCH v4 24/34] omap3isp: Assume media_entity_pipeline_start may fail

2012-03-02 Thread Sakari Ailus
Since media_entity_pipeline_start() now does link validation, it may actually fail. Perform the error handling. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/omap3isp/ispvideo.c | 53 +-- 1 files changed, 29 insertions(+), 24 deletions(-)

[PATCH v4 12/34] v4l: Image processing control class

2012-03-02 Thread Sakari Ailus
Add control class for image processing controls. The control class deals with controls processing image, for example digital gain or noise filtering, which can be present in any part of the pipeline. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/controls.xml

[PATCH v4 22/34] omap3: add definition for CONTROL_CAMERA_PHY_CTRL

2012-03-02 Thread Sakari Ailus
This register is available only in OMAP3630. The original patch was submitted by Vimarsh Zutshi. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/mach-omap2/control.h |1 + 1 files changed, 1 insertions(+), 0

[PATCH v4 21/34] omap3isp: Move definitions required by board code under include/media.

2012-03-02 Thread Sakari Ailus
XCLK definitions are often required by the board code. Move them to public include file. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/omap3isp/isp.h |4 include/media/omap3isp.h |4

[PATCH v4 14/34] v4l: Add DPCM compressed formats

2012-03-02 Thread Sakari Ailus
Add three other colour orders for 10-bit to 8-bit DPCM compressed formats. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/pixfmt-srggb10.xml |2 +- .../DocBook/media/v4l/pixfmt-srggb10dpcm8.xml | 29

[PATCH v4 19/34] v4l: Allow changing control handler lock

2012-03-02 Thread Sakari Ailus
Allow choosing the lock used by the control handler. This may be handy sometimes when a driver providing multiple subdevs does not want to use several locks to serialise its functions. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/adp1653.c|8 +++---

[PATCH v4 15/34] media: Add link_validate() op to check links to the sink pad

2012-03-02 Thread Sakari Ailus
The purpose of the link_validate() op is to allow an entity driver to ensure that the properties of the pads at the both ends of the link are suitable for starting the pipeline. link_validate is called on sink pads on active links which belong to the active part of the graph. Signed-off-by:

[PATCH v4 18/34] v4l: Implement v4l2_subdev_link_validate()

2012-03-02 Thread Sakari Ailus
v4l2_subdev_link_validate() is the default op for validating a link. In V4L2 subdev context, it is used to call a pad op which performs the proper link check without much extra work. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/video4linux/v4l2-framework.txt | 12 +

[PATCH v4 16/34] media: Collect entities that are part of the pipeline before link validation

2012-03-02 Thread Sakari Ailus
Make information available which entities are part of the pipeline before link_validate() ops are being called. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/media-entity.c | 23 --- include/media/media-entity.h |1 + 2 files changed, 21

[PATCH v4 09/34] v4l: Add subdev selections documentation

2012-03-02 Thread Sakari Ailus
Add documentation for V4L2 subdev selection API. This changes also experimental V4L2 subdev API so that scaling now works through selection API only. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/Makefile |4 +-

[PATCH v4 10/34] v4l: Mark VIDIOC_SUBDEV_G_CROP and VIDIOC_SUBDEV_S_CROP obsolete

2012-03-02 Thread Sakari Ailus
These two IOCTLS are obsoleted by VIDIOC_SUBDEV_G_SELECTION and VIDIOC_SUBDEV_S_SELECTION. Mark them obsolete. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/compat.xml |7 +++

[PATCH v4 02/34] v4l: Document integer menu controls

2012-03-02 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/compat.xml | 10 + Documentation/DocBook/media/v4l/v4l2.xml |6 +++ .../DocBook/media/v4l/vidioc-queryctrl.xml |

[PATCH v4 04/34] v4l: VIDIOC_SUBDEV_S_SELECTION and VIDIOC_SUBDEV_G_SELECTION IOCTLs

2012-03-02 Thread Sakari Ailus
Add support for VIDIOC_SUBDEV_S_SELECTION and VIDIOC_SUBDEV_G_SELECTION IOCTLs. They replace functionality provided by VIDIOC_SUBDEV_S_CROP and VIDIOC_SUBDEV_G_CROP IOCTLs and also add new functionality (composing). VIDIOC_SUBDEV_G_CROP and VIDIOC_SUBDEV_S_CROP continue to be supported.

[PATCH v4 01/34] v4l: Introduce integer menu controls

2012-03-02 Thread Sakari Ailus
Create a new control type called V4L2_CTRL_TYPE_INTEGER_MENU. Integer menu controls are just like menu controls but the menu items are 64-bit integers rather than strings. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Tested-by:

[PATCH v4 05/34] v4l: vdev_to_v4l2_subdev() should have return type struct v4l2_subdev *

2012-03-02 Thread Sakari Ailus
vdev_to_v4l2_subdev() should return struct v4l2_subdev *, not void *. Fix this. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v4 06/34] v4l: Check pad number in get try pointer functions

2012-03-02 Thread Sakari Ailus
Unify functions to get try pointers and validate the pad number accessed by the user. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- include/media/v4l2-subdev.h | 30 +- 1 files changed, 13 insertions(+), 17 deletions(-) diff --git

Re: [PATCH v3 09/33] v4l: Add subdev selections documentation

2012-03-02 Thread Laurent Pinchart
Hi Sakari, On Friday 02 March 2012 14:24:40 Sakari Ailus wrote: On Tue, Feb 28, 2012 at 12:42:26PM +0100, Laurent Pinchart wrote: On Sunday 26 February 2012 23:42:19 Sakari Ailus wrote: Laurent Pinchart wrote: On Monday 20 February 2012 03:56:48 Sakari Ailus wrote: + /section

Re: [PATCH] omap3isp: Fix frame number propagation

2012-03-02 Thread Sakari Ailus
Hi Laurent, On Fri, Mar 02, 2012 at 11:49:02AM +0100, Laurent Pinchart wrote: When propagating the frame number through the pipeline, the frame number must be incremented at frame start by the appropriate IRQ handler. This was properly handled for the CSI2 and CCP2 receivers, but not when the

Re: [PATCH v3 09/33] v4l: Add subdev selections documentation

2012-03-02 Thread Sakari Ailus
Hi Laurent, On Fri, Mar 02, 2012 at 06:54:48PM +0100, Laurent Pinchart wrote: Hi Sakari, On Friday 02 March 2012 14:24:40 Sakari Ailus wrote: On Tue, Feb 28, 2012 at 12:42:26PM +0100, Laurent Pinchart wrote: On Sunday 26 February 2012 23:42:19 Sakari Ailus wrote: Laurent Pinchart

Re: [PATCH] omap3isp: Fix frame number propagation

2012-03-02 Thread Laurent Pinchart
Hi Sakari, On Friday 02 March 2012 19:58:59 Sakari Ailus wrote: On Fri, Mar 02, 2012 at 11:49:02AM +0100, Laurent Pinchart wrote: When propagating the frame number through the pipeline, the frame number must be incremented at frame start by the appropriate IRQ handler. This was properly

Re: [PATCH 1/1] omap3isp: Handle omap3isp_csi2_reset() errors

2012-03-02 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Friday 02 March 2012 18:03:01 Sakari Ailus wrote: Handle errors from omap3isp_csi2_reset() in omap3isp_csiphy_acquire(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Applied to my tree with

Re: [PATCH/RFC][DRAFT] V4L: Add camera auto focus controls

2012-03-02 Thread Laurent Pinchart
Hi Sylwester, On Friday 02 March 2012 00:26:27 Sylwester Nawrocki wrote: Hi Laurent, On 03/01/2012 11:30 PM, Laurent Pinchart wrote: One option would be to disable the focus area control when the focus distance is set to a value different than normal (or the other way around). Control

Re: + drivers-media-video-uvc-uvc_driverc-use-linux-atomich.patch added to -mm tree

2012-03-02 Thread Laurent Pinchart
Hi Andrew, Thanks for the patch. On Thursday 01 March 2012 14:56:29 a...@linux-foundation.org wrote: The patch titled Subject: drivers/media/video/uvc/uvc_driver.c: use linux/atomic.h has been added to the -mm tree. Its filename is

Re: [PATCH v2 09/10] v4l: Aptina-style sensor PLL support

2012-03-02 Thread Sakari Ailus
Hi Laurent, Thanks for the patch. On Fri, Mar 02, 2012 at 11:44:06AM +0100, Laurent Pinchart wrote: Add a generic helper function to compute PLL parameters for PLL found in several Aptina sensors. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

cron job: media_tree daily build: WARNINGS

2012-03-02 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 Mar 2 19:00:17 CET 2012 git hash:e8ca6d20a65d9d94693a0ed99b12d95b882dc859 gcc version: i686-linux-gcc

[PATCH 3.0.y 0/4] Re: lirc_serial spuriously claims assigned port and irq to be in use

2012-03-02 Thread Jonathan Nieder
Ben Hutchings wrote: On Thu, 2012-03-01 at 21:45 -0600, Jonathan Nieder wrote: Would some of these patches (e.g., at least patches 1, 2, and 5) be appropriate for inclusion in the 3.0.y and 3.2.y stable kernels from kernel.org? Assuming they haven't caused any regressions, I think

[PATCH 1/4] [media] staging: lirc_serial: Fix init/exit order

2012-03-02 Thread Jonathan Nieder
From: Ben Hutchings b...@decadent.org.uk Date: Wed, 16 Nov 2011 01:49:41 -0300 commit 9105b8b200410383d0854bbe237ee385d7d33ba6 upstream. Currently the module init function registers a platform_device and only then allocates its IRQ and I/O region. This allows allocation to race with the

[PATCH 2/4] [media] staging: lirc_serial: Free resources on failure paths of lirc_serial_probe()

2012-03-02 Thread Jonathan Nieder
From: Ben Hutchings b...@decadent.org.uk Date: Wed, 16 Nov 2011 01:52:11 -0300 commit c8e57e1b766c2321aa76ee5e6878c69bd2313d62 upstream. Failure to allocate the I/O region leaves the IRQ allocated. A later failure leaves them both allocated. Reported-by: Torsten Crass torsten.cr...@ebiology.de

[PATCH 3/4] [media] staging: lirc_serial: Fix deadlock on resume failure

2012-03-02 Thread Jonathan Nieder
From: Ben Hutchings b...@decadent.org.uk Date: Wed, 16 Nov 2011 01:53:25 -0300 commit 1ff1d88e862948ae5bfe490248c023ff8ac2855d upstream. A resume function cannot remove the device it is resuming! Signed-off-by: Ben Hutchings b...@decadent.org.uk Signed-off-by: Mauro Carvalho Chehab

[PATCH 4/4] [media] staging: lirc_serial: Do not assume error codes returned by request_irq()

2012-03-02 Thread Jonathan Nieder
From: Ben Hutchings b...@decadent.org.uk Date: Wed, 16 Nov 2011 01:54:04 -0300 commit affc9a0d59ac49bd304e2137bd5e4ffdd6fdfa52 upstream. lirc_serial_probe() must fail if request_irq() returns an error, even if it isn't EBUSY or EINVAL, Signed-off-by: Ben Hutchings b...@decadent.org.uk

Re: [PATCH 3.0.y 0/4] Re: lirc_serial spuriously claims assigned port and irq to be in use

2012-03-02 Thread Greg Kroah-Hartman
On Fri, Mar 02, 2012 at 02:39:13PM -0600, Jonathan Nieder wrote: Ben Hutchings wrote: On Thu, 2012-03-01 at 21:45 -0600, Jonathan Nieder wrote: Would some of these patches (e.g., at least patches 1, 2, and 5) be appropriate for inclusion in the 3.0.y and 3.2.y stable kernels from

Re: [PATCH 1/3] dma-buf: don't hold the mutex around map/unmap calls

2012-03-02 Thread Rob Clark
On Thu, Mar 1, 2012 at 9:35 AM, Daniel Vetter daniel.vet...@ffwll.ch wrote: The mutex protects the attachment list and hence needs to be held around the callbakc to the exporters (optional) attach/detach functions. Holding the mutex around the map/unmap calls doesn't protect any dma_buf

[PATCH] STV0288 increase delay between carrier search.

2012-03-02 Thread Malcolm Priestley
The current delay of 30uS is too short to recover any carrier. In the lmedm04 driver delays were added to overcome carrier lock problems. The typical delay was 30mS (2 x 15ms register write 0x2c and read 0x24). Other drivers that use STV0288 don't appear to have any delay are likely to have also

[PATCH] lmedm04 ver 1.97 Remove delays required for STV0288

2012-03-02 Thread Malcolm Priestley
Remove delays added for STV0288 frontend. This patch significantly speeds up channel change and scan. It requires patch 10161-STV0288 increase delay between carrier search. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c |6 +- 1 files

Re: [PATCH 2/3] dma-buf: add support for kernel cpu access

2012-03-02 Thread Rob Clark
On Thu, Mar 1, 2012 at 9:36 AM, Daniel Vetter daniel.vet...@ffwll.ch wrote: Big differences to other contenders in the field (like ion) is that this also supports highmem, so we have to split up the cpu access from the kernel side into a prepare and a kmap step. Prepare is allowed to fail and

Re: [PATCH 3/3] dma_buf: Add documentation for the new cpu access support

2012-03-02 Thread Rob Clark
minor comments from the typo-police.. On Thu, Mar 1, 2012 at 9:36 AM, Daniel Vetter daniel.vet...@ffwll.ch wrote: Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch ---  Documentation/dma-buf-sharing.txt |  102 +++-  1 files changed, 99 insertions(+), 3

Re: [Linaro-mm-sig] [PATCH 2/3] dma-buf: add support for kernel cpu access

2012-03-02 Thread Chris Wilson
On Thu, 1 Mar 2012 16:36:00 +0100, Daniel Vetter daniel.vet...@ffwll.ch wrote: Big differences to other contenders in the field (like ion) is that this also supports highmem, so we have to split up the cpu access from the kernel side into a prepare and a kmap step. Prepare is allowed to

Re: [PATCH v2 10/10] mt9m032: Use generic PLL setup code

2012-03-02 Thread Sakari Ailus
Hi Laurent, Thanks for the patch. On Fri, Mar 02, 2012 at 11:44:07AM +0100, Laurent Pinchart wrote: Compute the PLL parameters at runtime using the generic Aptina PLL helper. Remove the PLL parameters from platform data and pass the external clock and desired internal clock frequencies

Re: [PATCH] Various nits, fixes and hacks for mantis CA support on SMP

2012-03-02 Thread Marko Ristola
Hi Nice work. I looked your code very shortly. I'm not happy with I2CDONE busy looping either. I've tried twice lately to swith into I2C IRQ, but those patches have caused I2CDONE timeouts. Do my following I2C logic thoughts make any sense? I2C bus might have some underlying requirements:

Re: [Linaro-mm-sig] [PATCH 2/3] dma-buf: add support for kernel cpu access

2012-03-02 Thread Rob Clark
On Fri, Mar 2, 2012 at 4:38 PM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Thu,  1 Mar 2012 16:36:00 +0100, Daniel Vetter daniel.vet...@ffwll.ch wrote: Big differences to other contenders in the field (like ion) is that this also supports highmem, so we have to split up the cpu access

Re: [PATCH] Various nits, fixes and hacks for mantis CA support on SMP

2012-03-02 Thread Steinar H. Gunderson
On Sat, Mar 03, 2012 at 12:42:19AM +0200, Marko Ristola wrote: I'm not happy with I2CDONE busy looping either. I've tried twice lately to swith into I2C IRQ, but those patches have caused I2CDONE timeouts. Note that there are already timeouts with the current polling code, but they are

Re: [PATCH 3/3] dma_buf: Add documentation for the new cpu access support

2012-03-02 Thread Sakari Ailus
Hi Daniel, Thanks for the patch. On Thu, Mar 01, 2012 at 04:36:01PM +0100, Daniel Vetter wrote: Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- Documentation/dma-buf-sharing.txt | 102 +++- 1 files changed, 99 insertions(+), 3 deletions(-) diff

Re: [PATCH 3.0.y 0/4] Re: lirc_serial spuriously claims assigned port and irq to be in use

2012-03-02 Thread Jonathan Nieder
Greg Kroah-Hartman wrote: I'll look at these, but please, in the future, send all stable patches to sta...@vger.kernel.org as there are other stable trees that people maintain and they watch that list... Thanks, Greg. Will do. -- To unsubscribe from this list: send the line unsubscribe

Re: My Microdia (SN9C201) webcam doesn't work properly in Linux anymore

2012-03-02 Thread Hans de Goede
Hi, On 03/03/2012 01:23 AM, Xavion wrote: My Microdia (SN9C201) webcam was working in Linux, but it has been failing lately. Take a look at the attached snapshot to see what I mean. It's like that all the time in Linux these days, but it works perfectly in Windows. Thanks for the picture