[GIT PATCHES FOR 2.6.38] Remove duplicate tda9875 subdev driver

2011-01-03 Thread Hans Verkuil
Hi Mauro, Since the tda9875 subdev driver was folded into tvaudio in 2009 and hasn't been used since that time I think we should remove it. It serves no purpose anymore. Regards, Hans The following changes since commit 187134a5875df20356f4dca075db29f294115a47: David Henningsson (1):

[PATCH] Philips SPC315NC is vertically flipped

2011-01-03 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c index f32ef7b..a182efe 100644 --- a/lib/libv4lconvert/control/libv4lcontrol.c +++ b/lib/libv4lconvert/control/libv4lcontrol.c @@ -46,6 +46,8

Re: Summary of REGRESSIONS which are being ignored?! (Re: Summary of the pending patches up to Dec, 31 (26 patches))

2011-01-03 Thread Mauro Carvalho Chehab
Em 02-01-2011 17:30, Andy Walls escreveu: I don't see this patch on it's way upstream: https://patchwork.kernel.org/patch/376612/ (Sent on 5 Dec 2010) http://www.spinics.net/lists/linux-media/msg26649.html (Resent on 19 Dec 2010) It fixes a regression in IR and Analog video for cx23885

[GIT PATCHES FOR 2.6.38] BKL: .ioctl to .unlocked_ioctl conversions

2011-01-03 Thread Hans Verkuil
Tested with the mxb (saa7146-based) driver. Since nobody has cpia2 hardware I was unable to test that driver. Both drivers are converted using core-assisted locking. Regards, Hans The following changes since commit 187134a5875df20356f4dca075db29f294115a47: David Henningsson (1):

Re: [GIT PULL for v2.6.37-rc8] V4L/DVB regression fixes

2011-01-03 Thread Mauro Carvalho Chehab
Em 03-01-2011 09:47, Mauro Carvalho Chehab escreveu: Hi Linus, There are two regressions affecting audio at ivtv driver. One of them is at the initial volume setting, and the other one at wm8775, and it is due to a new board addition on another driver that uses it. Both patches are

Re: [PATCH] Philips SPC315NC is vertically flipped

2011-01-03 Thread Hans de Goede
Hi, On 01/03/2011 11:51 AM, Mauro Carvalho Chehab wrote: Signed-off-by: Mauro Carvalho Chehabmche...@redhat.com diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c index f32ef7b..a182efe 100644 --- a/lib/libv4lconvert/control/libv4lcontrol.c +++

Re: [PATCH] Philips SPC315NC is vertically flipped

2011-01-03 Thread Mauro Carvalho Chehab
Em 03-01-2011 11:03, Hans de Goede escreveu: Hi, On 01/03/2011 11:51 AM, Mauro Carvalho Chehab wrote: Signed-off-by: Mauro Carvalho Chehabmche...@redhat.com diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c index f32ef7b..a182efe 100644

[RFC PATCH 1/4] v4l2-device: add kref and a release function

2011-01-03 Thread Hans Verkuil
The video_device struct has proper ref counting and its release function will be called when the last user releases it. But no such support was available for struct v4l2_device. This made it hard to determine when a USB driver can release the device if it has multiple device nodes. With one

[RFC PATCH 3/4] dsbr100: convert to unlocked_ioctl

2011-01-03 Thread Hans Verkuil
Use core-assisted locking so .ioctl can be replaced by .unlocked_ioctl. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/radio/dsbr100.c | 79 - 1 files changed, 31 insertions(+), 48 deletions(-) diff --git

[RFC PATCH 4/4] dsbr100: ensure correct disconnect sequence.

2011-01-03 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/radio/dsbr100.c | 58 1 files changed, 12 insertions(+), 46 deletions(-) diff --git a/drivers/media/radio/dsbr100.c b/drivers/media/radio/dsbr100.c index bf2dd6f..b5dff79 100644 ---

Re: [PATCH 14/15]include:media:davinci:vpss.h Typo change diable to disable.

2011-01-03 Thread Jiri Kosina
On Fri, 31 Dec 2010, Mauro Carvalho Chehab wrote: Em 30-12-2010 21:08, Justin P. Mattock escreveu: The below patch fixes a typo diable to disable. Please let me know if this is correct or not. Signed-off-by: Justin P. Mattock justinmatt...@gmail.com Acked-by: Mauro Carvalho Chehab

Re: [PATCH 11/15]drivers:media:video:cx18:cx23418.h Typo change diable to disable.

2011-01-03 Thread Jiri Kosina
On Fri, 31 Dec 2010, Mauro Carvalho Chehab wrote: Em 30-12-2010 21:08, Justin P. Mattock escreveu: The below patch fixes a typo diable to disable. Please let me know if this is correct or not. Signed-off-by: Justin P. Mattock justinmatt...@gmail.com Acked-by: Mauro Carvalho Chehab

Re: [PATCH 07/15]drivers:net:wireless:iwlwifi Typo change diable to disable.

2011-01-03 Thread Jiri Kosina
On Fri, 31 Dec 2010, Larry Finger wrote: On 12/30/2010 05:07 PM, Justin P. Mattock wrote: The below patch fixes a typo diable to disable. Please let me know if this is correct or not. Signed-off-by: Justin P. Mattock justinmatt...@gmail.com ACKed-by: Larry Finger

Re: [PATCH] media, tlg2300: Fix memory leak in alloc_bulk_urbs_generic()

2011-01-03 Thread Huang Shijie
Hi Jesper: Thanks for your patch. 2011/1/3 Jesper Juhl j...@chaosbits.net: Hi, While reading drivers/media/video/tlg2300/pd-video.c::alloc_bulk_urbs_generic() I noticed that  - We don't free the memory allocated to 'urb' if the call to   usb_alloc_coherent() fails. Yes. thanks.  - If

Re: [PATCH 08/15]drivers:scsi:lpfc:lpfc_init.c Typo change diable to disable.

2011-01-03 Thread Jiri Kosina
On Thu, 30 Dec 2010, Justin P. Mattock wrote: The below patch fixes a typo diable to disable. Please let me know if this is correct or not. Signed-off-by: Justin P. Mattock justinmatt...@gmail.com Folded patched 8, 9, 10 and 13 together and applied. -- Jiri Kosina SUSE Labs, Novell

Re: [PATCH 14/15]include:media:davinci:vpss.h Typo change diable to disable.

2011-01-03 Thread Justin P. Mattock
On 01/03/2011 07:01 AM, Jiri Kosina wrote: On Fri, 31 Dec 2010, Mauro Carvalho Chehab wrote: Em 30-12-2010 21:08, Justin P. Mattock escreveu: The below patch fixes a typo diable to disable. Please let me know if this is correct or not. Signed-off-by: Justin P. Mattockjustinmatt...@gmail.com

Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 and BAYER configurations of CSI

2011-01-03 Thread Alberto Panizzo
On Wed, 2010-12-01 at 19:54 +0100, Guennadi Liakhovetski wrote: On Sun, 28 Nov 2010, Alberto Panizzo wrote: This patch is tested and works with the OV2640 camera that output YUV422 (UYVY) and RGB565 data. The YUV422 format is managed to be converted in IPU internal YUV444 format so

[GIT PATCHES FOR 2.6.38] gspca core fixes

2011-01-03 Thread Hans de Goede
Hi Mauro, Please pull from my tree for a number of gspca core fixes. While looking into the issue you were seeing with qv4l2 I also found a bug in the gspca core which made it impossible to switch from userptr to mmap mode with qv4l2 and gspca. While fixing that I also ended up fixing some

Re: RFC: Move the deprecated et61x251 and sn9c102 to staging

2011-01-03 Thread Hans de Goede
Hi, On 01/02/2011 09:13 PM, Hans Verkuil wrote: Hi Hans, On Sunday, January 02, 2011 19:33:31 Hans de Goede wrote: Hi, One small correction to the sn9c102 sensor table, the mt9v111 sensor is handled by sonixj, so the table of bridge/sensor combi's supported by sn9c102, looks like this:

Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 and BAYER configurations of CSI

2011-01-03 Thread Guennadi Liakhovetski
On Mon, 3 Jan 2011, Alberto Panizzo wrote: [snip] Guennadi, how do you consider the path I've shown? Can I continue in this way or shall I present a patch that get rid of translations and manage all the pixel format in the way I understood the manual speak about? I prefer this way that

[GIT PATCHES FOR 2.6.38] Videbuf2 framework, NOON010PC30 sensor driver and s5p-fimc updates

2011-01-03 Thread Sylwester Nawrocki
Hi Mauro, Please pull from our tree for the following items: 1. V4L2 multiplane extension, 2. The Videobuf2 framework, 3. Mem2mem framework and vivi conversion to Videbuf2, 4. s5p-fimc driver conversion to Videbuf2 and multiplane ext. and various driver updates and bugfixes, 5. Siliconfile

[RFCv2 PATCH 04/10] v4l2-dev/fh: add v4l2_fh_open and v4l2_fh_release helper functions

2011-01-03 Thread Hans Verkuil
Add two new functions: v4l2_fh_open allocates and initializes a struct v4l2_fh based on a struct file pointer and v4l2_fh_release releases and frees a struct v4l2_fh. These functions are also called if the v4l2_file_operations struct provides neither open nor release functions. Signed-off-by:

[RFCv2 PATCH 08/10] radio-cadet: use v4l2_fh helper functions

2011-01-03 Thread Hans Verkuil
This will introduce priority handling for free. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/radio/radio-cadet.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/media/radio/radio-cadet.c b/drivers/media/radio/radio-cadet.c index

[RFCv2 PATCH 07/10] radio-mr800: remove autopm support.

2011-01-03 Thread Hans Verkuil
autopm is a bad idea for radio usb sticks: it means that when the last user closes the file handle the radio stops working which is not what you want. Removing this simplifies the code as well. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/radio/radio-mr800.c | 87

[RFCv2 PATCH 10/10] ivtv: use core-assisted locking.

2011-01-03 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/ivtv/ivtv-fileops.c | 15 +-- drivers/media/video/ivtv/ivtv-ioctl.c | 18 +- drivers/media/video/ivtv/ivtv-streams.c |1 + 3 files changed, 3 insertions(+), 31 deletions(-) diff --git

[RFCv2 PATCH 09/10] ivtv: convert to core priority handling.

2011-01-03 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/ivtv/ivtv-driver.h |2 - drivers/media/video/ivtv/ivtv-fileops.c |2 - drivers/media/video/ivtv/ivtv-ioctl.c | 56 -- 3 files changed, 15 insertions(+), 45 deletions(-) diff --git

[RFCv2 PATCH 06/10] radio_ms800: use video_drvdata instead of filp-private_data

2011-01-03 Thread Hans Verkuil
filp-private_data will be used to store v4l2_fh instead. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/radio/radio-mr800.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/media/radio/radio-mr800.c

[RFCv2 PATCH 05/10] v4l2-ioctl: add priority handling support.

2011-01-03 Thread Hans Verkuil
Drivers that use v4l2_fh can now use the core framework support of g/s_priority. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/radio/radio-si4713.c |3 +- drivers/media/video/cx18/cx18-ioctl.c |3 +- drivers/media/video/davinci/vpfe_capture.c |2 +-

[RFCv2 PATCH 02/10] v4l2: add v4l2_prio_state to v4l2_device and video_device

2011-01-03 Thread Hans Verkuil
Integrate the v4l2_prio_state into the core, ready for use. One struct v4l2_prio_state is added to v4l2_device and a pointer to a prio state is added to video_device. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/v4l2-dev.c|6 ++

[RFCv2 PATCH 03/10] v4l2-fh: implement v4l2_priority support.

2011-01-03 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/v4l2-fh.c |4 include/media/v4l2-fh.h |1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-fh.c b/drivers/media/video/v4l2-fh.c index d78f184..78a1608 100644 ---

[cron job] v4l-dvb daily build: WARNINGS

2011-01-03 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:Mon Jan 3 19:00:18 CET 2011 git master: 59365d136d205cc20fe666ca7f89b1c5001b0d5a git media-master: gcc version:

Re: [RFCv2 PATCH 07/10] radio-mr800: remove autopm support.

2011-01-03 Thread David Ellingsworth
From my understanding, auto power management is for automatically suspending and resuming a driver whenever it is idle. Obviously this is a bad for this type of driver as it would turn off the radio whenever it was idle. It is not necessary to remove suspend/resume support in order to drop auto

Re: [RFCv2 PATCH 06/10] radio_ms800: use video_drvdata instead of filp-private_data

2011-01-03 Thread David Ellingsworth
Why does this matter? From my understanding, v4l2_fh is meant to be embed it in a device specific structure. If it is the first member in the device specific structure, then the pointer to v4l2_fh is the same as the one to the device specific structure. Otherwise, a simple container_of can be used

Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 and BAYER configurations of CSI

2011-01-03 Thread Guennadi Liakhovetski
On Mon, 3 Jan 2011, Alberto Panizzo wrote: On Thu, 2010-12-30 at 20:38 +0100, Guennadi Liakhovetski wrote: On Sat, 18 Dec 2010, Guennadi Liakhovetski wrote: Alberto it would be slowly on the time to address my comments and submit updates. While at it, also, please update the

Re: [RFCv2 PATCH 06/10] radio_ms800: use video_drvdata instead of filp-private_data

2011-01-03 Thread Hans Verkuil
On Monday, January 03, 2011 20:35:41 David Ellingsworth wrote: Why does this matter? From my understanding, v4l2_fh is meant to be embed it in a device specific structure. No, v4l2_fh is a per-filehandle structure, not a per-device node structure. filp-private_data is meant to store

Re: Problem with em28xx driver in Gumstix Overo

2011-01-03 Thread Linus Torvalds
Hi Marcos, [ full email quoted for new cc's ] you really would be much better off sending a diff rather than trying to explain what changes you did, but quite frankly, even if you did that, I'd still want this to go through the actual maintainers of the em28xx driver. The USB error sounds like

Re: Problem with em28xx driver in Gumstix Overo

2011-01-03 Thread Devin Heitmueller
On Mon, Jan 3, 2011 at 3:13 PM, Linus Torvalds torva...@linux-foundation.org wrote: // if (!dev-progressive) // height = norm_maxh(dev); This would suggest that the device is providing progressive video and there is a mismatch between the board profile and the actual hardware, which is

[no subject]

2011-01-03 Thread javier
dmesg | grep bt [ 13.145402] usbcore: registered new interface driver btusb jav...@javier-desktop:~$ dmesg | grep -i9 tuner [ 2283.004191] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 2283.004215] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x516cc51d [

Re: Problem with em28xx driver in Gumstix Overo

2011-01-03 Thread Mauro Carvalho Chehab
Hi Marcos, Em 03-01-2011 18:13, Linus Torvalds escreveu: Hi Marcos, [ full email quoted for new cc's ] you really would be much better off sending a diff rather than trying to explain what changes you did, but quite frankly, even if you did that, I'd still want this to go through the

Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 and BAYER configurations of CSI

2011-01-03 Thread Alberto Panizzo
On Mon, 2011-01-03 at 20:37 +0100, Guennadi Liakhovetski wrote: On Mon, 3 Jan 2011, Alberto Panizzo wrote: On Thu, 2010-12-30 at 20:38 +0100, Guennadi Liakhovetski wrote: On Sat, 18 Dec 2010, Guennadi Liakhovetski wrote: Alberto it would be slowly on the time to address my

Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864

2011-01-03 Thread Andy Walls
On Sun, 2011-01-02 at 23:00 -0500, Eric Sharkey wrote: On Fri, Dec 31, 2010 at 7:55 PM, Andy Walls awa...@md.metrocast.net wrote: Mauro, Please revert at least the wm8775.c portion of commit fcb9757333df37cf4a7feccef7ef6f5300643864:

Re: Summary of REGRESSIONS which are being ignored?! (Re: Summary of the pending patches up to Dec, 31 (26 patches))

2011-01-03 Thread Andy Walls
On Mon, 2011-01-03 at 09:49 -0200, Mauro Carvalho Chehab wrote: Em 02-01-2011 17:30, Andy Walls escreveu: I don't see this patch on it's way upstream: https://patchwork.kernel.org/patch/376612/ (Sent on 5 Dec 2010) http://www.spinics.net/lists/linux-media/msg26649.html (Resent on 19

Re: [PATCH 11/32] v4l/cx18: update workqueue usage

2011-01-03 Thread Andy Walls
On Mon, 2011-01-03 at 14:49 +0100, Tejun Heo wrote: With cmwq, there's no reason to use separate out_work_queue. Drop it and use system_wq instead. The in_work_queue needs to be ordered so can't use one of the system wqs; however, as it isn't used to reclaim memory, allocate the workqueue

Re: Hauppauge HVR-2200 analog

2011-01-03 Thread Julian Scheel
Am 15.12.2010 08:04, schrieb Julian Scheel: Am 14.12.2010 um 20:51 schrieb Steven Toth: On 12/14/10 12:23 PM, Julian Scheel wrote: Is there any reason, why the additional card-information found here: http://www.kernellabs.com/hg/~stoth/saa7164-dev/ is not yet in the kernel tree? On my todo

RE: RFC: V4L2 driver for Qualcomm MSM camera.

2011-01-03 Thread Shuzhen Wang
-Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Tuesday, December 28, 2010 12:24 PM To: Shuzhen Wang Cc: 'Mauro Carvalho Chehab'; 'Hans Verkuil'; linux- me...@vger.kernel.org; hzh...@codeaurora.org; Yan, Yupeng Subject: Re: RFC: V4L2 driver

TW68 driver fails to compile

2011-01-03 Thread isaac smith
I am trying to compile the TW68 driver (freshly cloned from the git repo), on Fedora 14 kernel version 2.6.37-rc8. Make dies with the errors: make -C /lib/modules/2.6.37-rc5/build M=/home/hunter/devel/tw68-v2 modules make[1]: Entering directory `/usr/src/kernels/linux-2.6.37-rc5' CC [M]

[PATCH] [media] Add multi-planar API documentation

2011-01-03 Thread Pawel Osciak
Add DocBook documentation for the new multi-planar API extensions to the Video for Linux 2 API DocBook. Signed-off-by: Pawel Osciak pa...@osciak.com --- Documentation/DocBook/media-entities.tmpl |4 + Documentation/DocBook/v4l/common.xml |2 +

Re: RFC: V4L2 driver for Qualcomm MSM camera.

2011-01-03 Thread Haibo Zhong
On 1/3/2011 6:37 PM, Shuzhen Wang wrote: -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Tuesday, December 28, 2010 12:24 PM To: Shuzhen Wang Cc: 'Mauro Carvalho Chehab'; 'Hans Verkuil'; linux- me...@vger.kernel.org; hzh...@codeaurora.org; Yan,

Re: [REGRESSION: wm8775, ivtv] Please revert commit fcb9757333df37cf4a7feccef7ef6f5300643864

2011-01-03 Thread Hans Verkuil
On Monday, January 03, 2011 23:34:16 Andy Walls wrote: On Sun, 2011-01-02 at 23:00 -0500, Eric Sharkey wrote: On Fri, Dec 31, 2010 at 7:55 PM, Andy Walls awa...@md.metrocast.net wrote: Mauro, Please revert at least the wm8775.c portion of commit

Re: [PATCH] [media] Add multi-planar API documentation

2011-01-03 Thread Hans Verkuil
On Tuesday, January 04, 2011 05:20:45 Pawel Osciak wrote: Add DocBook documentation for the new multi-planar API extensions to the Video for Linux 2 API DocBook. Signed-off-by: Pawel Osciak pa...@osciak.com --- Documentation/DocBook/media-entities.tmpl |4 +