Question about V4L2_MEMORY_USERPTR

2012-03-23 Thread Hans Petter Selasky
Hi, I have a question about V4L2_MEMORY_USERPTR: From which context are the kernel's copy_to_user() functions called in relation to V4L2_MEMORY_USERPTR ? Can this be a USB callback function or is it only syscalls, like read/write/ioctl that are allowed to call copy_to_user() ? The reason for

[patch] [media] mxl111sf: remove an unused variable

2012-03-23 Thread Dan Carpenter
We don't use this any more after 3be5bb71fb [media] mxl111sf: fix error on stream stop in mxl111sf_ep6_streaming_ctrl() and it makes GCC complain. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/dvb/dvb-usb/mxl111sf.c b/drivers/media/dvb/dvb-usb/mxl111sf.c index

RE: [PATCH] usb: gadget/uvc: Remove non-required locking from 'uvc_queue_next_buffer' routine

2012-03-23 Thread Bhupesh SHARMA
Hi Felipe, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, March 22, 2012 8:11 PM To: Bhupesh SHARMA Cc: linux-...@vger.kernel.org; laurent.pinch...@ideasonboard.com; spear-devel; linux-media@vger.kernel.org Subject: Re: [PATCH] usb: gadget/uvc:

Re: [PATCH] usb: gadget/uvc: Remove non-required locking from 'uvc_queue_next_buffer' routine

2012-03-23 Thread Laurent Pinchart
Hi Bhupesh, On Friday 23 March 2012 17:31:19 Bhupesh SHARMA wrote: On Thursday, March 22, 2012 8:11 PM Gregg KH wrote: On Thu, Mar 22, 2012 at 10:20:37AM +0530, Bhupesh Sharma wrote: This patch removes the non-required spinlock acquire/release calls on 'queue_irqlock' from

RE: [PATCH] usb: gadget/uvc: Remove non-required locking from 'uvc_queue_next_buffer' routine

2012-03-23 Thread Bhupesh SHARMA
Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Friday, March 23, 2012 3:30 PM To: Bhupesh SHARMA Cc: ba...@ti.com; linux-...@vger.kernel.org; spear-devel; linux- me...@vger.kernel.org; Greg KH Subject: Re: [PATCH] usb:

[GIT PULL for v3.4-rc1] media updates

2012-03-23 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For the media patch series, that includes: - V4L2 API additions to better support JPEG compression control; - media API additions to properly support MPEG decoders;

Re: [PATCH 1/3] cxd2820r: tweak search algorithm behavior

2012-03-23 Thread Antti Palosaari
Acked-by: Antti Palosaari cr...@iki.fi Still I am little bit sceptical about that since dvb_frontend.h comments are speaking signal search - not for full LOCK. Maybe there is room for improvement somewhere else. Anyhow, better to merge that as now. regards Antti On 15.03.2012 19:33,

Re: [PATCH 3/3] cxd2820r: delete unused function cxd2820r_init_t2

2012-03-23 Thread Antti Palosaari
Acked-by: Antti Palosaari cr...@iki.fi On 15.03.2012 19:33, Gianluca Gennari wrote: Deleted unused declaration of function cxd2820r_init_t2. Signed-off-by: Gianluca Gennarigennar...@gmail.com --- drivers/media/dvb/frontends/cxd2820r_priv.h |2 -- 1 files changed, 0 insertions(+), 2

Re: [PATCH 2/3] em28xx-dvb: enable LNA for cxd2820r in DVB-T mode

2012-03-23 Thread Antti Palosaari
As we speak earlier LNA support is not implemented at all as our API / framework. My personal opinion LNA should be always disabled by default since it still makes some noise. Current hard coded values are just selected what gives better signal for me and thus are not optimal nor correct.

Re: [PATCH 2/3] em28xx-dvb: enable LNA for cxd2820r in DVB-T mode

2012-03-23 Thread Mauro Carvalho Chehab
Em 23-03-2012 11:30, Gianluca Gennari escreveu: On Fri, Mar 23, 2012 at 1:55 PM, Antti Palosaari cr...@iki.fi mailto:cr...@iki.fi wrote: As we speak earlier LNA support is not implemented at all as our API / framework. My personal opinion LNA should be always disabled by default

Re: [PATCH] usb: gadget/uvc: Remove non-required locking from 'uvc_queue_next_buffer' routine

2012-03-23 Thread Greg KH
On Fri, Mar 23, 2012 at 05:31:19PM +0800, Bhupesh SHARMA wrote: Hi Felipe, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, March 22, 2012 8:11 PM To: Bhupesh SHARMA Cc: linux-...@vger.kernel.org; laurent.pinch...@ideasonboard.com;

[PATCH] dma-buf: Correct dummy function declarations.

2012-03-23 Thread Sumit Semwal
While testing, I found that we need to correct some of the dummy declarations. When I send my pull request to Linus, I wish to squash these changes into the original patches from Daniel. Could you please review? Best regards, ~Sumit = Dummy functions for the newly added cpu access ops

Re: dvb lock patch

2012-03-23 Thread Josu Lazkano
2012/3/23 Angela Schmid angela.sch...@wolke7.net: Hello Josu Maybe I have overseen any replies. Did you got some ? Angela Hello, there is no replys, I think that this is not interesting for developers. Kind regards. -- Josu Lazkano -- To unsubscribe from this list: send the line

[PATCH 1/6] pwc: Add support for control events

2012-03-23 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/pwc/pwc-v4l.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/video/pwc/pwc-v4l.c b/drivers/media/video/pwc/pwc-v4l.c index 2834e3e..c1ba1a0 100644 --- a/drivers/media/video/pwc/pwc-v4l.c +++

uvc pwc: Add support for control events

2012-03-23 Thread Hans de Goede
Hi All, This patch series adds supports for control events to the uvc and pwc drivers. Note: -This series depends on Hans Verkuil's poll work, the latest version of -which can be found here: http://git.linuxtv.org/hgoede/gspca.git/shortlog/refs/heads/poll_req_events -This series has been

[PATCH 2/6] media/radio: use v4l2_ctrl_subscribe_event where possible

2012-03-23 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/radio/radio-isa.c | 10 +- drivers/media/radio/radio-keene.c | 14 +- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/media/radio/radio-isa.c b/drivers/media/radio/radio-isa.c

[PATCH 3/6] v4l2-event: Add v4l2_subscribed_event_ops

2012-03-23 Thread Hans de Goede
Just like with ctrl events, drivers may want to get called back on listener add / remove for other event types too. Rather then special casing all of this in subscribe / unsubscribe event it is better to use ops for this. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Hans Verkuil

[PATCH 5/6] uvcvideo: Refactor uvc_ctrl_get and query

2012-03-23 Thread Hans de Goede
This is a preparation patch for adding ctrl event support. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/uvc/uvc_ctrl.c | 62 +--- 1 file changed, 43 insertions(+), 19 deletions(-) diff --git a/drivers/media/video/uvc/uvc_ctrl.c

[PATCH 1/6] pwc: Add support for control events

2012-03-23 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/pwc/pwc-v4l.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/video/pwc/pwc-v4l.c b/drivers/media/video/pwc/pwc-v4l.c index 2834e3e..c1ba1a0 100644 --- a/drivers/media/video/pwc/pwc-v4l.c +++

[PATCH 4/6] v4l2-ctrls: Use v4l2_subscribed_event_ops

2012-03-23 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/video/ivtv/ivtv-ioctl.c |3 +- drivers/media/video/v4l2-ctrls.c | 58 ++--- drivers/media/video/v4l2-event.c | 39 --

[PATCH 6/6] uvcvideo: Add support for control events

2012-03-23 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/uvc/uvc_ctrl.c | 114 +++- drivers/media/video/uvc/uvc_v4l2.c | 30 +- drivers/media/video/uvc/uvcvideo.h | 21 +-- 3 files changed, 157 insertions(+), 8 deletions(-) diff

ov5642 camera controls

2012-03-23 Thread Chris Lalancette
Hello Bastian, I'm currently working with an ov5642 device, and I saw your patch to add controls from last September: http://patchwork.linuxtv.org/patch/7786/. Has there been any movement on this patch since then? I haven't found anything in my searches, but I may just have missed it.

Re: [PATCH] dma-buf: Correct dummy function declarations.

2012-03-23 Thread Daniel Vetter
On Fri, Mar 23, 2012 at 09:19:17PM +0530, Sumit Semwal wrote: While testing, I found that we need to correct some of the dummy declarations. When I send my pull request to Linus, I wish to squash these changes into the original patches from Daniel. Could you please review? Best regards,

Re: [PATCH] Various nits, fixes and hacks for mantis CA support on SMP

2012-03-23 Thread Marko Ristola
03.03.2012 01:21, Steinar H. Gunderson kirjoitti: On Sat, Mar 03, 2012 at 12:42:19AM +0200, Marko Ristola wrote: I'm not happy with I2CDONE busy looping either. I've tried twice lately to swith into I2C IRQ, but those patches have caused I2CDONE timeouts. Note that there are already

cron job: media_tree daily build: ERRORS

2012-03-23 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:Fri Mar 23 19:00:36 CET 2012 git hash:f92c97c8bd77992ff8bd6ef29a23dc82dca799cb gcc version: i686-linux-gcc

Re: Using MT9P031 digital sensor

2012-03-23 Thread Joshua Hintze
Sorry to bring up this old message list. I was curious when you spoke about the ISP preview engine being able to adjust the white balance. When I enumerate the previewer's available controls all I see is... root@overo:~# ./yavta -l /dev/v4l-subdev3 --- User Controls (class 0x00980001) ---

Re: [PATCH v1] i.MX35-PDK: Add Camera support

2012-03-23 Thread Alex Gershgorin
Hi Fabio, Good news... After several number of changes, yesterday the camera started to work :-) I will prepare some patches and send them. Ok, great! Besides your mx35 clock patches: any other patch is required to getting the camera to work? Yes, yesterday I sended to Sascha and ARM

[PATCH] tinyjpeg: Better luminance quantization table for Pixart JPEG

2012-03-23 Thread Jean-Francois Moine
An other luminance quantization table gives a better quality to the Pixart images created by the webcams handled by the gspca drivers pac7302 and pac7311 (pixel format 'PJPG'). Tests have been done with 5 different pac7302 webcams. The marker was always 0x44. Signed-off-by: Jean-François Moine

ViXS XCode 2100 Series TV NTSC/ATSC FM Tuner Card

2012-03-23 Thread Vikas N Kumar
Hi I am interested to know if there exists any support for the ViXS XCode 2100 Series cards ? I have looked and not found any viable support for the card chipset except for some forums mentioning ivtv as a driver. If there is anyone working on this or if there is some guidance I would like to

Re: [PATCH v3 1/1] rc: Add support for GPIO based IR Receiver driver.

2012-03-23 Thread Trilok Soni
Hi Mauro, Please review this patch. Thank you James for the review comments. Please review and check if this patch can be merged in your tree. Sorry to ping you again, but I am bit curious due to open merge window, if would be good if this patch can make it into the mainline by this

Re: [PATCH v1] i.MX35-PDK: Add Camera support

2012-03-23 Thread Fabio Estevam
Hi Alex, On Fri, Mar 23, 2012 at 4:02 PM, Alex Gershgorin alexgershgo...@gmail.com wrote: Yes, yesterday I sended to Sascha and ARM mailing list another patch i.MX35-PDK-Add-regulator-support, this also will need be used. Ok, good. I saw that patch as well. It would be really nice if you

Re: bttv 0.9.19 driver

2012-03-23 Thread Mauro Carvalho Chehab
Hi Paulo, Em 23-03-2012 07:14, Paulo Cavalcanti escreveu: Hi, I have been using an analog bttv capture card (a Pixelview PV-M4900 FM.RC - PV-BT878P+ (Rev.4C,8E)) since 2006 with these parameters in modprobe.conf: options bttv card=70 radio=1 tuner=69 audiomux=0x21,0x20,0x23,0x23,

[PATCH] em28xx: Remove redundant dev-ctl_input set

2012-03-23 Thread Ezequiel Garcia
dev-ctl_input() is always set before a call to video_mux(), but then video_mux() sets it again with the same value. Signed-off-by: Ezequiel Garcia elezegar...@gmail.com --- drivers/media/video/em28xx/em28xx-video.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git

Re: ViXS XCode 2100 Series TV NTSC/ATSC FM Tuner Card

2012-03-23 Thread Steven Toth
It's not supported by Linux and last I checked no technical documentation is available for the silicon. -- Steven Toth - Kernel Labs http://www.kernellabs.com On Fri, Mar 23, 2012 at 3:17 PM, Vikas N Kumar vikasnku...@users.sourceforge.net wrote: Hi I am interested to know if there exists any