Re: [RFC 1/2] dvb-core: add generic helper function for I2C register

2011-11-08 Thread Michael Krufky
On Tue, Nov 8, 2011 at 6:54 PM, Antti Palosaari wrote: > Function that splits and sends most typical I2C register write. > > Signed-off-by: Antti Palosaari > --- >  drivers/media/dvb/dvb-core/Makefile      |    2 +- >  drivers/media/dvb/dvb-core/dvb_generic.c |   48 >

Re: media0 not showing up on beagleboard-xm

2011-11-08 Thread Chris Whittenburg
On Tue, Nov 8, 2011 at 6:42 AM, Laurent Pinchart wrote: > Hi Chris, > > On Tuesday 08 November 2011 03:03:43 Chris Whittenburg wrote: >> On Mon, Nov 7, 2011 at 5:14 AM, Laurent Pinchart wrote: >> > On Monday 07 November 2011 12:08:15 Gary Thomas wrote: >> >> On 2011-11-06 15:26, Chris Whittenburg

Re: Using MT9P031 digital sensor

2011-11-08 Thread Laurent Pinchart
Hi Gary, On Tuesday 08 November 2011 14:38:55 Gary Thomas wrote: > On 2011-11-08 06:06, Laurent Pinchart wrote: > > On Tuesday 08 November 2011 13:52:25 Gary Thomas wrote: > >> On 2011-11-08 05:30, Javier Martinez Canillas wrote: > >>> On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas wrote: > On 2

[RFC 2/2] tda18218: use generic dvb_wr_regs()

2011-11-08 Thread Antti Palosaari
Signed-off-by: Antti Palosaari --- drivers/media/common/tuners/tda18218.c | 69 +- drivers/media/common/tuners/tda18218_priv.h |3 + 2 files changed, 17 insertions(+), 55 deletions(-) diff --git a/drivers/media/common/tuners/tda18218.c b/drivers/media/commo

[RFC 1/2] dvb-core: add generic helper function for I2C register

2011-11-08 Thread Antti Palosaari
Function that splits and sends most typical I2C register write. Signed-off-by: Antti Palosaari --- drivers/media/dvb/dvb-core/Makefile |2 +- drivers/media/dvb/dvb-core/dvb_generic.c | 48 ++ drivers/media/dvb/dvb-core/dvb_generic.h | 21 +

[RFC 0/2] add generic helper function for I2C register write

2011-11-08 Thread Antti Palosaari
This adds helper function for most typical I2C register write. Main reason was the fact I2C messages are are needed to split smaller parts as I2C-adapters cannot send all long messages used. Basically there is three different kind of I2C register access used: * register write (I2C write) * regi

[PATCH] staging: as102: Add missing function argument

2011-11-08 Thread Sylwester Nawrocki
Add missing dev argument in dev_err() call to correct an error introduced in commit 880102898f19cf9f9ba36dc9d838b5476645ce00 "...as102: Fix the dvb device registration error path". Signed-off-by: Sylwester Nawrocki --- drivers/staging/media/as102/as102_drv.c |2 +- 1 files changed, 1 inserti

Re: [PATCH 00/13] Remaining coding style clean up of AS102 driver

2011-11-08 Thread Sylwester Nawrocki
On 11/08/2011 02:36 PM, Mauro Carvalho Chehab wrote: > I got a few warnings here, after applying the patch series: > > drivers/staging/media/as102/as102_drv.c: In function ‘as102_dvb_register’: > drivers/staging/media/as102/as102_drv.c:223:3: warning: passing argument 1 of > ‘dev_err’ from incomp

[RFC] SUBDEV_S/G_SELECTION IOCTLs

2011-11-08 Thread Sakari Ailus
Hi all, This RFC discusses the SUBDEV_S_SELECTION/SUBDEV_G_SELECTION API which is intended to amend and replace the existing SUBDEV_[SG]_CROP API. These IOCTLs have previously been discussed in the Cambridge V4L2 brainstorming meeting [0] and their intent is to provide more configurability for sub

Re: cx23885-alsa + Mygica X8507

2011-11-08 Thread Alfredo Jesús Delaiti
Hi El 07/11/11 11:46, Mauro Carvalho Chehab escribió: Em 28-10-2011 17:58, Alfredo Jesús Delaiti escreveu: Hi For 15 days "alsa cx23885 cleaner" worked well with my Mygica X8507 card and with the 3.0.2 kernel in OpenSuSE 11.4. Please if you are going to add "cx23885-alsa" to kernel, add Mygic

Media tree build log from FreeBSD 8-stable

2011-11-08 Thread Hans Petter Selasky
Hi, The following link shows the build log of the webcamd port built on FreeBSD 8- stable. The webcamd port includes many Linux USB [media] device drivers which are built like a user-space daemon. http://hselasky.homeunix.org:8192/medie_tree_build_log_freebsd.txt.gz I'll try to send this regula

Re: [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanismch

2011-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2011 at 05:55:17PM +, Russell King - ARM Linux wrote: > On Tue, Nov 08, 2011 at 06:42:27PM +0100, Daniel Vetter wrote: > > Actually I think the importer should get a _mapped_ scatterlist when it > > calls get_scatterlist. The simple reason is that for strange stuff like > > memo

cron job: media_tree daily build: ERRORS

2011-11-08 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Tue Nov 8 19:00:14 CET 2011 git hash:e9eb0dadba932940f721f9d27544a7818b2fa1c5 gcc version: i686-linux-gcc (GCC

Re: [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanismch

2011-11-08 Thread Russell King - ARM Linux
On Tue, Nov 08, 2011 at 06:42:27PM +0100, Daniel Vetter wrote: > Actually I think the importer should get a _mapped_ scatterlist when it > calls get_scatterlist. The simple reason is that for strange stuff like > memory remapped into e.g. omaps TILER doesn't have any sensible notion of > an address

Re: [PATCH v3 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp

2011-11-08 Thread Kevin Hilman
"Ramirez Luna, Omar" writes: > Hi, > > On Fri, Nov 4, 2011 at 6:23 PM, Kevin Hilman wrote: >>> +     .flags          = HWMOD_INIT_NO_RESET, >> >> Why is this needed? > ... >>> +     .flags          = HWMOD_INIT_NO_RESET, >> >> And this? > > I have this because the hwmod complains about a failure

Re: [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanismch

2011-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2011 at 10:59:56AM -0600, Clark, Rob wrote: > On Thu, Nov 3, 2011 at 3:04 AM, Marek Szyprowski > > 2. dma-mapping api is very limited in the area of the dynamic buffer > > management, > > this API has been designed definitely for static buffer allocation and > > mapping. > > > > I

Re: [PATCH 1/1] rc: Fix input deadlock and transmit error in redrat3 driver

2011-11-08 Thread Dan Carpenter
On Tue, Nov 08, 2011 at 04:43:45PM +, Andrew Vincer wrote: > Fixed submit urb logic so hardware doesn't hang trying to transmit > signal data > > Removed unneeded enable/disable detector commands in > redrat3_transmit_ir (the hardware does this anyway) and converted > arguments to unsigned as

Re: [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-11-08 Thread Clark, Rob
On Thu, Nov 3, 2011 at 3:04 AM, Marek Szyprowski wrote: > Hello, > > I'm sorry for a late reply, but after Kernel Summit/ELC I have some comments. > > On Friday, October 14, 2011 5:35 PM Daniel Vetter wrote: > >> On Fri, Oct 14, 2011 at 12:00:58PM +0200, Tomasz Stanislawski wrote: >> > >+/** >> >

[PATCH 1/1] rc: Fix input deadlock and transmit error in redrat3 driver

2011-11-08 Thread Andrew Vincer
Fixed submit urb logic so hardware doesn't hang trying to transmit signal data Removed unneeded enable/disable detector commands in redrat3_transmit_ir (the hardware does this anyway) and converted arguments to unsigned as per 5588dc2 Signed-off-by: Andrew Vincer --- drivers/media/rc/redrat3.c

Re: [PATCH v3 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp

2011-11-08 Thread Ramirez Luna, Omar
Hi, On Fri, Nov 4, 2011 at 6:23 PM, Kevin Hilman wrote: >> +     .flags          = HWMOD_INIT_NO_RESET, > > Why is this needed? ... >> +     .flags          = HWMOD_INIT_NO_RESET, > > And this? I have this because the hwmod complains about a failure in hard reset, even though the reset deassert

RE: [PATCH] omap_vout: fix section mismatch

2011-11-08 Thread Tomi Valkeinen
On Tue, 2011-11-08 at 15:15 +, Hiremath, Vaibhav wrote: > I am not sure whether you had tested it, but kernel doesn't boot with V4L2 > display enabled in defconfig. I have patch to fix this, will submit shortly - > > > diff --git a/drivers/media/video/omap/omap_vout.c > b/drivers/media/vid

RE: [PATCH] omap_vout: fix section mismatch

2011-11-08 Thread Hiremath, Vaibhav
> -Original Message- > From: Valkeinen, Tomi > Sent: Tuesday, November 08, 2011 3:17 PM > To: linux-media@vger.kernel.org; Hiremath, Vaibhav > Cc: Taneja, Archit; Valkeinen, Tomi > Subject: [PATCH] omap_vout: fix section mismatch > > Fix the following warning by using platform_driver_prob

RE: [PATCH] media: vb2: vmalloc-based allocator user pointer handling

2011-11-08 Thread Marek Szyprowski
Hello, On Tuesday, November 08, 2011 3:44 PM Laurent Pinchart wrote: > On Tuesday 08 November 2011 15:29:00 Marek Szyprowski wrote: > > On Tuesday, November 08, 2011 3:01 PM Laurent Pinchart wrote: > > > On Tuesday 08 November 2011 14:57:40 Marek Szyprowski wrote: > > > > On Tuesday, November 08,

Re: [PATCH] media: vb2: vmalloc-based allocator user pointer handling

2011-11-08 Thread Laurent Pinchart
Hi Marek, On Tuesday 08 November 2011 15:29:00 Marek Szyprowski wrote: > On Tuesday, November 08, 2011 3:01 PM Laurent Pinchart wrote: > > On Tuesday 08 November 2011 14:57:40 Marek Szyprowski wrote: > > > On Tuesday, November 08, 2011 12:32 PM Laurent Pinchart wrote: > > > > On Thursday 03 Novemb

RE: [PATCH] media: vb2: vmalloc-based allocator user pointer handling

2011-11-08 Thread Marek Szyprowski
Hello, On Tuesday, November 08, 2011 3:01 PM Laurent Pinchart wrote: > On Tuesday 08 November 2011 14:57:40 Marek Szyprowski wrote: > > On Tuesday, November 08, 2011 12:32 PM Laurent Pinchart wrote: > > > On Thursday 03 November 2011 08:40:26 Marek Szyprowski wrote: > > > > On Wednesday, November

Re: [PATCH] v4l2 doc: Added FBUF_CAP_SRC_CHROMAKEY/FLAG_SRC_CHROMAKEY

2011-11-08 Thread Hans Verkuil
On Tuesday, November 08, 2011 12:46:32 Hiremath, Vaibhav wrote: > > -Original Message- > > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > > Sent: Monday, November 07, 2011 7:06 PM > > To: Hiremath, Vaibhav > > Cc: linux-media@vger.kernel.org > > Subject: Re: [PATCH] v4l2 doc: Added > > FB

Re: [RFC/PATCH 1/2] v4l: Add generic board subdev registration function

2011-11-08 Thread Rick Bronson
Hi All, I'm trying to add a SPI camera to 2.6.39 but ran into trouble with isp_register_subdev_group() in drivers/media/video/omap3isp/isp.c hardcoded to use i2c. The platform is a BeagleBoardXM. I tried these two patches: http://patchwork.linuxtv.org/patch/6651/mbox/ http://patchwork.linuxtv

Re: [PATCH] media: vb2: vmalloc-based allocator user pointer handling

2011-11-08 Thread Laurent Pinchart
Hi Marek, On Tuesday 08 November 2011 14:57:40 Marek Szyprowski wrote: > On Tuesday, November 08, 2011 12:32 PM Laurent Pinchart wrote: > > On Thursday 03 November 2011 08:40:26 Marek Szyprowski wrote: > > > On Wednesday, November 02, 2011 2:54 PM Laurent Pinchart wrote: > > > > On Wednesday 02 No

RE: [PATCH] media: vb2: vmalloc-based allocator user pointer handling

2011-11-08 Thread Marek Szyprowski
Hello, On Tuesday, November 08, 2011 12:32 PM Laurent Pinchart wrote: > On Thursday 03 November 2011 08:40:26 Marek Szyprowski wrote: > > On Wednesday, November 02, 2011 2:54 PM Laurent Pinchart wrote: > > > On Wednesday 02 November 2011 11:52:02 Andrzej Pietrasiewicz wrote: > > > > vmalloc-based

Re: Using MT9P031 digital sensor

2011-11-08 Thread Gary Thomas
On 2011-11-08 06:38, Gary Thomas wrote: On 2011-11-08 06:06, Laurent Pinchart wrote: Hi Gary, On Tuesday 08 November 2011 13:52:25 Gary Thomas wrote: On 2011-11-08 05:30, Javier Martinez Canillas wrote: On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas wrote: On 2011-11-04 04:37, Laurent Pinchart

Re: Using MT9P031 digital sensor

2011-11-08 Thread Gary Thomas
On 2011-11-08 06:06, Laurent Pinchart wrote: Hi Gary, On Tuesday 08 November 2011 13:52:25 Gary Thomas wrote: On 2011-11-08 05:30, Javier Martinez Canillas wrote: On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas wrote: On 2011-11-04 04:37, Laurent Pinchart wrote: On Tuesday 01 November 2011 19:52

Re: [PATCH 00/13] Remaining coding style clean up of AS102 driver

2011-11-08 Thread Mauro Carvalho Chehab
Em 06-11-2011 18:31, Sylwester Nawrocki escreveu: > Hello, > > the following patch set is a further cleanup of the AS102 DVB-T receiver > driver. I'm not sure if there are more issues to address before moving > the driver to drivers/media/dvb/, but checkpatch.pl seems now to be fairly > happy ab

Re: Using MT9P031 digital sensor

2011-11-08 Thread Laurent Pinchart
Hi Gary, On Tuesday 08 November 2011 13:52:25 Gary Thomas wrote: > On 2011-11-08 05:30, Javier Martinez Canillas wrote: > > On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas wrote: > >> On 2011-11-04 04:37, Laurent Pinchart wrote: > >>> On Tuesday 01 November 2011 19:52:49 Gary Thomas wrote: > I'm

Re: Using MT9P031 digital sensor

2011-11-08 Thread Gary Thomas
On 2011-11-08 05:30, Javier Martinez Canillas wrote: On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas wrote: On 2011-11-04 04:37, Laurent Pinchart wrote: Hi Gary, On Tuesday 01 November 2011 19:52:49 Gary Thomas wrote: I'm trying to use the MT9P031 digital sensor with the Media Controller Frame

Re: media0 not showing up on beagleboard-xm

2011-11-08 Thread Laurent Pinchart
Hi Chris, On Tuesday 08 November 2011 03:03:43 Chris Whittenburg wrote: > On Mon, Nov 7, 2011 at 5:14 AM, Laurent Pinchart wrote: > > On Monday 07 November 2011 12:08:15 Gary Thomas wrote: > >> On 2011-11-06 15:26, Chris Whittenburg wrote: > >> > On Fri, Nov 4, 2011 at 6:49 AM, Laurent Pinchart wr

Re: Using MT9P031 digital sensor

2011-11-08 Thread Laurent Pinchart
Hi Javier, On Tuesday 08 November 2011 13:30:08 Javier Martinez Canillas wrote: > On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas wrote: > > On 2011-11-04 04:37, Laurent Pinchart wrote: > >> On Tuesday 01 November 2011 19:52:49 Gary Thomas wrote: > >>> I'm trying to use the MT9P031 digital sensor wit

Re: Using MT9P031 digital sensor

2011-11-08 Thread Javier Martinez Canillas
On Tue, Nov 8, 2011 at 1:20 PM, Gary Thomas wrote: > On 2011-11-04 04:37, Laurent Pinchart wrote: >> >> Hi Gary, >> >> On Tuesday 01 November 2011 19:52:49 Gary Thomas wrote: >>> >>> I'm trying to use the MT9P031 digital sensor with the Media Controller >>> Framework.  media-ctl tells me that the

Re: Using MT9P031 digital sensor

2011-11-08 Thread Gary Thomas
On 2011-11-04 04:37, Laurent Pinchart wrote: Hi Gary, On Tuesday 01 November 2011 19:52:49 Gary Thomas wrote: I'm trying to use the MT9P031 digital sensor with the Media Controller Framework. media-ctl tells me that the sensor is set to capture using SGRBG12 2592x1944 Questions: * What pixel

[PATCH 3/4] uvcvideo: Extract timestamp-related statistics

2011-11-08 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/media/video/uvc/uvc_video.c | 125 ++- drivers/media/video/uvc/uvcvideo.h | 23 +++ 2 files changed, 146 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/uvc/uvc_video.c b/drivers/media/video/uvc/u

[PATCH 2/4] uvcvideo: Extract video stream statistics

2011-11-08 Thread Laurent Pinchart
From: Alexey Fisher Export the statistics through debugfs. Signed-off-by: Alexey Fisher Signed-off-by: Laurent Pinchart --- drivers/media/video/uvc/uvc_debugfs.c | 60 ++ drivers/media/video/uvc/uvc_video.c | 109 - drivers/media/video/uvc/

[PATCH 4/4] uvcvideo: Add UVC timestamps support

2011-11-08 Thread Laurent Pinchart
UVC devices transmit a device timestamp along with video frames. Convert the timestamp to a host timestamp and use it to fill the V4L2 buffer timestamp field. Signed-off-by: Laurent Pinchart --- drivers/media/video/uvc/uvc_queue.c | 12 ++ drivers/media/video/uvc/uvc_video.c | 327 +++

[PATCH 1/4] uvcvideo: Add debugfs support

2011-11-08 Thread Laurent Pinchart
From: Alexey Fisher Create a debugfs entry per UVC stream. This will be used to export stream statistics. Signed-off-by: Alexey Fisher Signed-off-by: Laurent Pinchart --- drivers/media/video/uvc/Makefile |2 +- drivers/media/video/uvc/uvc_debugfs.c | 76

[PATCH 0/4] uvcvideo: device timestamp support

2011-11-08 Thread Laurent Pinchart
Hi everybody, I've finally got around to working on timestamping support for the uvcvideo driver. After a couple of years of development, it was about time. The following patch set is divided in two parts. The first 3 patches implement debugfs support to export video stream statistics (thanks to

RE: [PATCH] v4l2 doc: Added FBUF_CAP_SRC_CHROMAKEY/FLAG_SRC_CHROMAKEY

2011-11-08 Thread Hiremath, Vaibhav
> -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Monday, November 07, 2011 7:06 PM > To: Hiremath, Vaibhav > Cc: linux-media@vger.kernel.org > Subject: Re: [PATCH] v4l2 doc: Added > FBUF_CAP_SRC_CHROMAKEY/FLAG_SRC_CHROMAKEY > > Hi Vaibhav! > > This is a bit of

Re: [PATCH] media: vb2: vmalloc-based allocator user pointer handling

2011-11-08 Thread Laurent Pinchart
Hi Marek, On Thursday 03 November 2011 08:40:26 Marek Szyprowski wrote: > On Wednesday, November 02, 2011 2:54 PM Laurent Pinchart wrote: > > On Wednesday 02 November 2011 11:52:02 Andrzej Pietrasiewicz wrote: > > > vmalloc-based allocator user pointer handling [snip] > > > @@ -66,6 +70,83 @@ st

RE: [PATCH] MAINTAINERS: add a maintainer for s5p-mfc driver

2011-11-08 Thread Marek Szyprowski
Hello, On Monday, November 07, 2011 11:45 AM Kamil Debski wrote: > > From: Jeongtae Park [mailto:jtp.p...@samsung.com] > > Subject: [PATCH] MAINTAINERS: add a maintainer for s5p-mfc driver > > > > Add a maintainer for s5p-mfc driver. > > > > Signed-off-by: Jeongtae Park > > Acked-by: Kamil Debs

Daily build update

2011-11-08 Thread Hans Verkuil
Hi all, I've managed to get the daily build working again with the for_v3.3 branch and with the full range of kernels from 2.6.31 to 3.2-rc1. There is one error remaining with the compilation of cpia2_usb.c on 3.2-rc1 (a missing module.h header). This should be resolved once the for_v3.3 branch i

[PATCH] omap_vout: fix section mismatch

2011-11-08 Thread Tomi Valkeinen
Fix the following warning by using platform_driver_probe() instead of platform_driver_register(): WARNING: drivers/media/video/omap/omap-vout.o(.data+0x24): Section mismatch in reference from the variable omap_vout_driver to the function .init.text:omap_vout_probe() The variable omap_vout_driver r

Re: [PATCH] Fix tm6010 audio

2011-11-08 Thread Mauro Carvalho Chehab
Em 07-11-2011 22:45, Dmitri Belimov escreveu: > Hi > ... > > I can watch TV but radio not work. After start Gnomeradio I see > VIDIOCGAUDIO incorrect > VIDIOCSAUDIO incorrect > VIDIOCSFREQ incorrect > > Try found what happens with radio. Those ioctl's are gone since kernel 2.6.39, as they are

cron job: media_tree daily build: ERRORS

2011-11-08 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Tue Nov 8 09:03:53 CET 2011 git hash:ead32d5357e4aae732ccd7427073ab4bf30d3068 gcc version: i686-linux-gcc (GCC