[patch] [media] pluto2: remove some dead code

2012-04-18 Thread Dan Carpenter
buf[] is a 4 character array. Perhaps this was some debugging code from back in the day? Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c index e1f20c2..f148b19 100644 ---

V4L: mt9m032: fix compilation breakage

2012-04-18 Thread Guennadi Liakhovetski
Fix the following compilation failure: linux-2.6/drivers/media/video/mt9m032.c: In function '__mt9m032_get_pad_crop': linux-2.6/drivers/media/video/mt9m032.c:337: error: implicit declaration of function 'v4l2_subdev_get_try_crop' linux-2.6/drivers/media/video/mt9m032.c:337: warning: return makes

[PATCH] V4L: fix a compiler warning

2012-04-18 Thread Guennadi Liakhovetski
Fix the warning: In file included from /home/lyakh/software/project/24/src/linux-2.6/drivers/media/video/v4l2-subdev.c:29: linux-2.6/include/media/v4l2-ctrls.h:497: warning: 'struct file' declared inside parameter list linux-2.6/include/media/v4l2-ctrls.h:497: warning: its scope is only this

[PATCH] V4L2: mt9m032: use the available subdev pointer, don't re-calculate it

2012-04-18 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mt9m032.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/mt9m032.c b/drivers/media/video/mt9m032.c index 7636672..6f1ae54 100644 --- a/drivers/media/video/mt9m032.c

Re: [PATCH 04/15] V4L: Add camera white balance preset control

2012-04-18 Thread Sylwester Nawrocki
Hi Hans, On 04/17/2012 03:23 PM, Hans de Goede wrote: Hi, On 04/17/2012 12:09 PM, Sylwester Nawrocki wrote: Add V4L2_CID_WHITE_BALANCE_PRESET control for camera white balance presets. The following items are defined: - V4L2_WHITE_BALANCE_NONE, - V4L2_WHITE_BALANCE_INCANDESCENT, -

Re: [PATCH] Staging: go7007: detector features - add new tuning option

2012-04-18 Thread Dan Carpenter
On Wed, Apr 18, 2012 at 11:50:15AM +0400, volokh wrote: From a600b33c0824bf1b5031f820f8afaefa9e51dc16 Mon Sep 17 00:00:00 2001 From: Volokh Konstantin m...@bk.ru Date: Tue, 17 Apr 2012 21:39:15 +0400 Subject: [PATCH] Staging: go7007: detector features - add new tuning option for card(

Re: [PATCH 10/15] V4L: Add camera 3A lock control

2012-04-18 Thread Sylwester Nawrocki
Hi Sakari, On 04/17/2012 06:09 PM, Sakari Ailus wrote: Hi Sylwester, On Tue, Apr 17, 2012 at 12:09:51PM +0200, Sylwester Nawrocki wrote: The V4L2_CID_3A_LOCK bitmask control allows applications to pause or resume the automatic exposure, focus and wite balance adjustments. It can be used,

Re: [PATCH] V4L: fix a compiler warning

2012-04-18 Thread Hans Verkuil
On Wednesday, April 18, 2012 09:59:58 Guennadi Liakhovetski wrote: Fix the warning: In file included from /home/lyakh/software/project/24/src/linux-2.6/drivers/media/video/v4l2-subdev.c:29: linux-2.6/include/media/v4l2-ctrls.h:497: warning: 'struct file' declared inside parameter list

[PATCH] scatterlist: add sg_alloc_table_by_pages function

2012-04-18 Thread Tomasz Stanislawski
This patch adds a new constructor for an sg table. The table is constructed from an array of struct pages. All contiguous chunks of the pages are merged into a single sg nodes. A user may provide an offset and a size of a buffer if the buffer is not page-aligned. The function is dedicated for

Re: V4L: mt9m032: fix compilation breakage

2012-04-18 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Wednesday 18 April 2012 09:59:01 Guennadi Liakhovetski wrote: Fix the following compilation failure: linux-2.6/drivers/media/video/mt9m032.c: In function '__mt9m032_get_pad_crop': linux-2.6/drivers/media/video/mt9m032.c:337: error: implicit declaration

Re: [PATCH] V4L2: mt9m032: use the available subdev pointer, don't re-calculate it

2012-04-18 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Wednesday 18 April 2012 10:00:52 Guennadi Liakhovetski wrote: Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com And applied to my tree. --- drivers/media/video/mt9m032.c |4 ++--

V4L: soc-camera: protect hosts during probing from overzealous user-space

2012-04-18 Thread Guennadi Liakhovetski
If multiple clients are registered on a single camera host interface, the user-space hot-plug software can try to access the one, that probed first, before probing of the second one has completed. This can be handled by individual host drivers, but it is even better to hold back the user-space

[no subject]

2012-04-18 Thread Ibrahim Eser
subscribe linux-media -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] TDA9887 PAL-Nc fix

2012-04-18 Thread Gonzalo de la Vega
The tunner IF for PAL-Nc norm, which AFAIK is used only in Argentina, was being defined as equal to PAL-M but it is not. It actually uses the same video IF as PAL-BG (and unlike PAL-M) but the audio is at 4.5MHz (same as PAL-M). A separate structure member was added for PAL-Nc. Signed-off-by:

HONG LEONG BANK (Malaysia)

2012-04-18 Thread Edward Lee
Hello, I contacted you to assist in distributing the money left behind by my late client, Regards, Mr Edward Lee +60146308549 Fax:+60(0)321784290 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info

Tuning file for Crystal Palace, UK (post digital switch-over)

2012-04-18 Thread Chris Rankin
Hi, The Crystal Palace transmitter has now completed its digital switch-over, so here's the updated tuning file. Cheers, Chris #-- # file automatically generated by w_scan #

gspca V4L2_CID_EXPOSURE_AUTO and VIDIOC_G/S/TRY_EXT_CTRLS

2012-04-18 Thread Antonio Ospite
Hi, I noticed that AEC (Automatic Exposure Control, or V4L2_CID_EXPOSURE_AUTO) does not work in the ov534 gspca driver, either from guvcview or qv4l2. From what I can see (but I do not have a deep knowledge of v4l2) this happens because: - V4L2_CID_EXPOSURE_AUTO is of class

[PATCH] [media] dvb_frontend: Fix a regression when switching back to DVB-S

2012-04-18 Thread Mauro Carvalho Chehab
There are some softwares (Kaffeine and likely xine) that uses a DVBv5 call to switch to DVB-S2, but expects that a DVBv3 call to switch back to DVB-S. Well, this is not right, as a DVBv3 call doesn't know anything about delivery systems. However, as, by accident, this used to work, we need to

[PATCH] dma-buf: mmap support

2012-04-18 Thread Daniel Vetter
Compared to Rob Clark's RFC I've ditched the prepare/finish hooks and corresponding ioctls on the dma_buf file. The major reason for that is that many people seem to be under the impression that this is also for synchronization with outstanding asynchronous processsing. I'm pretty massively

[PATCH] WIP: staging: drm/omap: dmabuf/prime mmap support

2012-04-18 Thread Rob Clark
From: Rob Clark r...@ti.com There are still a few places to cleanup, and possibly things can be made a bit easier for individual drm drivers by some helpers in drm core. But this is enough for a proof of concept. With this, I can allocate cached buffers, fill them w/ software from userspace,

Re: [PATCH] dma-buf: mmap support

2012-04-18 Thread Arnd Bergmann
On Wednesday 18 April 2012, Daniel Vetter wrote: + Because existing importing subsystems might presume coherent mappings for + userspace, the exporter needs to set up a coherent mapping. If that's not + possible, it needs to fake coherency by manually shooting down ptes when + leaving

Re: [PATCH] af9035: add remote control support

2012-04-18 Thread Mauro Carvalho Chehab
Em 07-04-2012 14:24, Hans-Frieder Vogt escreveu: af9035: support remote controls. Currently, for remotes using the NEC protocol, the map of the TERRATEC_CINERGY_XS remote is loaded, for RC6 the map of RC_MAP_RC6_MCE. Signed-off-by: Hans-Frieder Vogt hfv...@gmx.net

Re: [PATCH] dma-buf: mmap support

2012-04-18 Thread Rob Clark
On Wed, Apr 18, 2012 at 9:06 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 18 April 2012, Daniel Vetter wrote: +   Because existing importing subsystems might presume coherent mappings for +   userspace, the exporter needs to set up a coherent mapping. If that's not +   possible, it

Re: [PATCH] dma-buf: mmap support

2012-04-18 Thread Daniel Vetter
On Wed, Apr 18, 2012 at 02:06:13PM +, Arnd Bergmann wrote: On Wednesday 18 April 2012, Daniel Vetter wrote: + Because existing importing subsystems might presume coherent mappings for + userspace, the exporter needs to set up a coherent mapping. If that's not + possible, it

Re: [PATCH] stk-webcam: Don't flip the image by default

2012-04-18 Thread Mauro Carvalho Chehab
Em 09-04-2012 07:31, Hans de Goede escreveu: Hi, On 04/09/2012 09:27 AM, Jaime Velasco wrote: 2012/4/8 Hans de Goede hdego...@redhat.com mailto:hdego...@redhat.com Prior to this patch the stk-webcam driver was enabling the vflip and mirror bits in the sensor by default. Which

Re: [PATCH] af9035: add remote control support

2012-04-18 Thread Antti Palosaari
I haven't tried to and not commented it. But I see clearly few problems. On 18.04.2012 17:17, Mauro Carvalho Chehab wrote: Em 07-04-2012 14:24, Hans-Frieder Vogt escreveu: af9035: support remote controls. Currently, for remotes using the NEC protocol, the map of the TERRATEC_CINERGY_XS remote

[PATCH V2 0/5] [Media] Radio: Fixes and New features for FM

2012-04-18 Thread manjunatha_halli
From: Manjunatha Halli x0130...@ti.com Mauro and the list, This version 2 of patchset resolves the comments received from Joonyoung Shim on patchset v1 This patchset creates new control class 'V4L2_CTRL_CLASS_FM_RX' for FM RX, introduces 2 new CID's for FM RX and and 1 new CID for FM TX. Also

[PATCH V2 2/5] [Media] New control class and features for FM RX

2012-04-18 Thread manjunatha_halli
From: Manjunatha Halli x0130...@ti.com This patch creates new ctrl class for FM RX and adds new CID's for below FM features, 1) De-Emphasis filter mode 2) RDS AF switch Also this patch adds a field for band selection in struct v4l2_hw_freq_seek Signed-off-by: Manjunatha Halli

[PATCH V2 5/5] [Media] WL12xx: Add support for FM new features.

2012-04-18 Thread manjunatha_halli
From: Manjunatha Halli x0130...@ti.com This patch adds below features to TI's V4l2 FM driver for Wilink chipsets, 1) FM RX Set frequency allows to set frequency anywhere between 65.5 MHz till 108 MHz (if chip is Wilink8 then till 164.55 MHz) 2) FM RX seek caters for band

[PATCH V2 4/5] [Documentation] Media: Update docs for V4L2 FM new features

2012-04-18 Thread manjunatha_halli
From: Manjunatha Halli x0130...@ti.com The list of new features - 1) New control class for FM RX 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch 3) New FM TX CID - RDS Alternate frequency set. Signed-off-by: Manjunatha Halli x0130...@ti.com ---

[PATCH V2 3/5] [Media] Add new CID for FM TX RDS Alternate Frequency

2012-04-18 Thread manjunatha_halli
From: Manjunatha Halli x0130...@ti.com Signed-off-by: Manjunatha Halli x0130...@ti.com --- drivers/media/video/v4l2-ctrls.c |1 + include/linux/videodev2.h|1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-ctrls.c

[PATCH V2 1/5] [Media] WL128x: Add support for FM TX RDS

2012-04-18 Thread manjunatha_halli
From: Manjunatha Halli x0130...@ti.com This patch adds support for following FM TX RDS features, 1. Radio Text 2. PS Name 3. PI Code 4. PTY Code. Along with above this patch fixes few other minor issues(like fm tx get frequency, unnecessary error messages etc).

Re: RTL28XX driver

2012-04-18 Thread Thomas Mair
I have been working on the driver over the past days and been making some progress. Right now I am stuck with a small problem that I have no idea how to deal with. It seems that the fc0012 tuner supports V-Band and U-Band. To switch between those modes a GPIO output value needs to be changed. In

Re: RTL28XX driver

2012-04-18 Thread Antti Palosaari
On 18.04.2012 20:18, Thomas Mair wrote: I have been working on the driver over the past days and been making some progress. Right now I am stuck with a small problem that I have no idea how to deal with. It seems that the fc0012 tuner supports V-Band and U-Band. To switch between those modes a

[PATCH v1] ARM: i.mx: mx3fb: add overlay support

2012-04-18 Thread Alex Gershgorin
This patch is based on the original version submitted by Guennadi Liakhovetski, the patch initializes overlay channel, adds ioctl for configuring transparency of the overlay and graphics planes, CONFIG_FB_MX3_OVERLAY is also supported. In case that CONFIG_FB_MX3_OVERLAY is not defined, mx3fb is

cron job: media_tree daily build: WARNINGS

2012-04-18 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:Wed Apr 18 19:02:17 CEST 2012 git hash:30059d93b07a034555defbf14d689a279fd7368d gcc version: i686-linux-gcc

Re: RTL28XX driver

2012-04-18 Thread Thomas Mair
I don't know what it really is either but the comments are the following. if (frequency 3) { printk( %s : Tuner :FC0012 V-band (GPIO6 high)\n, __FUNCTION__); } else { printk( %s : Tuner :FC0012 U-band (GPIO6 low)\n,

Re: RTL28XX driver

2012-04-18 Thread Antti Palosaari
The method should be selected based of knowledge if GPIO used for controlling FC0012 tuner OR controlling some other part (LNA, anatenna switch, etc.) So you have to identify meaning first. Look inside FC0012 driver to see if there is some mention about that GPIO. UNLESS we cannot identify

Re: [PATCH] Various fixes, hacks and patches for Mantis CA support.

2012-04-18 Thread Ninja
Hi, sorry for the late response. Unfortunately my Skystar HD2 died on me and it looks like i get an other card in exchange. Anyway, as far I could test, the patches were ok to me. I can still put my marks, but I'm not sure which ones I should use or I'm allowed to use. Regards, Manuel Am

Re: [PATCH] Various fixes, hacks and patches for Mantis CA support.

2012-04-18 Thread Steinar H. Gunderson
On Wed, Apr 18, 2012 at 08:38:10PM +0200, Ninja wrote: sorry for the late response. Unfortunately my Skystar HD2 died on me and it looks like i get an other card in exchange. Anyway, as far I could test, the patches were ok to me. I can still put my marks, but I'm not sure which ones I should

Re: dvb lock patch

2012-04-18 Thread Ezequiel García
Josu, On Tue, Apr 17, 2012 at 10:30 AM, Josu Lazkano josu.lazk...@gmail.com wrote: 2012/3/24 Mauro Carvalho Chehab mche...@redhat.com: [snip] That doesn't sound right to me, and can actually cause race issues. Regards, Mauro. Thanks for the patch Mauro. I think Mauro is *not* giving you

Re: [PATCH] dma-buf: mmap support

2012-04-18 Thread Alan Cox
How do you ensure that no device can do DMA on the buffer while it's mapped into user space in a noncoherent manner? Why do we want to enforce that ? We provide the appropriate base service but you need to know what you are doing. In reality a lot of use cases are going to need far more than a

Re: [PATCH] af9035: add remote control support

2012-04-18 Thread Mauro Carvalho Chehab
Em 18-04-2012 11:57, Antti Palosaari escreveu: I haven't tried to and not commented it. But I see clearly few problems. On 18.04.2012 17:17, Mauro Carvalho Chehab wrote: Em 07-04-2012 14:24, Hans-Frieder Vogt escreveu: af9035: support remote controls. Currently, for remotes using the NEC

[PATCH] v4l: soc-camera: Add support for enum_frameintervals ioctl

2012-04-18 Thread Aguirre, Sergio
From: Sergio Aguirre saagui...@ti.com Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers/media/video/soc_camera.c | 37 + include/media/soc_camera.h |1 + 2 files changed, 38 insertions(+), 0 deletions(-) diff --git

Re: RTL28XX driver

2012-04-18 Thread Antti Palosaari
On 18.04.2012 21:35, Antti Palosaari wrote: The method should be selected based of knowledge if GPIO used for controlling FC0012 tuner OR controlling some other part (LNA, anatenna switch, etc.) So you have to identify meaning first. Look inside FC0012 driver to see if there is some mention

Re: dvb lock patch

2012-04-18 Thread Josu Lazkano
El día 18 de abril de 2012 21:19, Mauro Carvalho Chehab mche...@redhat.com escribió: Em 18-04-2012 15:58, Ezequiel García escreveu: Josu, On Tue, Apr 17, 2012 at 10:30 AM, Josu Lazkano josu.lazk...@gmail.com wrote: 2012/3/24 Mauro Carvalho Chehab mche...@redhat.com: [snip] That doesn't

Re: [PATCH] af9035: add remote control support

2012-04-18 Thread Hans-Frieder Vogt
Am Mittwoch, 18. April 2012 schrieb Mauro Carvalho Chehab: Em 18-04-2012 11:57, Antti Palosaari escreveu: I haven't tried to and not commented it. But I see clearly few problems. On 18.04.2012 17:17, Mauro Carvalho Chehab wrote: Em 07-04-2012 14:24, Hans-Frieder Vogt escreveu: af9035:

[PATCH 1/1] [media] ite-cir: postpone ISR registration

2012-04-18 Thread Luis Henriques
An early registration of an ISR was causing a crash to several users (for example here: http://bugs.launchpad.net/bugs/972723 The reason was that IRQs were being triggered before the driver initialisation was completed. This patch fixes this by moving the invocation to request_irq() to a later

Re: [PATCH] af9035: add remote control support

2012-04-18 Thread Mauro Carvalho Chehab
Em 18-04-2012 17:42, Hans-Frieder Vogt escreveu: Am Mittwoch, 18. April 2012 schrieb Mauro Carvalho Chehab: Em 18-04-2012 11:57, Antti Palosaari escreveu: I haven't tried to and not commented it. But I see clearly few problems. On 18.04.2012 17:17, Mauro Carvalho Chehab wrote: Em 07-04-2012

Re: [PATCH] af9035: add remote control support

2012-04-18 Thread Antti Palosaari
On 18.04.2012 23:42, Hans-Frieder Vogt wrote: Am Mittwoch, 18. April 2012 schrieb Mauro Carvalho Chehab: Em 18-04-2012 11:57, Antti Palosaari escreveu: I haven't tried to and not commented it. But I see clearly few problems. On 18.04.2012 17:17, Mauro Carvalho Chehab wrote: Em 07-04-2012

Re: [PATCH] af9035: add remote control support

2012-04-18 Thread Mauro Carvalho Chehab
Em 18-04-2012 18:12, Antti Palosaari escreveu: On 18.04.2012 23:42, Hans-Frieder Vogt wrote: Am Mittwoch, 18. April 2012 schrieb Mauro Carvalho Chehab: Em 18-04-2012 11:57, Antti Palosaari escreveu: + +if (af9035_config.raw_ir) { +ret = af9035_rd_reg(d, EEPROM_IR_TYPE,tmp); No

patch drivers: staging: media: easycap: easycap_ioctl: Include version.h added to staging tree

2012-04-18 Thread gregkh
This is a note to let you know that I've just added the patch titled drivers: staging: media: easycap: easycap_ioctl: Include version.h to my staging git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git in the staging-next branch. The patch

patch drivers: staging: media: as102: as102fe.c: Remove include of added to staging tree

2012-04-18 Thread gregkh
This is a note to let you know that I've just added the patch titled drivers: staging: media: as102: as102fe.c: Remove include of to my staging git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git in the staging-next branch. The patch will

patch drivers: staging: media: as102: as102_usb_drv.h: Remove include of added to staging tree

2012-04-18 Thread gregkh
This is a note to let you know that I've just added the patch titled drivers: staging: media: as102: as102_usb_drv.h: Remove include of to my staging git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git in the staging-next branch. The patch

Re: [PATCH V2 2/5] [Media] New control class and features for FM RX

2012-04-18 Thread Kyungmin Park
We're using similar one internally. Acked-by: Kyungmin Park kyungmin.p...@samsung.com On 4/19/12, manjunatha_ha...@ti.com manjunatha_ha...@ti.com wrote: From: Manjunatha Halli x0130...@ti.com This patch creates new ctrl class for FM RX and adds new CID's for below FM features, 1)

Re: [PATCH V2 4/5] [Documentation] Media: Update docs for V4L2 FM new features

2012-04-18 Thread Kyungmin Park
Acked-by: Kyungmin Park kyungmin.p...@samsung.com On 4/19/12, manjunatha_ha...@ti.com manjunatha_ha...@ti.com wrote: From: Manjunatha Halli x0130...@ti.com The list of new features - 1) New control class for FM RX 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch