[PATCH] [media] s5p-jpeg: Make s5p_jpeg_g_selection function static

2012-05-09 Thread Sachin Kamat
Makes the function s5p_jpeg_g_selection static (detected by sparse). Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-jpeg/jpeg-core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-jpeg/jpeg-core.c b/drivers/media/video/s5p-jpeg/jpeg-co

Re: [PATCH] Add quirk for camera of Lenovo Thinkpad X220 Tablet

2012-05-09 Thread Gregor Jasny
Hello Jakob, Without this patch, is the image flipped in both: laptop and normal mode? And could you please post the output of dmidecode? In the past we had different default behavior (flipped vs. non-flipped) for Thinkpad tablets with the same board / system identifiers. Thanks, Gregor -- T

[PATCH 2/2] [media] s5p-g2d: Add missing static storage class in g2d.c file

2012-05-09 Thread Sachin Kamat
Fixes the following sparse warnings: drivers/media/video/s5p-g2d/g2d.c:68:18: warning: symbol 'def_frame' was not declared. Should it be static? drivers/media/video/s5p-g2d/g2d.c:80:16: warning: symbol 'find_fmt' was not declared. Should it be static? drivers/media/video/s5p-g2d/g2d.c:205:5: warn

[PATCH 1/2] [media] s5p-g2d: Fix NULL pointer warnings in g2d.c file

2012-05-09 Thread Sachin Kamat
Fixes the following warnings detected by sparse: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-g2d/g2d.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/video/s5p-g2d/g2d.c b/drivers/media/v

[PATCH 2/2] [media] s5p-mfc: Add missing static storage class to silence warnings

2012-05-09 Thread Sachin Kamat
Fixes the following sparse warnings: drivers/media/video/s5p-mfc/s5p_mfc.c:73:6 warning: symbol 's5p_mfc_watchdog' was not declared. Should it be static? drivers/media/video/s5p-mfc/s5p_mfc_opr.c:299:6: warning: symbol 's5p_mfc_set_shared_buffer' was not declared. Should it be st

[PATCH 1/2] [media] s5p-mfc: Fix NULL pointer warnings

2012-05-09 Thread Sachin Kamat
Fixes the following type of warnings detected by sparse: warning: Using plain integer as NULL pointer. Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-mfc/s5p_mfc.c | 10 +- drivers/media/video/s5p-mfc/s5p_mfc_ctrl.c | 16 drivers/media/video/s5p-mfc/s5p

[PATCH v3 1/1] v4l2: use __u32 rather than enums in ioctl() structs

2012-05-09 Thread Sakari Ailus
V4L2 uses the enum type in IOCTL arguments in IOCTLs that were defined until the use of enum was considered less than ideal. Recently Rémi Denis-Courmont brought up the issue by proposing a patch to convert the enums to unsigned: http://www.spinics.net/lists/linux-media/msg46167.html> This sparke

[GIT PULL FOR v3.5] si470x cleanup and framework improvements

2012-05-09 Thread Hans Verkuil
Hi Mauro, Another bunch of driver improvements, this time for the si470x. Tested with my si470x USB device. Regards, Hans The following changes since commit 121b3ddbe4ad17df77cb7284239be0a63d9a66bd: [media] media: videobuf2-dma-contig: quiet sparse noise about plain integer as NUL

Advice on extending libv4l for media controller support

2012-05-09 Thread Sergio Aguirre
Hi Hans, I'm interested in using libv4l along with my omap4 camera project to adapt it more easily to Android CameraHAL, and other applications, to reduce complexity of them mostly... So, but the difference is that, this is a media controller device I'm trying to add support for, in which I want

[PATCH] V4L: sh_mobile_ceu_camera: don't fail TRY_FMT

2012-05-09 Thread Guennadi Liakhovetski
VIDIOC_TRY_FMT shouldn't fail if the user requests an unsupported pixel format. Instead the driver should replace it with a supported one. Fix the sh_mobile_ceu_camera driver accordingly. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/sh_mobile_ceu_camera.c |8 ++-- 1 files

[PATCH v3 10/9] sh_mobile_ceu_camera: Support user-configurable line stride

2012-05-09 Thread Guennadi Liakhovetski
From: Laurent Pinchart In image mode, the CEU allows configurable line strides up to 8188 pixels. Signed-off-by: Laurent Pinchart [g.liakhovet...@gmx.de: unify sh_mobile_ceu_set_rect() in data-fetch mode] Signed-off-by: Guennadi Liakhovetski --- Laurent, are you ok with this version? driver

Re: [PATCH] [TEST] Regarding m88rc2000 i2c gate operation, SNR, BER and others

2012-05-09 Thread Malcolm Priestley
On Wed, 2012-05-09 at 04:54 -0700, Igor M. Liplianin wrote: > Malcolm, > > I made SNR, BER, UCB and signal level code for m88rc2000, but my cards show > them correctly only if I made changes in m88rs2000_tuner_read function. > Analyzing USB logs I found that register 0x81 never set to 0x85 value.

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Ondrej Zary
On Wednesday 09 May 2012 18:20:18 Bruno Martins wrote: > On 05/09/2012 04:32 PM, Ondrej Zary wrote: > > On Wednesday 09 May 2012, Bruno Martins wrote: > >> Hello guys, > >> > >> Has anyone ever got this to working under any Linux distro, including > >> Fedora? > >> > >> I have just plugged it in an

Re: [PATCH] Terratec Cinergy C PCI HD (CI)

2012-05-09 Thread Bjørn Mork
"Igor M. Liplianin" writes: > This patch seems for rectifying a typo. But actually the difference between > mantis_vp2040.c and mantis_vp2033.c code is a card name only. Yes, there are major code duplication issues in this driver. > Signed-off-by: Igor M. Liplianin > diff -r 990a92e2410f linux

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Ezequiel Garcia
Hi, On Wed, May 9, 2012 at 2:56 PM, Ondrej Zary wrote: > On Wednesday 09 May 2012 18:54:58 Ezequiel Garcia wrote: >> Hi, >> >> Also please output lsmod with your device plugged and the list of your >> installed modules (do you know how to do this?) >> >> I may be wrong, but this device should be

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Ondrej Zary
On Wednesday 09 May 2012 18:54:58 Ezequiel Garcia wrote: > Hi, > > Also please output lsmod with your device plugged and the list of your > installed modules (do you know how to do this?) > > I may be wrong, but this device should be supported by usbvision module. The log show that usbvision modul

cron job: media_tree daily build: WARNINGS

2012-05-09 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 May 9 19:00:11 CEST 2012 git hash:121b3ddbe4ad17df77cb7284239be0a63d9a66bd gcc version: i686-linux-gcc (GC

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Bruno Martins
On 05/09/2012 05:54 PM, Ezequiel Garcia wrote: > Hi, > > Also please output lsmod with your device plugged and the list of your > installed modules (do you know how to do this?) > > I may be wrong, but this device should be supported by usbvision module. > > Thanks, > Ezequiel. > -- > To unsubsc

Re: [PATCH/RFC v4 12/12] V4L: Add camera auto focus controls

2012-05-09 Thread Sylwester Nawrocki
On 05/09/2012 12:11 PM, Sylwester Nawrocki wrote: > On 05/06/2012 08:46 PM, Sakari Ailus wrote: >> Sylwester Nawrocki wrote: >>> Add following auto focus controls: >>> >>> - V4L2_CID_AUTO_FOCUS_START - single-shot auto focus start >>> - V4L2_CID_AUTO_FOCUS_STOP - single-shot auto focus stop >>

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Ezequiel Garcia
Hi, Also please output lsmod with your device plugged and the list of your installed modules (do you know how to do this?) I may be wrong, but this device should be supported by usbvision module. Thanks, Ezequiel. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the b

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Bruno Martins
On 05/09/2012 04:32 PM, Ondrej Zary wrote: > On Wednesday 09 May 2012, Bruno Martins wrote: >> Hello guys, >> >> Has anyone ever got this to working under any Linux distro, including >> Fedora? >> >> I have just plugged it in and I get this on dmesg: >> >> [ 1365.932522] usb 2-1.1: new full-speed U

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Ondrej Zary
On Wednesday 09 May 2012, Bruno Martins wrote: > Hello guys, > > Has anyone ever got this to working under any Linux distro, including > Fedora? > > I have just plugged it in and I get this on dmesg: > > [ 1365.932522] usb 2-1.1: new full-speed USB device number 26 using ehci_hcd > [ 1366.073145] u

[GIT PULL FOR v3.5 v3] V4L2 subdev and sensor control changes

2012-05-09 Thread Sakari Ailus
Hi Mauro, This patchset adds - Sensor control improvements, - link_validate() media entity and V4L2 subdev pad ops, - Other V4L2 and media improvements (see individual patches), - SMIA++ driver Changes since pull for 3.5 v2: - Put back the SMIA++ driver and the adp1653 patch. They have nothing

Re: [PATCH 1/8] soc_camera: Use soc_camera_device::sizeimage to compute buffer sizes

2012-05-09 Thread Laurent Pinchart
Hi Guennadi, On Wednesday 25 April 2012 00:06:03 Guennadi Liakhovetski wrote: > Hi Laurent > > Sorry for a slightly delayed reply;-) So slightly :-) > On Thu, 26 Jan 2012, Laurent Pinchart wrote: > > [snip] > > > > > diff --git a/drivers/media/video/sh_mobile_ceu_camera.c > > > > b/drivers/me

Dazzle DVC80 under FC16

2012-05-09 Thread Bruno Martins
Hello guys, Has anyone ever got this to working under any Linux distro, including Fedora? I have just plugged it in and I get this on dmesg: [ 1365.932522] usb 2-1.1: new full-speed USB device number 26 using ehci_hcd [ 1366.073145] usb 2-1.1: New USB device found, idVendor=07d0, idProduct=0004

[PATCH 3/3] mt9m032: Implement V4L2_CID_PIXEL_RATE control

2012-05-09 Thread Laurent Pinchart
The pixel rate control is required by the OMAP3 ISP driver and should be implemented by all media controller-compatible sensor drivers. Signed-off-by: Laurent Pinchart --- drivers/media/video/mt9m032.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH 2/3] mt9p031: Implement V4L2_CID_PIXEL_RATE control

2012-05-09 Thread Laurent Pinchart
The pixel rate control is required by the OMAP3 ISP driver and should be implemented by all media controller-compatible sensor drivers. Signed-off-by: Laurent Pinchart --- drivers/media/video/mt9p031.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/media/vid

[PATCH 1/3] mt9t001: Implement V4L2_CID_PIXEL_RATE control

2012-05-09 Thread Laurent Pinchart
The pixel rate control is required by the OMAP3 ISP driver and should be implemented by all media controller-compatible sensor drivers. Signed-off-by: Laurent Pinchart --- drivers/media/video/mt9t001.c | 13 +++-- include/media/mt9t001.h |1 + 2 files changed, 12 insertions(+

[PATCH 0/3] V4L2_CID_PIXEL_RATE support in sensor drivers

2012-05-09 Thread Laurent Pinchart
Hi everybody, This patch implements support for the V4L2_CID_PIXEL_RATE control in the mt9t001, mt9p031 and mt9m032 sensor drivers. Recent changes to the OMAP3 ISP driver (see the media-for-3.5 branch in the http://git.linuxtv.org/sailus/media_tree.git repository) made support for that control ma

[PATCH] [TEST] Regarding m88rc2000 i2c gate operation, SNR, BER and others

2012-05-09 Thread Igor M. Liplianin
Malcolm, I made SNR, BER, UCB and signal level code for m88rc2000, but my cards show them correctly only if I made changes in m88rs2000_tuner_read function. Analyzing USB logs I found that register 0x81 never set to 0x85 value. It is always set to 0x84 regardless of read or write operation to tun

[PATCH] Terratec Cinergy C PCI HD (CI)

2012-05-09 Thread Igor M. Liplianin
This patch seems for rectifying a typo. But actually the difference between mantis_vp2040.c and mantis_vp2033.c code is a card name only. Signed-off-by: Igor M. Liplianin diff -r 990a92e2410f linux/drivers/media/dvb/mantis/mantis_cards.c --- a/linux/drivers/media/dvb/mantis/mantis_cards.c Wed May

RE: [PATCH 1/1] v4l: mem2mem_testdev: Fix race conditions in driver.

2012-05-09 Thread Marek Szyprowski
Hi Tomasz, On Monday, May 07, 2012 10:39 PM Tomasz Moń wrote: > The mem2mem_testdev allows multiple instances to be opened in parallel. > Source and destination queue data are being shared between all > instances, which can lead to kernel oops due to race conditions (most > likely to happen insid

Re: em28xx : can work on ARM beagleboard ?

2012-05-09 Thread chrbruno
I confirm it works fine on an x86 arch i will have a look to the HCL to find a compatible usb video capture stick ! Thanks for your answers Chris Le 08/05/2012 20:53, Antti Palosaari a écrit : On 08.05.2012 21:47, Devin Heitmueller wrote: On Tue, May 8, 2012 at 2:24 PM, Antti Palosaari wro

Re: [PATCH/RFC v4 12/12] V4L: Add camera auto focus controls

2012-05-09 Thread Sylwester Nawrocki
Hi Sakari, thank you for the comments. On 05/06/2012 08:46 PM, Sakari Ailus wrote: > Hi Sylwester, > > Thanks for the patch, > > Sylwester Nawrocki wrote: >> Add following auto focus controls: >> >> - V4L2_CID_AUTO_FOCUS_START - single-shot auto focus start >> - V4L2_CID_AUTO_FOCUS_STOP - si

Re: [PATCHv5 08/13] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-05-09 Thread Tomasz Stanislawski
Hi Subash, Could you post the code of vb2_dc_pages_to_sgt with all printk in it. It will help us avoid guessing where and what is debugged in the log. Moreover, I found a line 'size=4294836224' in the log. It means that size is equal to -131072 (!?!) or there are some invalid conversions in printk

RE: [PATCH 2/2] V4L: remove unused .enum_mbus_fsizes() subdev video operation

2012-05-09 Thread Qing Xu
Hi Guennadi, Thanks for the patch! I am ok with it. > -Original Message- > From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] > Sent: Wednesday, May 09, 2012 5:01 AM > To: Linux Media Mailing List > Cc: Qing Xu > Subject: [PATCH 2/2] V4L: remove unused .enum_mbus_fsizes() subdev

RE: [PATCH 1/2] V4L: soc-camera: switch to using the existing .enum_framesizes()

2012-05-09 Thread Qing Xu
Thanks for the patch! I am ok with it. > -Original Message- > From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] > Sent: Wednesday, May 09, 2012 5:01 AM > To: Linux Media Mailing List > Cc: Qing Xu > Subject: [PATCH 1/2] V4L: soc-camera: switch to using the existing > .enum_frame