[PATCH 8/8] v4l: radio: si470x: fix unneeded free_irq() call

2010-09-05 Thread Marek Szyprowski
In case of error during probe() the driver calls free_irq() function on not yet allocated irq. This patches fixes the call sequence in case of the error. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park CC: Tobias Lorenz CC: Joonyoung Shim CC: Douglas Schilling Landgraf CC: Jean D

[PATCH 4/8] v4l: videobuf: Fail streamon on an output device when no buffers queued

2010-09-05 Thread Marek Szyprowski
From: Pawel Osciak Streamon should return -EINVAL if called on an output device and no buffers are queued. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/media/video/videobuf-core.c | 11 +++ 1 files changed, 11 insertions(+), 0

[PATCH 6/8] v4l: videobuf: remove unused is_userptr variable

2010-09-05 Thread Marek Szyprowski
From: Pawel Osciak Remove unused is_userptr variable from videobuf-dma-contig. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/media/video/videobuf-dma-contig.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/

[PATCH 2/8] v4l: s5p-fimc: Fix 3-planar formats handling and pixel offset error on S5PV210 SoCs

2010-09-05 Thread Marek Szyprowski
From: Sylwester Nawrocki Fix DMA engine pixel offset calculation for 3-planar YUV formats. On S5PV210 SoCs horizontal offset is applied as number of pixels, not bytes per line. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/media/vi

[PATCH 5/8] v4l: videobuf: prevent passing a NULL to dma_free_coherent()

2010-09-05 Thread Marek Szyprowski
From: Pawel Osciak When a driver that uses videobuf-dma-contig is used with the USERPTR memory access method a kernel oops might happen: a NULL address may be passed to dma_free_coherent(). This happens when an application calls REQBUFS and then exits without queuing any buffers. This patch fixes

[PATCH 7/8] v4l: Add EBUSY error description for VIDIOC_STREAMON

2010-09-05 Thread Marek Szyprowski
From: Pawel Osciak VIDIOC_STREAMON should return EBUSY if streaming is already active. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- Documentation/DocBook/v4l/vidioc-streamon.xml |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-)

[PATCH] various bugfixes for 2.6.36-rc3

2010-09-05 Thread Marek Szyprowski
Hello, This patch series fixes a bunch of minor bugs in s5p-fimc driver, videobuf and si470x radio driver. This patch series has been prepared against linus/2.6.36-rc3 kernel tree. I would like to get it merged soon to be sure that they will be included in the final 2.6.36 release. The complete

[PATCH 3/8] v4l: s5p-fimc: Register definition cleanup

2010-09-05 Thread Marek Szyprowski
From: Sylwester Nawrocki Prepare DMA address definitions for interlaced input frame mode. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/media/video/s5p-fimc/fimc-reg.c |6 ++-- drivers/media/video/s5p-fimc/regs-fimc.h | 38 +

[PATCH 1/8] v4l: s5p-fimc: Fix return value on probe() failure

2010-09-05 Thread Marek Szyprowski
From: Pawel Osciak On failed create_workqueue() fimc_probe() was returning 0. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/media/video/s5p-fimc/fimc-core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/driv

[RFCv5 9/9] mm: vcm: vcm-cma: VCM CMA driver added

2010-09-05 Thread Michal Nazarewicz
This commit adds a VCM driver that instead of using real hardware MMU emulates one and uses CMA for allocating contiguous memory chunks. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park --- Documentation/virtual-contiguous-memory.txt | 12 - include/linux/vcm-cma.h

[RFCv5 5/9] mm: cma: Test device and application added

2010-09-05 Thread Michal Nazarewicz
This patch adds a "cma" misc device which lets user space use the CMA API. This device is meant for testing. A testing application is also provided. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park --- drivers/misc/Kconfig |8 + drivers/misc/Makefile |1 + drivers/misc

[RFCv5 8/9] mm: vcm: Sample driver added

2010-09-05 Thread Michal Nazarewicz
This commit adds a sample Virtual Contiguous Memory framework driver. It handles no real hardware and is there only for demonstrating purposes. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park --- Documentation/virtual-contiguous-memory.txt |3 + include/linux/vcm-sample.h

[RFCv5 4/9] mm: cma: Added command line parameters support

2010-09-05 Thread Michal Nazarewicz
This patch adds a pair of early parameters ("cma" and "cma.map") which let one override the CMA configuration given by platform without the need to recompile the kernel. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park --- Documentation/contiguous-memory.txt | 85

[RFCv5 6/9] ARM: cma: Added CMA to Aquila, Goni and c210 universal boards

2010-09-05 Thread Michal Nazarewicz
This commit adds CMA memory reservation code to Aquila, Goni and c210 universal boards. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/mach-aquila.c | 31 +++ arch/arm/mach-s5pv210/mach-goni.c | 31 ++

[RFCv5 3/9] mm: cma: Added SysFS support

2010-09-05 Thread Michal Nazarewicz
The SysFS development interface lets one change the map attribute at run time as well as observe what regions have been reserved. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park --- .../ABI/testing/sysfs-kernel-mm-contiguous | 53 +++ Documentation/contiguous-memory.txt

[RFCv5 1/9] lib: rbtree: rb_root_init() function added

2010-09-05 Thread Michal Nazarewicz
Added a rb_root_init() function which initialises a rb_root structure as a red-black tree with at most one element. The rationale is that using rb_root_init(root, node) is more straightforward and cleaner then first initialising and empty tree followed by an insert operation. Signed-off-by: Micha

[RFCv5 0/9] CMA + VCMM integration

2010-09-05 Thread Michal Nazarewicz
Hello everyone, This patchset introduces a draft of a redesign of Zach Pfeffer's VCMM. Not all of the functionality of the original VCMM has been ported into this patchset. This is mostly meant as RFC. Moreover, the code for VCMM implementation in this RFC has not been tested. CMA has not been

RE: [PATCH 0/2] V4L/DVB: OMAP_VOUT: Allow omap_vout to build without VRFB

2010-09-05 Thread Taneja, Archit
Hi, Hiremath, Vaibhav wrote: >> -Original Message- >> From: Taneja, Archit >> Sent: Saturday, September 04, 2010 2:12 PM >> To: Hiremath, Vaibhav >> Cc: linux-o...@vger.kernel.org; > linux-media@vger.kernel.org; Taneja, >> Archit >> Subject: [PATCH 0/2] V4L/DVB: OMAP_VOUT: Allow omap_vout

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-09-05 Thread KAMEZAWA Hiroyuki
On Mon, 6 Sep 2010 00:57:53 +0900 Minchan Kim wrote: > > > > Thanks, > > -Kame > > == > > From: KAMEZAWA Hiroyuki > > > > This patch as a memory allocator for contiguous memory larger than > > MAX_ORDER. > > > > alloc_contig_pages(hint, size, list); > > > > This function allocates 'size

Cannot get Hauppauge HVR-1200 to work

2010-09-05 Thread Alexander (Sasha) Sirotkin
I cannot get Hauppauge HVR-1200 to work. It is recognized correctly and the driver, including firmware, is being loaded. However, there are some errors: [ 36.320282] DVB: registering new adapter (saa7133[0]) [ 36.320290] DVB: registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)... [ 36.66

Re: [PATCH 7/8] IR: extend ir_raw_event and do refactoring

2010-09-05 Thread Maxim Levitsky
On Sun, 2010-09-05 at 23:23 +0200, David Härdeman wrote: > Comments inline... > > On Sun, Sep 05, 2010 at 02:23:02AM +0300, Maxim Levitsky wrote: > > Add new event types for timeout & carrier report > > Move timeout handling from ir_raw_event_store_with_filter to > > ir-lirc-codec, where it is re

Re: [PATCH 0/8 V3] Many fixes for in-kernel decoding and for the ENE driver

2010-09-05 Thread Maxim Levitsky
On Sun, 2010-09-05 at 23:06 +0200, David Härdeman wrote: > On Sun, Sep 05, 2010 at 02:22:55AM +0300, Maxim Levitsky wrote: > > Hi, > > > > This is next version of my patchset. > > I addressed the comments from David Härdeman, > > And in addition to that did a lot of cleanups in

Re: [PATCH 7/8] IR: extend ir_raw_event and do refactoring

2010-09-05 Thread David Härdeman
Comments inline... On Sun, Sep 05, 2010 at 02:23:02AM +0300, Maxim Levitsky wrote: > Add new event types for timeout & carrier report > Move timeout handling from ir_raw_event_store_with_filter to > ir-lirc-codec, where it is really needed. > Now lirc bridge ensures proper gap handling. > Extend l

Re: [PATCH 0/8 V3] Many fixes for in-kernel decoding and for the ENE driver

2010-09-05 Thread David Härdeman
On Sun, Sep 05, 2010 at 02:22:55AM +0300, Maxim Levitsky wrote: > Hi, > > This is next version of my patchset. > I addressed the comments from David Härdeman, > And in addition to that did a lot of cleanups in the ENE driver. > This includes new idle mode support that doesn't ne

Re: [PATCH] LED control

2010-09-05 Thread Hans de Goede
Hi, On 09/05/2010 08:43 PM, Andy Walls wrote: On Sun, 2010-09-05 at 15:54 +0200, Hans de Goede wrote: Hi, On 09/05/2010 10:56 AM, Jean-Francois Moine wrote: On Sun, 05 Sep 2010 09:56:54 +0200 Hans de Goede wrote: I think that using one control for both status leds (which is what we are us

RE: [PATCH 0/2] V4L/DVB: OMAP_VOUT: Allow omap_vout to build without VRFB

2010-09-05 Thread Hiremath, Vaibhav
> -Original Message- > From: Taneja, Archit > Sent: Saturday, September 04, 2010 2:12 PM > To: Hiremath, Vaibhav > Cc: linux-o...@vger.kernel.org; linux-media@vger.kernel.org; Taneja, > Archit > Subject: [PATCH 0/2] V4L/DVB: OMAP_VOUT: Allow omap_vout to build without > VRFB > > This lets

[cron job] v4l-dvb daily build 2.6.26 and up: ERRORS

2010-09-05 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:Sun Sep 5 19:00:05 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15139:6e0befab696a git master:

Re: [Q] camera test pattern as an alternative input?

2010-09-05 Thread Andy Walls
On Sun, 2010-09-05 at 19:09 +0200, Guennadi Liakhovetski wrote: > In a currently running mt9m111 thread we're discussing ways to activate > one of camera's (sensor's) test patterns. A module parameter has been > proposed, earlier this has been done by just using the infamous > VIDIOC_DBG_S_REGIS

Re: [PATCH] LED control

2010-09-05 Thread Andy Walls
On Sun, 2010-09-05 at 15:54 +0200, Hans de Goede wrote: > Hi, > > On 09/05/2010 10:56 AM, Jean-Francois Moine wrote: > > On Sun, 05 Sep 2010 09:56:54 +0200 > > Hans de Goede wrote: > > > >> I think that using one control for both status leds (which is what we > >> are usually talking about) and i

Re: [PATCH] gspca_cpia1: Add lamp control for Intel Play QX3 microscope

2010-09-05 Thread Andy Walls
On Sun, 2010-09-05 at 10:24 +0200, Hans de Goede wrote: > Hi, > > p.s. (forgot to mention this in my previous mail) > > On 09/03/2010 03:09 AM, Andy Walls wrote: > > > > > @@ -447,6 +449,20 @@ > > .set = sd_setcomptarget, > > .get = sd_getcomptarget, > > }, > > +

Re: [PATCH] LED control

2010-09-05 Thread Andy Walls
On Sun, 2010-09-05 at 10:04 +0200, Peter Korsgaard wrote: > > "Hans" == Hans de Goede writes: > > Hi, > > >> + V4L2_CID_LEDS > >> + integer > >> + Switch on or off the LED(s) or illuminator(s) of the device. > >> + The control type and values depend on the driver and may be either >

Re: [PATCH] gspca_cpia1: Add lamp control for Intel Play QX3 microscope

2010-09-05 Thread Andy Walls
On Sun, 2010-09-05 at 10:03 +0200, Hans de Goede wrote: > Hi, > > On 09/03/2010 03:09 AM, Andy Walls wrote: > > # HG changeset patch > > # User Andy Walls > > # Date 1283475832 14400 > > # Node ID 0d251a2976b46e11cc817207de191896718b93a3 > > # Parent a4c762698bcb138982b81cf59e5bc4b7155866a9 > > g

[Q] camera test pattern as an alternative input?

2010-09-05 Thread Guennadi Liakhovetski
In a currently running mt9m111 thread we're discussing ways to activate one of camera's (sensor's) test patterns. A module parameter has been proposed, earlier this has been done by just using the infamous VIDIOC_DBG_S_REGISTER. But then it occurred to me, that there has been previously such a

Re: [PATCH v2 11/11] mt9m111: make use of testpattern

2010-09-05 Thread Robert Jarzmik
Guennadi Liakhovetski writes: > Yes, but this has another disadvantage - if you do not use s_register / > g_register, maybe you just have CONFIG_VIDEO_ADV_DEBUG off, then, once you > load the module with the testpattern parameter, you cannot switch using > testpatterns off again (without a reb

Re: Kernel hangs after suspend to ram

2010-09-05 Thread andrea.amoros...@gmail.com
Can you help me, please? Andrea Amorosi Il 01/09/2010 22:32, Andrea Amorosi ha scritto: Hi to all! I'm trying to use my Dikom DK-300 usb dvb-t device connected to an old laptop used as media player. The device works well but if I suspend the pc to ram (S3) when the Dikom usb stick is plugged in,

Re: some question about

2010-09-05 Thread Devin Heitmueller
On Sun, Sep 5, 2010 at 12:06 PM, loody wrote: > hi: > > 2010/9/5 Devin Heitmueller : >> On Sun, Sep 5, 2010 at 11:48 AM, Devin Heitmueller >> wrote: >>> On Sun, Sep 5, 2010 at 11:36 AM, loody wrote: WinTV-HVR-1950 high performance USB TV tuner WinTV-HVR-950Q for laptop and notebooks >>

Re: some question about

2010-09-05 Thread loody
hi: 2010/9/5 Devin Heitmueller : > On Sun, Sep 5, 2010 at 11:48 AM, Devin Heitmueller > wrote: >> On Sun, Sep 5, 2010 at 11:36 AM, loody wrote: >>> WinTV-HVR-1950 high performance USB TV tuner >>> WinTV-HVR-950Q for laptop and notebooks >> >> Both these devices are supported under Linux, and in

Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework

2010-09-05 Thread Minchan Kim
On Fri, Sep 03, 2010 at 07:29:43PM +0900, KAMEZAWA Hiroyuki wrote: > On Thu, 2 Sep 2010 17:54:24 +0900 > KAMEZAWA Hiroyuki wrote: > > > Here is a rough code for this. > > here is a _tested_ one. > If I tested correctly, I allocated 40MB of contigous pages by the new > funciton. > I'm grad this

Re: some question about

2010-09-05 Thread Devin Heitmueller
On Sun, Sep 5, 2010 at 11:48 AM, Devin Heitmueller wrote: > On Sun, Sep 5, 2010 at 11:36 AM, loody wrote: >> WinTV-HVR-1950 high performance USB TV tuner >> WinTV-HVR-950Q for laptop and notebooks > > Both these devices are supported under Linux, and in fact are unlikely > to work properly with o

Re: some question about

2010-09-05 Thread Devin Heitmueller
On Sun, Sep 5, 2010 at 11:36 AM, loody wrote: > WinTV-HVR-1950 high performance USB TV tuner > WinTV-HVR-950Q for laptop and notebooks Both these devices are supported under Linux, and in fact are unlikely to work properly with only Full Speed USB. At least the 950q definitely requires High spee

some question about

2010-09-05 Thread loody
dear all: I saw there is a "Audio Devices Rev. 2.0 Spec and Adopters Agreement" on the usb org. But so far my device can bought are FS instead of HS. Since I need HS audio device which list in "Audio Devices Rev. 2.0 Spec and Adopters Agreement" to verification the performance of my host. I try ver

Re: [PATCH] LED control

2010-09-05 Thread Hans de Goede
Hi, On 09/05/2010 10:56 AM, Jean-Francois Moine wrote: On Sun, 05 Sep 2010 09:56:54 +0200 Hans de Goede wrote: I think that using one control for both status leds (which is what we are usually talking about) and illuminator(s) is a bad idea. I'm fine with standardizing these, but can we pleas

Re: [PATCH] LED control

2010-09-05 Thread Jean-Francois Moine
On Sun, 05 Sep 2010 09:56:54 +0200 Hans de Goede wrote: > I think that using one control for both status leds (which is what we > are usually talking about) and illuminator(s) is a bad idea. I'm fine > with standardizing these, but can we please have 2 CID's one for > status lights and one for th

Re: ibmcam (xrilink_cit) and konica webcam driver porting to gspca update

2010-09-05 Thread Hans de Goede
Hi, On 08/31/2010 11:43 PM, David Ellingsworth wrote: Hans, I haven't had any success with this driver as of yet. My camera is shown here: http://www.amazon.com/IBM-Net-Camera-Pro-camera/dp/B0009MH25U The part number listed on the bottom is 22P5086. It's also labeled as being an IBM Net Camera

Re: [PATCH] gspca_cpia1: Add lamp control for Intel Play QX3 microscope

2010-09-05 Thread Hans de Goede
Hi, p.s. (forgot to mention this in my previous mail) On 09/03/2010 03:09 AM, Andy Walls wrote: @@ -447,6 +449,20 @@ .set = sd_setcomptarget, .get = sd_getcomptarget, }, + { + { +#define V4L2_CID_LAMPS (V4L2_CID_PRIVATE_BASE+1) +

Re: [PATCH] LED control

2010-09-05 Thread Hans de Goede
Hi, On 09/05/2010 10:04 AM, Peter Korsgaard wrote: "Hans" == Hans de Goede writes: Hi, >> + V4L2_CID_LEDS >> + integer >> + Switch on or off the LED(s) or illuminator(s) of the device. >> + The control type and values depend on the driver and may be either >> +

Re: [PATCH] LED control

2010-09-05 Thread Peter Korsgaard
> "Hans" == Hans de Goede writes: Hi, >> + V4L2_CID_LEDS >> + integer >> + Switch on or off the LED(s) or illuminator(s) of the device. >> + The control type and values depend on the driver and may be either >> + a single boolean (0: off, 1:on) or the index in a menu t

Re: [PATCH] gspca_cpia1: Add lamp control for Intel Play QX3 microscope

2010-09-05 Thread Hans de Goede
Hi, On 09/03/2010 03:09 AM, Andy Walls wrote: # HG changeset patch # User Andy Walls # Date 1283475832 14400 # Node ID 0d251a2976b46e11cc817207de191896718b93a3 # Parent a4c762698bcb138982b81cf59e5bc4b7155866a9 gspca_cpia1: Add lamp cotrol for Intel Play QX3 microscope From: Andy Walls Add a v

Re: [PATCH] LED control

2010-09-05 Thread Hans de Goede
Hi all, On 09/04/2010 01:10 PM, Jean-Francois Moine wrote: Some media devices may have one or many lights (LEDs, illuminators, lamps..). This patch makes them controlable by the applications. Signed-off-by: Jean-Francois Moine -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moine