[PATCH] V4L: soc_camera: allow reading from video device if supported

2012-08-18 Thread Anatolij Gustschin
Try reading on video device. If the camera bus driver supports reading we can try it and return the result. Also add a debug line. Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/media/platform/soc_camera.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff

media_build duplicate module structures

2012-08-18 Thread Malcolm Priestley
Hi Updating older kernels with media_build does not remove the old file structure. Running /sbin/depmod will mean the new structure will have two modules of the same name causing module conflicts. The entire old structure needs to be removed first. rm -r /lib/modules/$(uname

Re: STV0299: reading property DTV_FREQUENCY -- what am I expected to get?

2012-08-18 Thread Reinhard Nissl
Hi, Am 16.08.2012 00:10, schrieb Mauro Carvalho Chehab: The patch seems to be working. Anyway, for it to be merged, you'll need to be sending it together with your SOB (Signed-off-by), and using the -p1 format e. g. something like: --- a/drivers/media/dvb/frontends/stb0899_drv.c 2012-08-14

How to add new chip ids to v4l2-chip-ident.h ?

2012-08-18 Thread Frank Schäfer
Hi, I would like to know how to add new chip ids to v4l2-chip-ident.h. Ist there a kind of policy for choosing numbers ? Which numbers would be approriate for the em25xx/em26xx/em27xx/em28xx chips ? Unfortunately 2700 is already used by V4L2_IDENT_VP27SMPX... Regards, Frank Schäfer -- To

Re: How to add new chip ids to v4l2-chip-ident.h ?

2012-08-18 Thread Hans Verkuil
On Sat August 18 2012 16:19:26 Frank Schäfer wrote: Hi, I would like to know how to add new chip ids to v4l2-chip-ident.h. Ist there a kind of policy for choosing numbers ? Using numbers that match the chip number is recommended, but if that can't be done due to clashes, then pick some

[Q] videbuf2 behavior when start_streaming fails

2012-08-18 Thread Ezequiel Garcia
Hello, I was trying to debug a bug in stk1160, triggered by a low memory situation. After some struggling I found out that I'm suppose to clear the queued buffers if start_streaming() fails (which I wasn't doing). This seems most awkward since I didn't queue the buffers in start_streaming, but

[GIT PULL FOR 3.7] Misc. fixes + shark improvements

2012-08-18 Thread Hans de Goede
Hi Mauro, Please pull from my tree for a bunch of assorted fixes, as well as AM tuning and suspend/resume for the radio-shark and radio-shark2 drivers. The following changes since commit 9b78c5a3007e10a172d4e83bea18509fdff2e8e3: [media] b2c2: export b2c2_flexcop_debug symbol (2012-08-17

Re: [GIT PULL] ViewCast O820E capture support added

2012-08-18 Thread Steven Toth
Mauro, please read below, a new set of patches I'm submitting for merge. On Thu, Aug 16, 2012 at 2:49 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Thu August 16 2012 19:39:51 Steven Toth wrote: So, I've ran v4l2-compliance and it pointed out a few things that I've fixed, but it also does a

[patch] [media] rc: divide by zero bugs in s_tx_carrier()

2012-08-18 Thread Dan Carpenter
carrier comes from a get_user() in ir_lirc_ioctl(). We need to test that it's not zero before using it as a divisor. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/rc/ene_ir.c b/drivers/media/rc/ene_ir.c index 647dd95..d05ac15 100644 ---

Re: [GIT PULL] ViewCast O820E capture support added

2012-08-18 Thread Hans Verkuil
On Sat August 18 2012 17:48:52 Steven Toth wrote: Mauro, please read below, a new set of patches I'm submitting for merge. On Thu, Aug 16, 2012 at 2:49 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Thu August 16 2012 19:39:51 Steven Toth wrote: So, I've ran v4l2-compliance and it pointed

cron job: media_tree daily build: ERRORS

2012-08-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:Sat Aug 18 19:00:20 CEST 2012 git hash:9b78c5a3007e10a172d4e83bea18509fdff2e8e3 gcc version: i686-linux-gcc

[PATCH 3/5] drivers/media/video/gspca/cpia1.c: introduce missing initialization

2012-08-18 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The result of one call to a function is tested, and then at the second call to the same function, the previous result, and not the current result, is tested again. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) //

[PATCH 2/5] drivers/media/video/mt9m032.c: introduce missing initialization

2012-08-18 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The result of one call to a function is tested, and then at the second call to the same function, the previous result, and not the current result, is tested again. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) //

[PATCH 5/5] drivers/media/video/m5mols/m5mols_core.c: introduce missing initialization

2012-08-18 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The result of one call to a function is tested, and then at the second call to the same function, the previous result, and not the current result, is tested again. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) //

Re: [PATCH] [media] winbond-cir: Fix initialization

2012-08-18 Thread David Härdeman
On Tue, Jul 31, 2012 at 11:37:03AM +0100, Sean Young wrote: The serial driver will detect the winbond cir device as a serial port, since it looks exactly like a serial port unless you know what it is from the PNP ID. Winbond CIR 00:04: Region 0x2f8-0x2ff already in use! Winbond CIR 00:04: