[patch] [media] av7110: wrong limiter in av7110_start_feed()

2011-10-17 Thread Dan Carpenter
Smatch complains that the wrong limiter is used here: drivers/media/dvb/ttpci/av7110.c +906 dvb_feed_start_pid(12) error: buffer overflow 'npids' 5 <= 19 Here is the problem code: 905 i = dvbdmxfeed->pes_type; 906 npids[i] = (pid[i]&0x8000) ? 0 : pid[i]; "npids" is

Re: kernel OOPS when releasing usb webcam (random)

2011-10-17 Thread David Rientjes
On Mon, 17 Oct 2011, Tomas M. wrote: > im getting the following null pointer dereference from time to time when > releasing a usb camera. > > maybe this trace is of assistance...please reply to my mail since im not > subscribed. > I suspect this is happening in v4l2_device_unregister_subdev().

help

2011-10-17 Thread Mario Torres
Can I say a word to you guys? Cool I got one AVerMedia M792 PCIe Combo (OEM) on Ubuntu 11.10 and i wonder if we can work it out, it is a pci-e and yes it is on the unsupported list. but if we can work it out lets do it. when i do a lspci -vv it gives me this 03:00.0 Multimedia video contro

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Laurent Pinchart
Hi Sylwester, On Monday 17 October 2011 23:26:28 Sylwester Nawrocki wrote: > On 10/17/2011 05:23 PM, Guennadi Liakhovetski wrote: > > On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: > >> On 10/17/2011 03:49 PM, Guennadi Liakhovetski wrote: > >>> On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: >

Re: [PATCH 0/7] Staging submission: PCTV 74e drivers and some cleanup (was: Staging submission: PCTV 80e and PCTV 74e drivers)

2011-10-17 Thread Greg KH
On Sat, Oct 15, 2011 at 10:54:14PM +0200, Piotr Chmura wrote: > [PATCH 1/7] pull as102 driver > fromhttp://kernellabs.com/hg/~dheitmueller/v4l-dvb-as102-2/ > with the only change needed to compile it in git tree[1]: usb_buffer_alloc() > to usb_alloc_coherent() and usb_buffer_free() to usb_free_coh

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Sylwester Nawrocki
On 10/17/2011 05:23 PM, Guennadi Liakhovetski wrote: > On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: > >> On 10/17/2011 03:49 PM, Guennadi Liakhovetski wrote: >>> On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: On 10/17/2011 10:06 AM, Guennadi Liakhovetski wrote: > On Sun, 9 Oct 2011, Sak

Re: [GIT PATCHES FOR 3.2] cx23885 alsa cleaned and prepaired

2011-10-17 Thread Alfredo Jesús Delaiti
Hi El 17/10/11 11:13, Alfredo Jesús Delaiti escribió: Hi El 10/10/11 11:52, Igor M. Liplianin escribió: Hi Mauro and Steven, When compile, I get this error: dhcppc1:/usr/src/linux # make SUBDIRS=drivers/media/video/cx23885 modules -j2 Building modules, stage 2. MODPOST 2 modules WARNI

Re: [PATCH 2/9] mm: alloc_contig_freed_pages() added

2011-10-17 Thread Andrew Morton
On Mon, 17 Oct 2011 14:21:07 +0200 Marek Szyprowski wrote: > > > + > > > +void free_contig_pages(unsigned long pfn, unsigned nr_pages) > > > +{ > > > + struct page *page = pfn_to_page(pfn); > > > + > > > + while (nr_pages--) { > > > + __free_page(page); > > > + ++pfn; > > > +

cron job: media_tree daily build: WARNINGS

2011-10-17 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:Mon Oct 17 19:00:16 CEST 2011 git hash:a461e0ad3d27b6342140566909a80db30d151a91 gcc version: i686-linux-gcc (GC

Re: [GIT PATCHES FOR 3.2] cx23885 alsa cleaned and prepaired

2011-10-17 Thread Alfredo Jesús Delaiti
Hi El 10/10/11 11:52, Igor M. Liplianin escribió: Hi Mauro and Steven, It's been a long time since cx23885-alsa pull was requested. To speed things up I created a git branch where I put the patches. Some patches merged, like introduce then correct checkpatch compliance or convert spinlock to mu

Re: [RFC] Improved handling of presets

2011-10-17 Thread Hans Verkuil
On Monday, October 17, 2011 17:36:10 Mauro Carvalho Chehab wrote: > Em 17-10-2011 06:32, Hans Verkuil escreveu: > > RFC: Improved handling of presets > > = > > > > This RFC attempts to resolve the issues raised by this thread a few months > > ago: > > > > http://w

Re: [PATCH 1/4] v4l: add support for selection api

2011-10-17 Thread Sakari Ailus
On Mon, Oct 17, 2011 at 03:31:17PM +0200, Tomasz Stanislawski wrote: > Hi Sakari, > > On 10/14/2011 07:19 PM, Sakari Ailus wrote: > >On Wed, Oct 12, 2011 at 05:08:20PM +0200, Tomasz Stanislawski wrote: > >>On 10/12/2011 01:48 PM, Sakari Ailus wrote: > >>>Hi Tomasz, > >>> > >>>On Wed, Aug 31, 2011

Re: [RFC] Improved handling of presets

2011-10-17 Thread Mauro Carvalho Chehab
Em 17-10-2011 06:32, Hans Verkuil escreveu: > RFC: Improved handling of presets > = > > This RFC attempts to resolve the issues raised by this thread a few months > ago: > > http://www.mail-archive.com/linux-media@vger.kernel.org/msg33981.html > > The last post i

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Guennadi Liakhovetski
On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: > On 10/17/2011 03:49 PM, Guennadi Liakhovetski wrote: > > On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: > >> On 10/17/2011 10:06 AM, Guennadi Liakhovetski wrote: > >>> On Sun, 9 Oct 2011, Sakari Ailus wrote: > On Mon, Oct 03, 2011 at 12:57:10PM

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Sylwester Nawrocki
On 10/17/2011 03:49 PM, Guennadi Liakhovetski wrote: > On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: >> On 10/17/2011 10:06 AM, Guennadi Liakhovetski wrote: >>> On Sun, 9 Oct 2011, Sakari Ailus wrote: On Mon, Oct 03, 2011 at 12:57:10PM +0200, Guennadi Liakhovetski wrote: ... The bridge d

Re: [PATCH v4 1/3] [media] at91: add code to enable/disable ISI_MCK clock

2011-10-17 Thread Guennadi Liakhovetski
From: Josh Wu This patch - add ISI_MCK clock enable/disable code. - change field name in isi_platform_data structure Signed-off-by: Josh Wu [g.liakhovet...@gmx.de: fix label names] Signed-off-by: Guennadi Liakhovetski --- Josh, I missed a slight hick-up in the previous version of this your p

Re: [PATCH v4 3/3] at91: add Atmel ISI and ov2640 support on sam9m10/sam9g45 board

2011-10-17 Thread Guennadi Liakhovetski
On Tue, 11 Oct 2011, Josh Wu wrote: > This patch add: > - ov2640 sensor in sam9m10/sam9g45 board. > - support to use PCK as ISI_MCK. PCK's parent is managed in SoC level, e.g. > at91sam9g45_devices.c > > Signed-off-by: Josh Wu > --- > arch/arm/mach-at91/at91sam9g45_devices.c | 98 >

Re: [PATCH v4 2/3] at91: add parameters for at91_add_device_isi function

2011-10-17 Thread Guennadi Liakhovetski
On Tue, 11 Oct 2011, Josh Wu wrote: > This patch add parameters for at91_add_device_isi function > > Signed-off-by: Josh Wu > --- > arch/arm/mach-at91/at91sam9263_devices.c | 13 ++--- > arch/arm/mach-at91/include/mach/board.h |4 +++- > 2 files changed, 13 insertions(+), 4 delet

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Guennadi Liakhovetski
On Mon, 17 Oct 2011, Sylwester Nawrocki wrote: > Hi, > > On 10/17/2011 10:06 AM, Guennadi Liakhovetski wrote: > > On Sun, 9 Oct 2011, Sakari Ailus wrote: > >> On Mon, Oct 03, 2011 at 12:57:10PM +0200, Guennadi Liakhovetski wrote: > >> Thanks for a thoughtful writing on subdev PM! > >> > >>> (The

Re: [PATCH 1/4] v4l: add support for selection api

2011-10-17 Thread Tomasz Stanislawski
Hi Sakari, On 10/14/2011 07:19 PM, Sakari Ailus wrote: On Wed, Oct 12, 2011 at 05:08:20PM +0200, Tomasz Stanislawski wrote: On 10/12/2011 01:48 PM, Sakari Ailus wrote: Hi Tomasz, On Wed, Aug 31, 2011 at 02:28:20PM +0200, Tomasz Stanislawski wrote: ... diff --git a/include/linux/videodev2.h b

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Sylwester Nawrocki
Hi, On 10/17/2011 10:06 AM, Guennadi Liakhovetski wrote: > On Sun, 9 Oct 2011, Sakari Ailus wrote: >> On Mon, Oct 03, 2011 at 12:57:10PM +0200, Guennadi Liakhovetski wrote: >> Thanks for a thoughtful writing on subdev PM! >> >>> (The original .s_power() author added to cc;-)) >>> >>> Here comes on

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Guennadi Liakhovetski
Hi Laurent On Mon, 17 Oct 2011, Laurent Pinchart wrote: > Hi Guennadi, > > On Monday 17 October 2011 10:06:53 Guennadi Liakhovetski wrote: > > On Sun, 9 Oct 2011, Sakari Ailus wrote: > > > On Mon, Oct 03, 2011 at 12:57:10PM +0200, Guennadi Liakhovetski wrote: > > > > Hi all > > > > > > Hi Guenn

RE: [PATCH 2/9] mm: alloc_contig_freed_pages() added

2011-10-17 Thread Marek Szyprowski
Hello Andrew, Thanks for your comments. I will try to address them in the next round of CMA patches. On Saturday, October 15, 2011 1:30 AM Andrew Morton wrote: (snipped) > > + > > +void free_contig_pages(unsigned long pfn, unsigned nr_pages) > > +{ > > + struct page *page = pfn_to_page(pfn);

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Laurent Pinchart
Hi Guennadi, On Monday 17 October 2011 10:06:53 Guennadi Liakhovetski wrote: > On Sun, 9 Oct 2011, Sakari Ailus wrote: > > On Mon, Oct 03, 2011 at 12:57:10PM +0200, Guennadi Liakhovetski wrote: > > > Hi all > > > > Hi Guennadi, > > > > Thanks for a thoughtful writing on subdev PM! > > > > > (Th

Re: [media-ctl PATCH 1/1] Several printout fixes.

2011-10-17 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Friday 14 October 2011 18:05:33 Sakari Ailus wrote: > - There are sink and source pads, not input and output. > - Print also DYNAMIC flag. > - Don't print "pad" before pad number in some cases. The strings are more > usable for link parsing now. > - Don't pri

[RFC] Improved handling of presets

2011-10-17 Thread Hans Verkuil
RFC: Improved handling of presets = This RFC attempts to resolve the issues raised by this thread a few months ago: http://www.mail-archive.com/linux-media@vger.kernel.org/msg33981.html The last post in this thread did a good job of summarizing the discussion: ht

Re: [RFC] subdevice PM: .s_power() deprecation?

2011-10-17 Thread Guennadi Liakhovetski
Hi Sakari On Sun, 9 Oct 2011, Sakari Ailus wrote: > On Mon, Oct 03, 2011 at 12:57:10PM +0200, Guennadi Liakhovetski wrote: > > Hi all > > Hi Guennadi, > > Thanks for a thoughtful writing on subdev PM! > > > (The original .s_power() author added to cc;-)) > > > > Here comes one more Request fo