Re: [PATCH v3] tuner_xc2028: Allow selection of the frequency adjustment code for XC3028

2011-07-29 Thread Alina Friedrichsen
Hi Mauro and Devin, first I'm a she. Could you please check if the enclosed patch fixes the tuner issue? Use it instead of the patch you've made. If it doesn't work, please send us the dmesg logs with tuner-xc2028 debug enabled. Great, it works! :) Much, much thanks. Please let this

[PATH v2] cxd2820r: fix possible out-of-array lookup

2011-07-29 Thread HoP
When I2C_WRITE is used the msg[] array contains one element only. Don't access msg[1] in that case. Also moved rest of msg2[1] setting to be used only if needed. Signed-off-by: Honza Petrous jpetr...@smartimp.cz --- diff -r ae517614bf00 drivers/media/dvb/frontends/cxd2820r_core.c ---

Re: [PATCHv2] adp1653: check error code of adp1653_init_controls

2011-07-29 Thread Andy Shevchenko
On Thu, 2011-07-28 at 16:34 +0200, Laurent Pinchart wrote: - adp1653_init_controls(flash); + ret = adp1653_init_controls(flash); + if (ret) + goto free_and_quit; ret = media_entity_init(flash-subdev.entity, 0, NULL, 0); if (ret 0) -

mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
Dear all, I'm playing with imx27ipcam reference design and I would like to use more recent (or actual) kernel than the one in BSP (2.6.19). I had no problems with running 2.6.39 version from mainline, and now I want to get some signal from CMOS chip. As there is no driver for mt9d131 yet I

Re: [PATCH 2/3] v4l: events: Define frame start event

2011-07-29 Thread Sakari Ailus
On Thu, Jul 28, 2011 at 10:36:57PM +0200, Laurent Pinchart wrote: Hi Sakari, Hi, Laurent! On Thursday 28 July 2011 22:28:57 Sakari Ailus wrote: On Thu, Jul 28, 2011 at 01:52:21PM +0200, Laurent Pinchart wrote: On Tuesday 26 July 2011 20:49:43 Sakari Ailus wrote: [snip] +table

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Uwe Kleine-König
Hello, On Fri, Jul 29, 2011 at 09:31:28AM +0200, Jan Pohanka wrote: I'm playing with imx27ipcam reference design and I would like to use more recent (or actual) kernel than the one in BSP (2.6.19). I had no problems with running 2.6.39 version from mainline, and now I want to get some signal

Re: [PATCH v3] V4L: add two new ioctl()s for multi-size videobuffer management

2011-07-29 Thread Sakari Ailus
On Thu, Jul 28, 2011 at 02:42:52PM +0200, Hans Verkuil wrote: On Thursday, July 28, 2011 14:29:38 Guennadi Liakhovetski wrote: On Thu, 28 Jul 2011, Hans Verkuil wrote: On Thursday, July 28, 2011 06:11:38 Pawel Osciak wrote: Hi Guennadi, On Wed, Jul 20, 2011 at 01:43, Guennadi

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-07-29 Thread Sakari Ailus
On Wed, Jul 27, 2011 at 11:55:55PM -0300, Mauro Carvalho Chehab wrote: Hi Sylwester, Em 27-07-2011 13:35, Sylwester Nawrocki escreveu: Hi Mauro, The following changes since commit f0a21151140da01c71de636f482f2eddec2840cc: Merge tag 'v3.0' into staging/for_v3.1 (2011-07-22

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-07-29 Thread Laurent Pinchart
Hi Mauro, On Friday 29 July 2011 06:02:54 Mauro Carvalho Chehab wrote: Em 28-07-2011 19:57, Sylwester Nawrocki escreveu: On 07/28/2011 03:20 PM, Mauro Carvalho Chehab wrote: Accumulating sub-dev controls at the video node is the right thing to do. An MC-aware application will need to

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
Hi Uwe, thank you for answer. You are right I give no memory to camera device in mach-imx27ipcam.c. I have tried to do it in same way as it is in mach-pcm037.c but no success. Here is my init function static int __init mx27ipcam_camera_init(void) { int dma, ret = -ENOMEM;

Re: [PATCH] mt9p031: Aptina (Micron) MT9P031 5MP sensor driver

2011-07-29 Thread javier Martin
Hi Laurent, I've been reviewing and testing your patch as promised. On 27 July 2011 19:51, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: +static int mt9p031_pll_enable(struct mt9p031 *mt9p031) +{ +   struct i2c_client *client = v4l2_get_subdevdata(mt9p031-subdev); +   int ret;

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Uwe Kleine-König
Hi Jan, On Fri, Jul 29, 2011 at 10:59:55AM +0200, Jan Pohanka wrote: thank you for answer. You are right I give no memory to camera device in mach-imx27ipcam.c. I have tried to do it in same way as it is in mach-pcm037.c but no success. Here is my init function static int __init

Re: [PATCH 2/3] v4l: events: Define frame start event

2011-07-29 Thread Laurent Pinchart
Hi Sakari, On Friday 29 July 2011 09:44:46 Sakari Ailus wrote: On Thu, Jul 28, 2011 at 10:36:57PM +0200, Laurent Pinchart wrote: On Thursday 28 July 2011 22:28:57 Sakari Ailus wrote: On Thu, Jul 28, 2011 at 01:52:21PM +0200, Laurent Pinchart wrote: On Tuesday 26 July 2011 20:49:43

Re: [PATCH 2/3] v4l: events: Define frame start event

2011-07-29 Thread Sakari Ailus
On Fri, Jul 29, 2011 at 11:38:16AM +0200, Laurent Pinchart wrote: Hi Sakari, On Friday 29 July 2011 09:44:46 Sakari Ailus wrote: On Thu, Jul 28, 2011 at 10:36:57PM +0200, Laurent Pinchart wrote: On Thursday 28 July 2011 22:28:57 Sakari Ailus wrote: On Thu, Jul 28, 2011 at 01:52:21PM

Re: [PATCH 2/3] v4l: events: Define frame start event

2011-07-29 Thread Laurent Pinchart
On Friday 29 July 2011 11:54:03 Sakari Ailus wrote: On Fri, Jul 29, 2011 at 11:38:16AM +0200, Laurent Pinchart wrote: On Friday 29 July 2011 09:44:46 Sakari Ailus wrote: On Thu, Jul 28, 2011 at 10:36:57PM +0200, Laurent Pinchart wrote: On Thursday 28 July 2011 22:28:57 Sakari Ailus

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
Dear Uwe, which repository should I search 90026c8c823bff54172eab33a5e7fcecfd3df635 in? I have not found it in git.pengutronix.de/git/imx/linux-2.6.git nor in vanilla sources. regards Jan Dne Fri, 29 Jul 2011 11:23:12 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de napsal(a): Hi

Re: [PATCH] mt9p031: Aptina (Micron) MT9P031 5MP sensor driver

2011-07-29 Thread Laurent Pinchart
On Friday 29 July 2011 11:10:48 javier Martin wrote: Hi Laurent, I've been reviewing and testing your patch as promised. On 27 July 2011 19:51, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: +static int mt9p031_pll_enable(struct mt9p031 *mt9p031) +{ + struct

Re: [PATCH 2/3] v4l: events: Define frame start event

2011-07-29 Thread Sakari Ailus
On Fri, Jul 29, 2011 at 11:57:17AM +0200, Laurent Pinchart wrote: On Friday 29 July 2011 11:54:03 Sakari Ailus wrote: On Fri, Jul 29, 2011 at 11:38:16AM +0200, Laurent Pinchart wrote: On Friday 29 July 2011 09:44:46 Sakari Ailus wrote: On Thu, Jul 28, 2011 at 10:36:57PM +0200, Laurent

[PATCH 04/59] V4L: sh_mobile_ceu_camera: remove duplicated code

2011-07-29 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_ceu_camera.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index a322f83..aa187a4

[PATCH 01/59] V4L: sh_mobile_ceu_camera: output image sizes must be a multiple of 4

2011-07-29 Thread Guennadi Liakhovetski
CEU can only produce images with 4 pixel aligned width and height. Enforce this alignment, adjust comments and simplify some calculations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_ceu_camera.c | 49 +-- 1 files

[PATCH 02/59] V4L: sh_mobile_ceu_camera: don't try to improve client scaling, if perfect

2011-07-29 Thread Guennadi Liakhovetski
If the client has managed to configure the precise output format, we don't have to try to further improve it. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_ceu_camera.c | 21 - 1 files changed, 16 insertions(+), 5 deletions(-)

[PATCH 40/59] V4L: mt9m001: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m001.c | 41

[PATCH 42/59] V4L: imx074: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/imx074.c | 24

[PATCH 37/59] V4L: pxa_camera: convert to the new mbus-config subdev operations

2011-07-29 Thread Guennadi Liakhovetski
Switch from soc-camera specific .{query,set}_bus_param() to V4L2 subdevice .[gs]_mbus_config() operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/pxa_camera.c | 140 ++ 1 files changed, 80 insertions(+), 60

[PATCH 35/59] V4L: mt9m001, mt9v022: add a clarifying comment

2011-07-29 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m001.c |6 ++ drivers/media/video/mt9v022.c |6 ++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/mt9m001.c b/drivers/media/video/mt9m001.c index

[PATCH 41/59] V4L: mt9m111: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m111.c | 17

[PATCH 22/59] V4L: sh_mobile_csi2: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_csi2.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git

[PATCH 27/59] ARM: mach-shmobile: convert mackerel to mediabus flags

2011-07-29 Thread Guennadi Liakhovetski
Prepare the board to switch to the new subdevice media-bus configuration operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Paul Mundt let...@linux-sh.org --- arch/arm/mach-shmobile/board-mackerel.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH 18/59] V4L: ov9740: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov9740.c | 33 ++--- 1 files changed, 26 insertions(+), 7 deletions(-) diff --git

[PATCH 31/59] V4L: mx1_camera: convert to the new mbus-config subdev operations

2011-07-29 Thread Guennadi Liakhovetski
Switch from soc-camera specific .{query,set}_bus_param() to V4L2 subdevice .[gs]_mbus_config() operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mx1_camera.c | 71 ++--- 1 files changed, 42 insertions(+), 29

[PATCH 28/59] sh: convert ap325rxa to mediabus flags

2011-07-29 Thread Guennadi Liakhovetski
Prepare the board to switch to the new subdevice media-bus configuration operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Paul Mundt let...@linux-sh.org --- arch/sh/boards/mach-ap325rxa/setup.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH 50/59] sh: migor: remove unused ov772x buswidth flag

2011-07-29 Thread Guennadi Liakhovetski
The ov772x driver only supports 8 bits per sample pixel codes, hence the OV772X_FLAG_8BIT flag has no effect. Remove it. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Paul Mundt let...@linux-sh.org --- arch/sh/boards/mach-migor/setup.c |4 +--- 1 files changed, 1

[PATCH 49/59] sh: ap3rxa: remove redundant soc-camera platform data fields

2011-07-29 Thread Guennadi Liakhovetski
The sh_mobile_ceu_camera driver has been converted to use the V4L2 subdevice .[gs]_mbus_config() operations, therefore we don't need SOCAM_* flags for the soc_camera_platform driver anymore. The ov772x driver only supports 8 bits per sample pixel codes, hence the OV772X_FLAG_8BIT flag has no

[PATCH 20/59] ARM: ap4evb: switch imx074 configuration to default number of lanes

2011-07-29 Thread Guennadi Liakhovetski
The sh_mobile_csi2 driver will change meaning of the .lanes platform data field from bitmask of used lanes to number of used lanes. To avoid a regression during this transition switch ap4evb to rely on the 2 lane default. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Paul Mundt

[PATCH 55/59] V4L: sh_mobile_csi2: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_csi2.c | 31

[PATCH 57/59] V4L: soc_camera_platform: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/soc_camera_platform.c |

[PATCH 58/59] V4L: tw9910: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/tw9910.c | 53

[PATCH 59/59] V4L: soc-camera: remove soc-camera client bus-param operations and supporting code

2011-07-29 Thread Guennadi Liakhovetski
soc-camera has been completely ported over to V4L2 subdevice mbus-config operations, soc-camera client bus-param operations and supporting code can now be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/soc_camera.c | 34

[PATCH 51/59] V4L: ov772x: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov772x.c | 25

[PATCH 47/59] V4L: ov5642: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov5642.c | 24

[PATCH 33/59] V4L: ov2640: remove undefined struct

2011-07-29 Thread Guennadi Liakhovetski
struct ov2640_camera_info isn't declared anywhere, remove it. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov2640.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/ov2640.c b/drivers/media/video/ov2640.c index

[PATCH 54/59] V4L: rj54n1cb0c: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/rj54n1cb0c.c | 27

[PATCH 56/59] ARM: mach-shmobile: mackerel doesn't need legacy SOCAM_* flags anymore

2011-07-29 Thread Guennadi Liakhovetski
The sh_mobile_ceu_camera driver has been converted to use the V4L2 subdevice .[gs]_mbus_config() operations, therefore we don't need SOCAM_* flags for the soc_camera_platform driver anymore. Remove them. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Paul Mundt let...@linux-sh.org

[PATCH 46/59] V4L: ov2640: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov2640.c | 40

[PATCH 39/59] V4L: soc-camera: camera client operations no longer compulsory

2011-07-29 Thread Guennadi Liakhovetski
With the transition of all soc-camera host drivers to use V4L2 subdevice .[gs]_mbus_config() operations, soc-camera client operations no longer have to be compulsory. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/soc_camera.c | 10 -- 1 files

[PATCH 44/59] V4L: mt9t112: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9t112.c | 48

[PATCH 43/59] V4L: mt9t031: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9t031.c | 31

[PATCH 34/59] V4L: mx3_camera: convert to the new mbus-config subdev operations

2011-07-29 Thread Guennadi Liakhovetski
Switch from soc-camera specific .{query,set}_bus_param() to V4L2 subdevice .[gs]_mbus_config() operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mx3_camera.c | 197 +- 1 files changed, 89 insertions(+), 108

[PATCH 48/59] V4L: ov6650: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov6650.c | 50

[PATCH 45/59] V4L: mt9v022: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9v022.c | 74

[PATCH 30/59] V4L: atmel-isi: convert to the new mbus-config subdev operations

2011-07-29 Thread Guennadi Liakhovetski
Switch from soc-camera specific .{query,set}_bus_param() to V4L2 subdevice .[gs]_mbus_config() operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/atmel-isi.c | 136 +-- 1 files changed, 73 insertions(+), 63

[PATCH 52/59] V4L: ov9640: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov9640.c | 28

[PATCH 23/59] V4L: tw9910: remove a not really implemented cropping support

2011-07-29 Thread Guennadi Liakhovetski
Cropping is not really correctly implemented by this driver and only needlessly obfuscates the code. Remove it. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/tw9910.c | 129 +++--- 1 files changed, 46 insertions(+), 83

[PATCH 36/59] V4L: omap1_camera: convert to the new mbus-config subdev operations

2011-07-29 Thread Guennadi Liakhovetski
Switch from soc-camera specific .{query,set}_bus_param() to V4L2 subdevice .[gs]_mbus_config() operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/omap1_camera.c | 52 ++- 1 files changed, 33 insertions(+), 19

[PATCH 53/59] V4L: ov9740: remove superfluous soc-camera client operations

2011-07-29 Thread Guennadi Liakhovetski
Now that all soc-camera hosts have been ported to use V4L2 subdevice mediabus-config operations and soc-camera client bus-parameter operations have been made optional, they can be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov9740.c | 22

[PATCH 38/59] V4L: sh_mobile_ceu_camera: convert to the new mbus-config subdev operations

2011-07-29 Thread Guennadi Liakhovetski
Switch from soc-camera specific .{query,set}_bus_param() to V4L2 subdevice .[gs]_mbus_config() operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_ceu_camera.c | 156 +++- 1 files changed, 82 insertions(+), 74

[PATCH 25/59] V4L: soc_camera_platform: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/soc_camera_platform.c | 12 include/media/soc_camera_platform.h |3 +++ 2 files changed, 15 insertions(+),

[PATCH 26/59] V4L: soc-camera: compatible bus-width flags

2011-07-29 Thread Guennadi Liakhovetski
With the new subdevice media-bus configuration methods bus-width is not configured along with other bus parameters, instead, it is derived from the data format. With those methods it is convenient to specify supported bus-widths in the platform data as (1 (width - 1)). We redefine

[PATCH 29/59] ARM: PXA: use gpio_set_value_cansleep() on pcm990

2011-07-29 Thread Guennadi Liakhovetski
Camera-switching GPIOs are provided by a i2c GPIO extender, switching them can send the caller to sleep. Use the GPIO API *_cansleep methods explicitly to avoid runtime warnings. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Robert Jarzmik robert.jarz...@free.fr Cc: Eric Miao

[PATCH 24/59] V4L: tw9910: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/tw9910.c | 49 - 1 files changed, 47 insertions(+), 2 deletions(-) diff --git

[PATCH 12/59] V4L: ov2640: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov2640.c | 22 -- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/ov2640.c

[PATCH 15/59] V4L: ov772x: rename macros to not pollute the global namespace

2011-07-29 Thread Guennadi Liakhovetski
Macros, defined in a header under include/ should be kept in a local namespace and not pollute the global one. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov772x.c |8 include/media/ov772x.h | 25 - 2 files

[PATCH 14/59] V4L: ov6650: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov6650.c | 53 +- 1 files changed, 52 insertions(+), 1 deletions(-) diff --git

[PATCH 09/59] V4L: mt9t031: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9t031.c | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git

[PATCH 21/59] V4L: sh_mobile_csi2: verify client compatibility

2011-07-29 Thread Guennadi Liakhovetski
Switch the meaning of the .lanes platform data parameter to specify the number of used lanes instead of a bitmask. Verify bus configuration compatibility with client's capabilities. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_csi2.c | 58

[PATCH 10/59] V4L: mt9t112: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9t112.c | 81 + 1 files changed, 42 insertions(+), 39 deletions(-) diff --git

[PATCH 11/59] V4L: mt9v022: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9v022.c | 76 - 1 files changed, 75 insertions(+), 1 deletions(-) diff --git

[PATCH 19/59] V4L: rj54n1cb0c: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/rj54n1cb0c.c | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git

[PATCH 13/59] V4L: ov5642: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov5642.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/ov5642.c

[PATCH 06/59] V4L: soc-camera: add helper functions for new bus configuration type

2011-07-29 Thread Guennadi Liakhovetski
Add helper functions to process the new media bus configuration type similar to soc_camera_apply_sensor_flags() and soc_camera_bus_param_compatible(). Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/soc_camera.c | 34 ++

[PATCH 17/59] V4L: ov9640: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/ov9640.c | 22 -- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/ov9640.c

[PATCH 08/59] V4L: mt9m111: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m111.c | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mt9m111.c

[PATCH 07/59] V4L: mt9m001: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m001.c | 40 +++- 1 files changed, 39 insertions(+), 1 deletions(-) diff --git

[PATCH 05/59] V4L: imx074: support the new mbus-config subdev ops

2011-07-29 Thread Guennadi Liakhovetski
Extend the driver to also support [gs]_mbus_config() subdevice video operations. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/imx074.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/imx074.c

[PATCH 00/59] Convert soc-camera to .[gs]_mbus_config() subdev operations

2011-07-29 Thread Guennadi Liakhovetski
This patch-series converts all soc-camera client and host drivers and the core from soc-camera specific .{query,set}_bus_param() operations to the new .[gs]_mbus_config() subdev operations. In order to prevent bisect breakage we first have to only add new methods to client drivers, then

[PATCH 03/59] V4L: sh_mobile_ceu_camera: fix field addresses in interleaved mode

2011-07-29 Thread Guennadi Liakhovetski
In interlaced interleaved mode field offset for deinterlacing depends on the pixel format. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_ceu_camera.c | 25 +++-- 1 files changed, 19 insertions(+), 6 deletions(-) diff --git

Re: Trying to support for HAUPPAUGE HVR-930C

2011-07-29 Thread Eddi De Pieri
2011/7/28 Benjamin Larsson benja...@southpole.se: 0x82 is the address of the chip handling the analog signals(?) Micronas AVF 4910BA1 maybe. I don't have the schematic of hauppauge card, so I can't say you if 082 is the AVF 4910 So change the names so it is clear that this part sends

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Uwe Kleine-König
Hello Jan, On Fri, Jul 29, 2011 at 12:14:09PM +0200, Jan Pohanka wrote: which repository should I search 90026c8c823bff54172eab33a5e7fcecfd3df635 in? I have not found it in git.pengutronix.de/git/imx/linux-2.6.git nor in vanilla sources. Seems my copy'n'paste foo isn't optimal. Commit

[RFCv1 PATCH for v3.1] v4l2-ioctl: fix ENOTTY handling.

2011-07-29 Thread Hans Verkuil
Hi all, While converting v4l2-compliance to correctly handle ENOTTY errors I found several regressions in v4l2-ioctl.c: 1) VIDIOC_ENUM/G/S/TRY_FMT would return -ENOTTY if the op for the particular format type was not set, even though the op for other types might have been present. In such

Re: [PATCH] mt9p031: Aptina (Micron) MT9P031 5MP sensor driver

2011-07-29 Thread javier Martin
All right, it works like a charm for me. It took me a bit to figure out that binning and skipping is controlled through ratio between cropping window size and actual format size but it is clear now. Just one thing; both VFLIP (this one is my fault) and HFLIP controls change the pixel format of

Re: [PATH v2] cxd2820r: fix possible out-of-array lookup

2011-07-29 Thread Antti Palosaari
On 07/29/2011 09:57 AM, HoP wrote: When I2C_WRITE is used the msg[] array contains one element only. Don't access msg[1] in that case. Also moved rest of msg2[1] setting to be used only if needed. Signed-off-by: Honza Petrous jpetr...@smartimp.cz Acked-by: Antti Palosaari cr...@iki.fi

Re: Trying to support for HAUPPAUGE HVR-930C

2011-07-29 Thread Antti Palosaari
On 07/29/2011 02:15 PM, Eddi De Pieri wrote: 2011/7/28 Benjamin Larsson benja...@southpole.se: 0x82 is the address of the chip handling the analog signals(?) Micronas AVF 4910BA1 maybe. I don't have the schematic of hauppauge card, so I can't say you if 082 is the AVF 4910 Rather few Linux

Re: [PATCH] mt9p031: Aptina (Micron) MT9P031 5MP sensor driver

2011-07-29 Thread Laurent Pinchart
Hi Javier, On Friday 29 July 2011 14:31:12 javier Martin wrote: All right, it works like a charm for me. It took me a bit to figure out that binning and skipping is controlled through ratio between cropping window size and actual format size but it is clear now. Just one thing; both

Re: [PATCH 1/2] [media] rc-main: Fix device de-registration logic

2011-07-29 Thread Jarod Wilson
On Jul 29, 2011, at 1:53 AM, Mauro Carvalho Chehab wrote: rc unregister logic were deadly broken, preventing some drivers to be removed. Among the broken things, rc_dev_uevent() is being called during device_del(), causing a data filling on an area that it is not ready anymore. Also, some

Re: Trying to support for HAUPPAUGE HVR-930C

2011-07-29 Thread Devin Heitmueller
On Fri, Jul 29, 2011 at 7:15 AM, Eddi De Pieri e...@depieri.net wrote: 2011/7/28 Benjamin Larsson benja...@southpole.se: 0x82 is the address of the chip handling the analog signals(?) Micronas AVF 4910BA1 maybe. I don't have the schematic of hauppauge card, so I can't say you if 082 is the

[cron job] v4l-dvb daily build: ERRORS

2011-07-29 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Fri Jul 29 19:00:34 CEST 2011 git hash:fc9a876efa9c41f208dcac1de9ad79e118c91670 gcc version: i686-linux-gcc (GCC)

Re: [GIT PULL for v3.0] media updates for v3.1

2011-07-29 Thread Mauro Carvalho Chehab
Em 29-07-2011 17:01, Alina Friedrichsen escreveu: Hi Mauro, please include your patch cx23885-dvb: Fix demod IF. It works fine! Yes, I saw your email. Thanks for testing! I'll submit it on the next patch series. Before sending upstream, we first merge on our tree, and then send to

Re: Trying to support for HAUPPAUGE HVR-930C

2011-07-29 Thread Daniel Glöckner
On Fri, Jul 29, 2011 at 02:10:25PM -0400, Devin Heitmueller wrote: Yes, it's an avf4910b. I did a Linux driver for the AVFA for the Viewcast boards, but there isn't a driver for the AFVB at this time. Do you have a contact at Trident I can ask to get access to that data sheet? I have been

Re: [PATCH 1/2] [media] rc-main: Fix device de-registration logic

2011-07-29 Thread Jarod Wilson
On Jul 29, 2011, at 1:30 PM, Jarod Wilson wrote: On Jul 29, 2011, at 1:53 AM, Mauro Carvalho Chehab wrote: rc unregister logic were deadly broken, preventing some drivers to be removed. Among the broken things, rc_dev_uevent() is being called during device_del(), causing a data filling on

Re: [PATCH 1/2] [media] rc-main: Fix device de-registration logic

2011-07-29 Thread Mauro Carvalho Chehab
Em 29-07-2011 14:30, Jarod Wilson escreveu: On Jul 29, 2011, at 1:53 AM, Mauro Carvalho Chehab wrote: rc unregister logic were deadly broken, preventing some drivers to be removed. Among the broken things, rc_dev_uevent() is being called during device_del(), causing a data filling on an area

Re: [PATCH 1/2] [media] rc-main: Fix device de-registration logic

2011-07-29 Thread Jarod Wilson
On Jul 29, 2011, at 5:25 PM, Mauro Carvalho Chehab wrote: Em 29-07-2011 14:30, Jarod Wilson escreveu: On Jul 29, 2011, at 1:53 AM, Mauro Carvalho Chehab wrote: rc unregister logic were deadly broken, preventing some drivers to be removed. Among the broken things, rc_dev_uevent() is being

Re: [PATCH v3] V4L: add two new ioctl()s for multi-size videobuffer management

2011-07-29 Thread Pawel Osciak
Hi Hans, On Wed, Jul 27, 2011 at 23:56, Hans Verkuil hverk...@xs4all.nl wrote: On Thursday, July 28, 2011 06:11:38 Pawel Osciak wrote: Hi Guennadi, On Wed, Jul 20, 2011 at 01:43, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: A possibility to preallocate and initialise buffers of