length of card field in v4l2_capability

2010-07-20 Thread Ozan Çağlayan
Hi, the card field in struct v4l2_capability has a length equal to 32 which leads to weird card names like this: Avermedia PCI pure analog (M135 which is defined as: .name = Avermedia PCI pure analog (M135A), in saa7134/saa7134-cards.c. Is there a way to get the full card name

Re: [PATCH 04/17] cx25840: Make cx25840 i2c register read transactions atomic

2010-07-20 Thread Jean Delvare
Hi Andy, On Mon, 19 Jul 2010 21:11:46 -0400, Andy Walls wrote: There was a small window between writing the cx25840 register address over the i2c bus and reading the register contents back from the cx25840 device that the i2c adapter lock was released. This change ensures the adapter lock

CAM Support for Terratec Cinergy S2 HD or Technisat SkyStar HD2

2010-07-20 Thread code unknown
Hi, I am using a Terratec Cinergy S2 HD with Mantis driver and so far the card runs without problems. The only thing is that CAM seems not to be supported - it is defined out from the source code: #if 0 err = mantis_ca_init(mantis); if (err 0) { dprintk(MANTIS_ERROR, 1, ERROR:

Re: [RFC] [PATCH 0/6] Add camera support to the OMAP1 Amstrad Delta videophone

2010-07-20 Thread Guennadi Liakhovetski
Hi Janusz On Sun, 18 Jul 2010, Janusz Krzysztofik wrote: This series consists of the following patches: 1/6 SoC Camera: add driver for OMAP1 camera interface 2/6 OMAP1: Add support for SoC camera interface 3/6 SoC Camera: add driver for OV6650 sensor 4/6 SoC Camera: add support

[PATCH v6 0/5] WL1273 FM Radio driver...

2010-07-20 Thread Matti J. Aaltonen
Hello All! And thank for comments Hans and Mauro. Here is the list of changes from v5: include/linux/videodev2.h Hans wrote: + +#define V4L2_CID_FM_RX_BAND (V4L2_CID_FM_TX_CLASS_BASE + 1) +enum v4l2_fm_rx_band { Just a very small change: rename v4l2_fm_rx_band to

[PATCH v6 2/5] MFD: WL1273 FM Radio: MFD driver for the FM radio.

2010-07-20 Thread Matti J. Aaltonen
This is a parent driver for two child drivers: the V4L2 driver and the ALSA codec driver. The MFD part provides the I2C communication to the device and a couple of functions that are called from both children. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com ---

[PATCH v6 3/5] ASoC: WL1273 FM Radio Digital audio codec.

2010-07-20 Thread Matti J. Aaltonen
The codec handles digital audio input to and output from the WL1273 FM radio. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- sound/soc/codecs/Kconfig |6 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/wl1273.c | 593 +

[PATCH v6 5/5] Documentation: v4l: Add hw_seek spacing and FM_RX class

2010-07-20 Thread Matti J. Aaltonen
Add a couple of words about the spacing field in ithe HW seek struct and about the new FM RX control class. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- Documentation/DocBook/v4l/controls.xml | 71 .../DocBook/v4l/vidioc-s-hw-freq-seek.xml

[PATCH v6 4/5] V4L2: WL1273 FM Radio: Controls for the FM radio.

2010-07-20 Thread Matti J. Aaltonen
This file implements V4L2 controls for using the Texas Instruments WL1273 FM Radio. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- drivers/media/radio/Kconfig| 15 + drivers/media/radio/Makefile |1 + drivers/media/radio/radio-wl1273.c | 1960

[PATCH v6 1/5] V4L2: Add seek spacing and FM RX class.

2010-07-20 Thread Matti J. Aaltonen
Add spacing field to v4l2_hw_freq_seek and also add FM RX class to control classes. Signed-off-by: Matti J. Aaltonen matti.j.aalto...@nokia.com --- drivers/media/video/v4l2-common.c | 12 include/linux/videodev2.h | 15 ++- 2 files changed, 26 insertions(+),

Re: CAM Support for Terratec Cinergy S2 HD or Technisat SkyStar HD2

2010-07-20 Thread Emmanuel
code unknown a écrit : Hi, I am using a Terratec Cinergy S2 HD with Mantis driver and so far the card runs without problems. The only thing is that CAM seems not to be supported - it is defined out from the source code: #if 0 err = mantis_ca_init(mantis); if (err 0) {

Re: [PATCH 04/17] cx25840: Make cx25840 i2c register read transactions atomic

2010-07-20 Thread Andy Walls
On Tue, 2010-07-20 at 08:42 +0200, Jean Delvare wrote: Hi Andy, On Mon, 19 Jul 2010 21:11:46 -0400, Andy Walls wrote: There was a small window between writing the cx25840 register address over the i2c bus and reading the register contents back from the cx25840 device that the i2c adapter

Re: [PATCH 04/17] cx25840: Make cx25840 i2c register read transactions atomic

2010-07-20 Thread Jean Delvare
On Tue, 20 Jul 2010 08:35:26 -0400, Andy Walls wrote: On Tue, 2010-07-20 at 08:42 +0200, Jean Delvare wrote: Hi Andy, On Mon, 19 Jul 2010 21:11:46 -0400, Andy Walls wrote: There was a small window between writing the cx25840 register address over the i2c bus and reading the register

HELP: Interface a CMOS sensor with the DM355 (fwd)

2010-07-20 Thread Guennadi Liakhovetski
Forwarding on authors's behalf. Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- Forwarded message -- Date: Tue, 20 Jul 2010 11:01:36 +0200 From: ibrahima sakho ibrahima_sa...@hotmail.com Subject: HELP: Interface

Re: [RFC/PATCH 05/10] media: Reference count and power handling

2010-07-20 Thread Laurent Pinchart
Hi Sakari, On Monday 19 July 2010 13:20:33 Sakari Ailus wrote: Hans Verkuil wrote: +/* + * Apply use count change to an entity and change power state based on + * new use count. + */ +static int media_entity_power_apply_one(struct media_entity *entity, int change) +{ +int

Re: [RFC/PATCH 05/10] media: Reference count and power handling

2010-07-20 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Heippa, ... To summarize the discussion, what should I change here ? Just remove the ret = in the second set_power call ? Yes, and also return 0 instead of ret, which is always zero at that point. -- Sakari Ailus sakari.ai...@maxwell.research.nokia.com

Re: [RFC] [PATCH 0/6] Add camera support to the OMAP1 Amstrad Delta videophone

2010-07-20 Thread Janusz Krzysztofik
Tuesday 20 July 2010 11:49:54 Guennadi Liakhovetski wrote: Hi Janusz Hi Guennadi, Thanks for your answer. On Sun, 18 Jul 2010, Janusz Krzysztofik wrote: This series consists of the following patches: 1/6 SoC Camera: add driver for OMAP1 camera interface 2/6 OMAP1: Add

[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS

2010-07-20 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:Tue Jul 20 19:00:19 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14993:9652f85e688a git master:

Re: mmotm 2010-07-19-16-37 uploaded

2010-07-20 Thread Valdis . Kletnieks
On Mon, 19 Jul 2010 16:38:09 PDT, a...@linux-foundation.org said: The mm-of-the-moment snapshot 2010-07-19-16-37 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ (Andrew - did we lose a bunch of -swedish-chef-fix-fix-fix.patch files? This is the second thing that I reported

Re: mmotm 2010-07-19-16-37 uploaded

2010-07-20 Thread Jarod Wilson
On Tue, Jul 20, 2010 at 04:41:32PM -0400, valdis.kletni...@vt.edu wrote: On Mon, 19 Jul 2010 16:38:09 PDT, a...@linux-foundation.org said: The mm-of-the-moment snapshot 2010-07-19-16-37 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ (Andrew - did we lose a bunch of

Re: mmotm 2010-07-19-16-37 uploaded

2010-07-20 Thread Valdis . Kletnieks
On Tue, 20 Jul 2010 13:50:27 PDT, Dmitry Torokhov said: And things go downhill from there... I guess you need these 2 from Jarod... Hmm. I seem to remember 2 similar patches from the last time I reported it. :) System boots fine after applying those two patches. I'll let somebody else

Re: mmotm 2010-07-19-16-37 uploaded

2010-07-20 Thread Jarod Wilson
On Tue, Jul 20, 2010 at 05:11:40PM -0400, valdis.kletni...@vt.edu wrote: On Tue, 20 Jul 2010 13:50:27 PDT, Dmitry Torokhov said: And things go downhill from there... I guess you need these 2 from Jarod... Hmm. I seem to remember 2 similar patches from the last time I reported it. :)

[patch 1/2] dib3000mc: reduce large stack usage fix

2010-07-20 Thread akpm
From: Andrew Morton a...@linux-foundation.org s/ENODEV/ENOMEM, per Andreas. This fix got lost when someone merged dib3000mc: reduce large stack usage. Please don't lose fixes. Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: Patrick Boettcher pboettc...@dibcom.fr Cc: Randy Dunlap

[patch 2/2] drivers/video/omap2/displays: add missing mutex_unlock

2010-07-20 Thread akpm
From: Julia Lawall ju...@diku.dk Add a mutex_unlock missing on the error paths. The use of the mutex is balanced elsewhere in the file. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression E1; @@ * mutex_lock(E1,...); +... when != E1

Is it feasible to add another driver for CCIC?

2010-07-20 Thread Jun Nie
Hi, I am working on CCIC camera controller driver and want to push it into kernel. This CCIC IP is similar with IP of cafe_ccic, but with lots of change: no I2C bus, embedded in SOC/no PCI, support both parallel and CSI interface. So some register definition changes. I just want to confirm