Re: [PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread Toshiaki Yamane
On Tue, Nov 6, 2012 at 12:25 AM, Joe Perches wrote: > On Mon, 2012-11-05 at 16:22 +0100, Greg Kroah-Hartman wrote: >> On Mon, Nov 05, 2012 at 07:11:11AM -0800, Joe Perches wrote: >> > On Mon, 2012-11-05 at 14:11 +0100, Greg Kroah-Hartman wrote: >> > > On Mon, Nov 05, 2012 at 08:34:42PM +0900, YAMA

Re: [PATCH 1/5] [media] dvb-usb: add a pre_init hook to struct dvb_usb_device_properties

2012-11-05 Thread Antti Palosaari
On 11/06/2012 01:28 AM, Antonio Ospite wrote: Some devices need to issue a pre-initialization command sequence via i2c in order to "enable" the communication with some adapter components. This happens for instance in the vp7049 USB DVB-T stick on which the frontend cannot be detected without fir

[PATCH 2/5] [media] get_dvb_firmware: add dvb-usb-vp7049-0.95.fw

2012-11-05 Thread Antonio Ospite
Firmware for vp7049 based design, known actual devices are: Twinhan/Azurewave DTV-DVB UDTT7049 Digicom Digitune-S Think Xtra Hollywood DVB-T USB2.0 Signed-off-by: Antonio Ospite --- I tried to contact the original manufacturer (Twinhan) but it does not exists anymore, Azurewave didn't repl

[PATCH 3/5] [media] m920x: Add support for the VP-7049 Twinhan DVB-T USB Stick

2012-11-05 Thread Antonio Ospite
This device was originally made by Twinhan/Azurewave[1] sometimes named DTV-DVB UDTT7049, it could be also found in Italy under the name of Digicom Digitune-S[2], or Think Xtra Hollywood DVB-T USB2.0[3]. Components: Usb bridge: ULi M9206 Frontend: MT352CG Tuner: MT2060F The firmware can be downlo

[PATCH 4/5] [media] dvb-usb: fix indentation of a for loop

2012-11-05 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- drivers/media/usb/dvb-usb/dvb-usb-init.c | 60 +++--- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/media/usb/dvb-usb/dvb-usb-init.c b/drivers/media/usb/dvb-usb/dvb-usb-init.c index 8ab916e..619a7f0 100644 ---

[PATCH 5/5] [media] m920x: fix a typo in a comment

2012-11-05 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- drivers/media/usb/dvb-usb/m920x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/m920x.c b/drivers/media/usb/dvb-usb/m920x.c index ec820ec..c66c78c 100644 --- a/drivers/media/usb/dvb-usb/m920x.c +++ b/drivers/med

[PATCH 1/5] [media] dvb-usb: add a pre_init hook to struct dvb_usb_device_properties

2012-11-05 Thread Antonio Ospite
Some devices need to issue a pre-initialization command sequence via i2c in order to "enable" the communication with some adapter components. This happens for instance in the vp7049 USB DVB-T stick on which the frontend cannot be detected without first sending a certain sequence of commands via i2

[PATCH 0/5] dvb-usb: support VP-7049 Twinhan DVB-T USB Stick and other fixes

2012-11-05 Thread Antonio Ospite
Hi, with this series I am adding support for the VP-7049 Twinhan DVB-T USB stick, the device comes also under other names as specified in the appropriate commit messages. Patch 1 extends the initialization sequence to support this particular hardware, it's a dependency for patch 3. I am open to a

Re: [PATCH] [media] tda18212: tda18218: use 'val' if initialized

2012-11-05 Thread Antti Palosaari
On 11/01/2012 11:00 PM, Paul Bolle wrote: Commits e666a44fa313cb9329c0381ad02fc6ee1e21cb31 ("[media] tda18212: silence compiler warning") and e0e52d4e9f5bce7ea887027c127473eb654a5a04 ("[media] tda18218: silence compiler warning") silenced warnings equivalent to these: drivers/media/tuners/td

[PATCH] OV5642: fix VIDIOC_S_GROP ioctl

2012-11-05 Thread Anatolij Gustschin
VIDIOC_S_GROP ioctl doesn't work, soc-camera driver reports: soc-camera-pdrv soc-camera-pdrv.0: S_CROP denied: getting current crop failed The issue is caused by checking for V4L2_BUF_TYPE_VIDEO_CAPTURE type in driver's g_crop callback. This check should be in s_crop instead, g_crop should just s

Re: [PATCH] Add chipid to fc2580.c

2012-11-05 Thread Antti Palosaari
On 10/30/2012 11:24 AM, Oliver Schinagl wrote: On 29-10-12 02:09, Antti Palosaari wrote: su 28.10.2012 22:07 Mauro Carvalho Chehab kirjoitti: Em Mon, 22 Oct 2012 10:17:26 +0200 Oliver Schinagl escreveu: diff --git a/drivers/media/tuners/fc2580.c b/drivers/media/tuners/fc2580.c index aff39ae.

Re: [PATCH 57/68] [media] anysee: fix a warning

2012-11-05 Thread Mauro Carvalho Chehab
Em Tue, 06 Nov 2012 00:30:27 +0200 Antti Palosaari escreveu: > On 10/27/2012 11:41 PM, Mauro Carvalho Chehab wrote: > > drivers/media/usb/dvb-usb-v2/anysee.c:1179:5: warning: 'tmp' may be used > > uninitialized in this function [-Wmaybe-uninitialized] > > > > Cc: Antti Palosaari > > Signed-off-

Re: [PATCH 57/68] [media] anysee: fix a warning

2012-11-05 Thread Antti Palosaari
On 10/27/2012 11:41 PM, Mauro Carvalho Chehab wrote: drivers/media/usb/dvb-usb-v2/anysee.c:1179:5: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] Cc: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb-v2/anysee.c | 2 +- 1

Re: S3C244X/S3C64XX SoC camera host interface driver questions

2012-11-05 Thread Sylwester Nawrocki
Hi Andrey, On 11/05/2012 12:11 PM, Andrey Gusakov wrote: Hi. Thanks all! I make it work! Have to comment out write { REG_GRCOM, 0x3f }, /* Great news! Does the sensor still hang after 0x2f is written to REG_GRCOM instead ? Analog BLC& regulator */ and have to enable gate clock for fimc a

Re: [PATCH 56/68] [media] tua9001: fix a warning

2012-11-05 Thread Antti Palosaari
On 10/27/2012 11:41 PM, Mauro Carvalho Chehab wrote: drivers/media/tuners/tua9001.c:211:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Cc: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/tua9001.c | 2 +- 1 file changed, 1

cron job: media_tree daily build: WARNINGS

2012-11-05 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 Nov 5 19:00:20 CET 2012 git hash:8f7e91a31fb95c50880c76505b416630c0326d93 gcc version: i686-linux-gcc (GCC

Re: Way to request a time discontinuity in a V4L2 encoder device

2012-11-05 Thread Sylwester Nawrocki
Hi, On 11/05/2012 11:45 AM, Alain VOLMAT wrote: Hi Laurent, Yes indeed, meta plane seems a good candidate. It was the other option. The pity with that is that the FMT can thus no longer be standard FMT but a specific format that include both plane 0 with real frame data and plane 1 with meta

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-11-05 Thread Christof Meerwald
On Sat, Nov 03, 2012 at 03:16:36PM +0100, Daniel Mack wrote: > On 03.11.2012 15:10, Christof Meerwald wrote: > > http://comments.gmane.org/gmane.comp.voip.twinkle/3052 and > > http://pastebin.com/aHGe1S1X for a self-contained C test. > Some questions: > > - Are you seeing the same issue with 3.6.

[PATCH 2/2] media: coda: Use iram_alloc() for codadx6 too.

2012-11-05 Thread Javier Martin
Use this helper function instead of hardcoding the physical address of the IRAM in the i.MX27. Signed-off-by: Javier Martin --- drivers/media/video/Kconfig |2 +- drivers/media/video/coda.c | 18 ++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/me

[PATCH 1/2] ARM: i.MX27: Add platform support for IRAM.

2012-11-05 Thread Javier Martin
Add support for IRAM to i.MX27 non-DT platforms using iram_init() function. Signed-off-by: Javier Martin --- arch/arm/mach-imx/mm-imx27.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mm-imx27.c b/arch/arm/mach-imx/mm-imx27.c index e7e24af..fd2416d 100644 --- a/arch

[PATCH] tm6000-dvb: Fix module unload.

2012-11-05 Thread Julian Scheel
dvb_unregister_frontend has to be called before detach. Otherwise the unregister call will segfault. This made tm6000-dvb module unload unusable. Signed-off-by: Julian Scheel --- drivers/media/usb/tm6000/tm6000-dvb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

OMAP3 ISP: VIDIOC_STREAMON and VIDIOC_QBUF calls fail

2012-11-05 Thread Andreas Nagel
Hello, in order to familiarize myself with Media Controller and V4L2 I am creating a small example program for capturing some frames through the OMAP3 ISP. The hardware used is a TAO-3530 on a Tsunami daughterboard from Technexion. My video source is a standard DVD player connected to the dau

Re: [PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread Greg Kroah-Hartman
On Mon, Nov 05, 2012 at 07:11:11AM -0800, Joe Perches wrote: > On Mon, 2012-11-05 at 14:11 +0100, Greg Kroah-Hartman wrote: > > On Mon, Nov 05, 2012 at 08:34:42PM +0900, YAMANE Toshiaki wrote: > > > fixed below checkpatch warnings. > > > - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ..

Re: [PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread Joe Perches
On Mon, 2012-11-05 at 16:22 +0100, Greg Kroah-Hartman wrote: > On Mon, Nov 05, 2012 at 07:11:11AM -0800, Joe Perches wrote: > > On Mon, 2012-11-05 at 14:11 +0100, Greg Kroah-Hartman wrote: > > > On Mon, Nov 05, 2012 at 08:34:42PM +0900, YAMANE Toshiaki wrote: > > > > fixed below checkpatch warnings

Re: [PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread Joe Perches
On Mon, 2012-11-05 at 14:11 +0100, Greg Kroah-Hartman wrote: > On Mon, Nov 05, 2012 at 08:34:42PM +0900, YAMANE Toshiaki wrote: > > fixed below checkpatch warnings. > > - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then > > pr_err(... to printk(KERN_ERR ... > > - WARNING: Prefer

soc camera driver module may case memory leak

2012-11-05 Thread ??????
Dear sir: soc camera driver module may case memory leak https://bugzilla.kernel.org/show_bug.cgi?id=49991

Re: [RFC 4/4] v4l: Tell user space we're using monotonic timestamps

2012-11-05 Thread Sakari Ailus
Hi Laurent, On Sun, Nov 04, 2012 at 01:07:25PM +0100, Laurent Pinchart wrote: > On Wednesday 24 October 2012 21:16:23 Sakari Ailus wrote: ... > > @@ -367,7 +368,8 @@ static void __fill_v4l2_buffer(struct vb2_buffer *vb, > > struct v4l2_buffer *b) /* > > * Clear any buffer state related flags.

Re: [PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread Ezequiel Garcia
On Mon, Nov 5, 2012 at 10:30 AM, Toshiaki Yamane wrote: > > I tried to check in get_maintainer.pl... > Do I need to be re-sent to the address "Mauro Carvalho Chehab > "? > No, that's not necessary. You need to send these to linux-media and Cc any relevant maintainer, if there is one available.

Re: [PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread Toshiaki Yamane
On Mon, Nov 5, 2012 at 10:11 PM, Greg Kroah-Hartman wrote: > On Mon, Nov 05, 2012 at 08:34:42PM +0900, YAMANE Toshiaki wrote: >> fixed below checkpatch warnings. >> - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then >> pr_err(... to printk(KERN_ERR ... >> - WARNING: Prefer netde

Re: [PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread Greg Kroah-Hartman
On Mon, Nov 05, 2012 at 08:34:42PM +0900, YAMANE Toshiaki wrote: > fixed below checkpatch warnings. > - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then > pr_err(... to printk(KERN_ERR ... > - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then > pr_info(... to

[PATCH] drxk: Use BUG() for invalid numberOfParameters in QAMDemodulatorCommand()

2012-11-05 Thread Ben Hutchings
If numberOfParameters is not 2 or 4, we log a warning and then continue. Depending on compiler version and options, this may be recognised as an impossible case or may otherwise provoke the warning that 'status' is uninitialised. Using the more forceful BUG() avoids this warning, and makes it har

Re: avermedia, new version of avertv volar green hd

2012-11-05 Thread Árvai Zoltán
Hi, I asked the local guy from Avermedia about this tuner. He said it is a new product called "AVerTV Volar HD M" (A835M). It has probably the same hardware like the Volar Green, but it has extended software bundle (e.g. Mac support). http://www.avermedia.com/Product/ProductDetail.aspx?Id=517

[PATCH 2/2] staging/media: Fix trailing statements should be on next line in go7007/go7007-fw.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch error. - ERROR: trailing statements should be on next line Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/go7007/go7007-fw.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/media/go7007/go7007-fw.c b/drivers/staging/media

[PATCH 1/2] staging/media: Use dev_ printks in go7007/go7007-fw.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/m

[PATCH 2/2] staging/media: Use dev_ or pr_ printks in go7007/wis-saa7113.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/

[PATCH 1/2] Staging/media: fixed spacing coding style in go7007/wis-saa7113.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch error. - ERROR: that open brace { should be on the previous line Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/go7007/wis-saa7113.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/go7007/wis-saa7113.c b/drivers/sta

[PATCH 2/2] staging/media: Use dev_ or pr_ printks in go7007/wis-saa7115.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/

[PATCH 1/2] Staging/media: fixed spacing coding style in go7007/wis-saa7115.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch error. - ERROR: that open brace { should be on the previous line Signed-off-by: YAMANE Toshiaki --- drivers/staging/media/go7007/wis-saa7115.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/go7007/wis-saa7115.c b/drivers/sta

[PATCH] staging/media: Use dev_ or pr_ printks in go7007/go7007-i2c.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/

[PATCH] staging/media: Use dev_ printks in go7007/s2250-loader.c

2012-11-05 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/

Re: S3C244X/S3C64XX SoC camera host interface driver questions

2012-11-05 Thread Andrey Gusakov
Hi. Thanks all! I make it work! Have to comment out write { REG_GRCOM, 0x3f }, /* Analog BLC & regulator */ and have to enable gate clock for fimc at probe. > Hmm, in my case VER was 0x50. PID, VER = 0x96, 0x50. And this a default > value > after reset according to the datasheet, ver. 1.3. For v

Re: S3C244X/S3C64XX SoC camera host interface driver questions

2012-11-05 Thread Sylwester Nawrocki
Hi, On 11/05/2012 10:44 AM, Andrey Gusakov wrote: But documentation on ov9650 is too conflicting and did not cover all registers used in driver. Do you mean the OV9650 datasheet, version 1.3, from September 24, 2004 ? Yes. Also I have datasheet version 1.91 from January 28, 2005 and Applicatio

RE: Way to request a time discontinuity in a V4L2 encoder device

2012-11-05 Thread Alain VOLMAT
Hi Laurent, Yes indeed, meta plane seems a good candidate. It was the other option. The pity with that is that the FMT can thus no longer be standard FMT but a specific format that include both plane 0 with real frame data and plane 1 with meta data. So, standard V4L2 application (that doesn't

Re: [omap3-isp-live] Autofocus buffer interpretation of H3A engine

2012-11-05 Thread Laurent Pinchart
Hi Florian, On Thursday 01 November 2012 11:17:44 Florian Neuhaus wrote: > Hi Laurent > > I am adapting your current omap3-isp-live application to fit our needs > (http://git.ideasonboard.org/omap3-isp-live.git/commit/619164a994c8d878249d > 6c1b8b16c27074a04209). For this I need to implement an a

Re: Way to request a time discontinuity in a V4L2 encoder device

2012-11-05 Thread Laurent Pinchart
Hi Alain, On Wednesday 31 October 2012 14:21:30 Alain VOLMAT wrote: > Hi all, > > We have developed a V4L2 mem2mem driver for an H264 encoder running on an IP > of one of our SoC and would like to have one more v4l2_buffer flag value > for that. > > In the context of this driver, we discovered t

Re: [RFC 1/4] v4l: Define video buffer flags for timestamp types

2012-11-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Wednesday 24 October 2012 21:16:20 Sakari Ailus wrote: > Define video buffer flags for different timestamp types. Everything up to > now have used either realtime clock or monotonic clock, without a way to > tell which clock the timestamp was taken from. > > S

Re: [RFC 4/4] v4l: Tell user space we're using monotonic timestamps

2012-11-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Wednesday 24 October 2012 21:16:23 Sakari Ailus wrote: > Set buffer timestamp flags for videobuf, videobuf2 and drivers that use > neither. > > Signed-off-by: Sakari Ailus > --- > drivers/media/pci/meye/meye.c |4 ++-- > drivers/media/pci

Re: S3C244X/S3C64XX SoC camera host interface driver questions

2012-11-05 Thread Andrey Gusakov
Hi. >> But documentation on ov9650 is too conflicting and did not cover all >> registers used in driver. > Do you mean the OV9650 datasheet, version 1.3, from September 24, 2004 ? Yes. Also I have datasheet version 1.91 from January 28, 2005 and Application note 1.1 from 7 December 2004 All can be

Re: [PATCH v7 8/8] drm_modes: add of_videomode helpers

2012-11-05 Thread Thierry Reding
On Wed, Oct 31, 2012 at 10:28:08AM +0100, Steffen Trumtrar wrote: [...] > +/** > + * of_get_drm_display_mode - get a drm_display_mode from devicetree > + * @np: device_node with the timing specification > + * @dmode: will be set to the return value > + * @index: index into the list of display timin

[PATCH] [media] s5p-mfc: Bug fix of timestamp/timecode copy mechanism

2012-11-05 Thread Arun Kumar K
Modified the function s5p_mfc_get_dec_y_adr_v6 to access the decode Y address register instead of display Y address. Signed-off-by: Sunil Mazhavanchery Signed-off-by: Arun Kumar K --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) di