Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-14 Thread Julia Lawall
Well, I've massively applied hundreds of patches today, but not much on this driver. Maybe it is better for you to wait for a couple of days for these to be at -next, or use, instead, our tree as the basis for it: git://linuxtv.org/media_tree.git staging/for_v3.7 I cloned this, but it

[patch] [media] it913x-fe: use ARRAY_SIZE() as a cleanup

2012-08-14 Thread Dan Carpenter
This code looks suspicious, but it turns out that nv is an array of u8 so sizeof() is the same as ARRAY_SIZE(). Using ARRAY_SIZE() is more readable though. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/dvb/frontends/it913x-fe.c

[patch] [media] em28xx: use after free in em28xx_v4l2_close()

2012-08-14 Thread Dan Carpenter
We need to move the unlock before the kfree(dev); Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies to linux-next. diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index ecb23df..78d6ebd 100644 ---

[patch] [media] mem2mem_testdev: unlock and return error code properly

2012-08-14 Thread Dan Carpenter
We recently added locking to this function, but there was an error path which accidentally returned holding a lock. Also we returned zero on failure on some paths instead of the error code. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies to linux-next. diff --git

[patch] [media] stk1160: unlock on error path stk1160_set_alternate()

2012-08-14 Thread Dan Carpenter
There are some unlocks missing on error. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies on top of linux-next. diff --git a/drivers/media/video/stk1160/stk1160-v4l.c b/drivers/media/video/stk1160/stk1160-v4l.c index 360bdbe..1ad4ac1 100644 ---

[patch] [media] stk1160: remove unneeded check

2012-08-14 Thread Dan Carpenter
card is a valid pointer here because we checked snd_card_create() for error returns. Checking after a dereference makes the static checkers complain. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Only needed on linux-next. diff --git a/drivers/media/video/stk1160/stk1160-ac97.c

Re: [git:v4l-dvb/for_v3.7] [media] mantis: Terratec Cinergy C PCI HD (CI)

2012-08-14 Thread Manu Abraham
On Tue, Aug 14, 2012 at 12:55 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 10-08-2012 20:55, Manu Abraham escreveu: Mauro, Please revert this patch. Patch is incorrect. There is the VP-20300, VP-20330, VP-2040, with differences in tuner types TDA10021, TDA10023, MK-I, MK-II and

Re: [PATCH v2] media: davinci: fix section mismatch warnings

2012-08-14 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Tuesday 14 August 2012 10:53:09 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com This patch fixes section mismatch warnings for davinci video drivers. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Hans de Goede
Hi, On 08/13/2012 09:15 PM, Sylwester Nawrocki wrote: snip And if a driver also supports single-plane formats in addition to 1 plane formats, should V4L2_CAP_VIDEO_CAPTURE be compulsary? Yes, so that non multi-plane aware apps keep working. There is the multi-planar API and there are

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Hans de Goede
Hi, On 08/14/2012 02:00 AM, Laurent Pinchart wrote: Hi Hans, On Monday 13 August 2012 15:13:34 Hans de Goede wrote: [snip] 4) What should a driver return in TRY_FMT/S_FMT if the requested format is not supported (possible behaviours include returning the currently selected format

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

2012-08-14 Thread Reinhard Nissl
Hi, it seems that my 9 years old LNBs got some drift over time, as tuning takes quite a while until I get a lock. So I thought I could compensate this offset by adjusting VDR's diseqc.conf. Therefore I first hacked some logging into VDR's tuner code to read and output the above mentioned

[PATCH] v4l/s5p-mfc: optimized code related to working contextes

2012-08-14 Thread Andrzej Hajda
All code setting/clearing working context bits has been moved to separate functions. set_bit/clear_bit have been replaced by non-atomic variants - variable is already guarded by spin_lock. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: Copyright issues, do not copy code and add your own copyrights

2012-08-14 Thread Hans de Goede
Hi, On 08/14/2012 11:10 AM, Manu Abraham wrote: Hi, The subject line says it. Please fix the offending Copyright header. Offending one. http://git.linuxtv.org/media_tree.git/blob/staging/for_v3.7:/drivers/media/dvb-frontends/stb6100_proc.h Original one.

[PATCH] v4l/s5p-mfc: added DMABUF support for encoder

2012-08-14 Thread Andrzej Hajda
Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Patch cleanly applies after patch http://patchwork.linuxtv.org/patch/13797/ --- drivers/media/video/s5p-mfc/s5p_mfc.c |4 ++-- drivers/media/video/s5p-mfc/s5p_mfc_enc.c |3 ++-

Re: Copyright issues, do not copy code and add your own copyrights

2012-08-14 Thread Manu Abraham
Hi, On Tue, Aug 14, 2012 at 2:51 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 08/14/2012 11:10 AM, Manu Abraham wrote: Hi, The subject line says it. Please fix the offending Copyright header. Offending one.

[PATCH] media/usb: fix compilation for pure dvb usb drivers

2012-08-14 Thread Mauro Carvalho Chehab
This patch shold be fold with rename most media/video usb drivers to media/usb Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/usb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/Kconfig b/drivers/media/usb/Kconfig index

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 03:30, Julia Lawall escreveu: Well, I've massively applied hundreds of patches today, but not much on this driver. Maybe it is better for you to wait for a couple of days for these to be at -next, or use, instead, our tree as the basis for it:

[PATCHv2 2/2] DocBook: update RDS references to the latest RDS standards.

2012-08-14 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/biblio.xml | 12 ++-- Documentation/DocBook/media/v4l/controls.xml |6 +++--- Documentation/DocBook/media/v4l/dev-rds.xml |2 +- 3 files changed,

[PATCHv2 1/2] DocBook validation fixes.

2012-08-14 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com More validation fixes as reported by xmllint. There are still three xmllint errors after this remaining regarding SVG file support. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/Makefile |2 +-

[PATCHv2 0/2] DocBook validation fixes

2012-08-14 Thread Hans Verkuil
Hi Mauro, This fixes the issue with the empty title, although I am not certain it really was an issue, but by folding the table in the preceding section it is now OK according to xmllint. I've also added a small update to the RDS standards references. -- To unsubscribe from this list: send the

RE: [PATCH] v4l/s5p-mfc: optimized code related to working contextes

2012-08-14 Thread Kamil Debski
Hi Andrzej, Thank you for your patch. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland RD Center From: Andrzej Hajda [mailto:a.ha...@samsung.com] Sent: 14 August 2012 11:14 All code setting/clearing working context bits has been moved to separate functions.

RE: [PATCH] v4l/s5p-mfc: added DMABUF support for encoder

2012-08-14 Thread Kamil Debski
Hi Andrzej, Thank you for your patch. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland RD Center From: Andrzej Hajda [mailto:a.ha...@samsung.com] Sent: 14 August 2012 11:30 Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park

Re: [patch] [media] stk1160: unlock on error path stk1160_set_alternate()

2012-08-14 Thread Ezequiel Garcia
Hi Dan, On Tue, Aug 14, 2012 at 3:59 AM, Dan Carpenter dan.carpen...@oracle.com wrote: There are some unlocks missing on error. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies on top of linux-next. diff --git a/drivers/media/video/stk1160/stk1160-v4l.c

Re: [PATCH] [media] s5p-fimc: Make FIMC-Lite dependent on S5P-FIMC

2012-08-14 Thread Sylwester Nawrocki
Hi Sachin, On 08/14/2012 06:52 AM, Sachin Kamat wrote: FIMC-Lite driver accesses functions which are defined in files attached to S5P_FIMC. Without this patch, if only FIMC-Lite is selected, following errors are observed for missing symbols: drivers/built-in.o: In function

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Hans Verkuil
On Tue August 14 2012 01:54:16 Laurent Pinchart wrote: Hi Hans, On Monday 13 August 2012 14:27:56 Hans Verkuil wrote: Hi all! As part of the 2012 Kernel Summit V4L2 workshop I will be discussing a bunch of V4L2 ambiguities/improvements. I've made a list of all the V4L2 issues and

Re: [patch] [media] em28xx: use after free in em28xx_v4l2_close()

2012-08-14 Thread Ezequiel Garcia
Hi Dan, On Tue, Aug 14, 2012 at 3:58 AM, Dan Carpenter dan.carpen...@oracle.com wrote: We need to move the unlock before the kfree(dev); Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies to linux-next. diff --git a/drivers/media/video/em28xx/em28xx-video.c

Re: [patch] [media] em28xx: use after free in em28xx_v4l2_close()

2012-08-14 Thread Dan Carpenter
On Tue, Aug 14, 2012 at 07:50:12AM -0300, Ezequiel Garcia wrote: Hi Dan, On Tue, Aug 14, 2012 at 3:58 AM, Dan Carpenter dan.carpen...@oracle.com wrote: We need to move the unlock before the kfree(dev); Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Applies to linux-next.

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Laurent Pinchart
Hi Hans, On Tuesday 14 August 2012 12:54:34 Hans Verkuil wrote: On Tue August 14 2012 01:54:16 Laurent Pinchart wrote: On Monday 13 August 2012 14:27:56 Hans Verkuil wrote: Hi all! As part of the 2012 Kernel Summit V4L2 workshop I will be discussing a bunch of V4L2

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

2012-08-14 Thread Antti Palosaari
On 08/14/2012 11:53 AM, Reinhard Nissl wrote: Hi, it seems that my 9 years old LNBs got some drift over time, as tuning takes quite a while until I get a lock. So I thought I could compensate this offset by adjusting VDR's diseqc.conf. Therefore I first hacked some logging into VDR's tuner

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Hans Verkuil
On Tue August 14 2012 13:06:46 Laurent Pinchart wrote: Hi Hans, On Tuesday 14 August 2012 12:54:34 Hans Verkuil wrote: On Tue August 14 2012 01:54:16 Laurent Pinchart wrote: On Monday 13 August 2012 14:27:56 Hans Verkuil wrote: Hi all! As part of the 2012 Kernel Summit V4L2

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Laurent Pinchart
Hi Hans, On Tuesday 14 August 2012 13:11:49 Hans Verkuil wrote: On Tue August 14 2012 13:06:46 Laurent Pinchart wrote: On Tuesday 14 August 2012 12:54:34 Hans Verkuil wrote: On Tue August 14 2012 01:54:16 Laurent Pinchart wrote: On Monday 13 August 2012 14:27:56 Hans Verkuil wrote:

Re: [patch] [media] em28xx: use after free in em28xx_v4l2_close()

2012-08-14 Thread Ezequiel Garcia
On Tue, Aug 14, 2012 at 8:05 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Tue, Aug 14, 2012 at 07:50:12AM -0300, Ezequiel Garcia wrote: Hi Dan, On Tue, Aug 14, 2012 at 3:58 AM, Dan Carpenter dan.carpen...@oracle.com wrote: We need to move the unlock before the kfree(dev);

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Hans Verkuil
On Tue August 14 2012 13:15:21 Laurent Pinchart wrote: Hi Hans, On Tuesday 14 August 2012 13:11:49 Hans Verkuil wrote: On Tue August 14 2012 13:06:46 Laurent Pinchart wrote: On Tuesday 14 August 2012 12:54:34 Hans Verkuil wrote: On Tue August 14 2012 01:54:16 Laurent Pinchart wrote:

Re: [PATCH] [media] s5p-fimc: Make FIMC-Lite dependent on S5P-FIMC

2012-08-14 Thread Sachin Kamat
Hi Sylwester, On 14 August 2012 16:23, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Sachin, On 08/14/2012 06:52 AM, Sachin Kamat wrote: FIMC-Lite driver accesses functions which are defined in files attached to S5P_FIMC. Without this patch, if only FIMC-Lite is selected, following

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Laurent Pinchart
On Tuesday 14 August 2012 13:32:43 Hans Verkuil wrote: On Tue August 14 2012 13:15:21 Laurent Pinchart wrote: On Tuesday 14 August 2012 13:11:49 Hans Verkuil wrote: On Tue August 14 2012 13:06:46 Laurent Pinchart wrote: On Tuesday 14 August 2012 12:54:34 Hans Verkuil wrote: On Tue

[ANNOUNCE] tree renaming patches part 1 applied

2012-08-14 Thread Mauro Carvalho Chehab
Yesterday, I finally applied the first part of the renaming patches: * [RFC,10/10,media] break siano into mmc and usb directories - http://patchwork.linuxtv.org/patch/11755/ * [RFC,09/10,media] saa7146: Move it to its own directory - http://patchwork.linuxtv.org/patch/11750/ *

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

2012-08-14 Thread Manu Abraham
Hi, On Tue, Aug 14, 2012 at 2:23 PM, Reinhard Nissl rni...@gmx.de wrote: Hi, it seems that my 9 years old LNBs got some drift over time, as tuning takes quite a while until I get a lock. So I thought I could compensate this offset by adjusting VDR's diseqc.conf. Therefore I first hacked

Re: Copyright issues, do not copy code and add your own copyrights

2012-08-14 Thread Hans de Goede
Hi, On 08/14/2012 11:42 AM, Manu Abraham wrote: Hi, On Tue, Aug 14, 2012 at 2:51 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 08/14/2012 11:10 AM, Manu Abraham wrote: Hi, The subject line says it. Please fix the offending Copyright header. Offending one.

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Hans de Goede
Hi, On 08/14/2012 12:54 PM, Hans Verkuil wrote: On Tue August 14 2012 01:54:16 Laurent Pinchart wrote: Hi Hans, On Monday 13 August 2012 14:27:56 Hans Verkuil wrote: Hi all! As part of the 2012 Kernel Summit V4L2 workshop I will be discussing a bunch of V4L2 ambiguities/improvements. I've

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Chinmay V S
On Tue, Aug 14, 2012 at 6:13 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 08/14/2012 12:54 PM, Hans Verkuil wrote: On Tue August 14 2012 01:54:16 Laurent Pinchart wrote: Hi Hans, On Monday 13 August 2012 14:27:56 Hans Verkuil wrote: Hi all! As part of the 2012 Kernel Summit

Re: [PATCH v2] mt9v032: Export horizontal and vertical blanking as V4L2 controls

2012-08-14 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, On Monday 13 August 2012 17:18:20 Sakari Ailus wrote: Laurent Pinchart wrote: On Saturday 28 July 2012 00:27:23 Sakari Ailus wrote: On Fri, Jul 27, 2012 at 01:02:04AM +0200, Laurent Pinchart wrote: On Thursday 26 July 2012 23:54:01 Sakari Ailus wrote: On

Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Mauro Carvalho Chehab
In order to help people to know about the status of the pending patches, I'm summing-up the patches pending for merge on this email. If is there any patch missing, please check if it is at patchwork before asking what happened:

Re: Copyright issues, do not copy code and add your own copyrights

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 09:35, Hans de Goede escreveu: Hi, On 08/14/2012 11:42 AM, Manu Abraham wrote: Hi, On Tue, Aug 14, 2012 at 2:51 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 08/14/2012 11:10 AM, Manu Abraham wrote: Hi, The subject line says it. Please fix the offending

Re: [git:v4l-dvb/for_v3.7] [media] mantis: Terratec Cinergy C PCI HD (CI)

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 04:45, Manu Abraham escreveu: On Tue, Aug 14, 2012 at 12:55 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 10-08-2012 20:55, Manu Abraham escreveu: Mauro, Please revert this patch. Patch is incorrect. There is the VP-20300, VP-20330, VP-2040, with differences in tuner

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-14 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Using devm_kzalloc simplifies the code and ensures that the use of devm_request_irq is safe. When kzalloc and kfree were used, the interrupt could be triggered after the handler's data argument had been freed. This also introduces some missing

Re: [git:v4l-dvb/for_v3.7] [media] mantis: Terratec Cinergy C PCI HD (CI)

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 10:23, Mauro Carvalho Chehab escreveu: Em 14-08-2012 04:45, Manu Abraham escreveu: On Tue, Aug 14, 2012 at 12:55 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 10-08-2012 20:55, Manu Abraham escreveu: Mauro, Please revert this patch. Patch is incorrect. There is the

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Prabhakar Lad
Hi Mauro, On Tuesday 14 August 2012 06:34 PM, Mauro Carvalho Chehab wrote: In order to help people to know about the status of the pending patches, I'm summing-up the patches pending for merge on this email. If is there any patch missing, please check if it is at patchwork before asking

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Hans Verkuil
On Tue August 14 2012 15:04:17 Mauro Carvalho Chehab wrote: In order to help people to know about the status of the pending patches, I'm summing-up the patches pending for merge on this email. If is there any patch missing, please check if it is at patchwork before asking what happened:

Re: [ANNOUNCE] tree renaming patches part 1 applied

2012-08-14 Thread Hans Verkuil
On Tue August 14 2012 13:59:43 Mauro Carvalho Chehab wrote: Yesterday, I finally applied the first part of the renaming patches: * [RFC,10/10,media] break siano into mmc and usb directories - http://patchwork.linuxtv.org/patch/11755/ * [RFC,09/10,media] saa7146: Move it to its own

Re: Question Hauppauge Nova-S-Plus.

2012-08-14 Thread Steven Toth
And regarding 2 hours, normally it's about 2 or 3 days before fails. Sometimes it's some hours later. Totally random. For example today I restarted this morning, and no failure for the moment on any of both transponders. The problem is really very strange. Hmm. I don't know then. Other

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 10:36, Prabhakar Lad escreveu: Hi Mauro, == Prabhakar Lad prabhakar@ti.com == Aug, 2 2012: [1/1] media/video: vpif: fixing function name start to vpif_config_par http://patchwork.linuxtv.org/patch/13576 Dror Cohen d...@liveu.tv This patch can be marked

Re: [PATCH 1/3] [media] s5p-tv: Replace printk with pr_* functions

2012-08-14 Thread Sylwester Nawrocki
On 06/11/2012 12:13 PM, Sachin Kamat wrote: Replace printk with pr_* functions to silence checkpatch warnings. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Sylwester Nawrocki s.nawro...@samsung.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 10:46, Hans Verkuil escreveu: On Tue August 14 2012 15:04:17 Mauro Carvalho Chehab wrote: A final note: patches from driver maintainers with git trees are generally just marked as RFC. Well, I still applied several of them, when they're trivial enough and they're seem to be

Re: [ANNOUNCE] tree renaming patches part 1 applied

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 10:53, Hans Verkuil escreveu: On Tue August 14 2012 13:59:43 Mauro Carvalho Chehab wrote: Yesterday, I finally applied the first part of the renaming patches: * [RFC,10/10,media] break siano into mmc and usb directories - http://patchwork.linuxtv.org/patch/11755/ *

Re: [GIT PULL] ViewCast O820E capture support added

2012-08-14 Thread Steven Toth
On Mon, Aug 13, 2012 at 1:36 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 13-08-2012 12:49, Hans Verkuil escreveu: On Mon August 13 2012 16:46:45 Steven Toth wrote: Hans, Thanks for your feedback. Oh dear. I don't think you're going to like my response, but I think we know each

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Sylwester Nawrocki
Hi Mauro, On 08/14/2012 03:04 PM, Mauro Carvalho Chehab wrote: == Silvester Nawrocki sylvester.nawro...@gmail.com == Aug, 2 2012: [PATH,v3,1/2] v4l: Add factory register values form S5K4ECGX sensorhttp://patchwork.linuxtv.org/patch/13580 Sangwook Lee

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Laurent Pinchart
Hi Mauro, On Tuesday 14 August 2012 10:04:17 Mauro Carvalho Chehab wrote: In order to help people to know about the status of the pending patches, I'm summing-up the patches pending for merge on this email. If is there any patch missing, please check if it is at patchwork before asking what

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Sylwester Nawrocki
On 08/14/2012 05:10 PM, Sylwester Nawrocki wrote: On 08/14/2012 03:04 PM, Mauro Carvalho Chehab wrote: == Silvester Nawrocki sylvester.nawro...@gmail.com == Aug, 2 2012: [PATH,v3,1/2] v4l: Add factory register values form S5K4ECGX sensor

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Laurent Pinchart
Hi Mauro, On Tuesday 14 August 2012 11:28:05 Mauro Carvalho Chehab wrote: Em 14-08-2012 10:46, Hans Verkuil escreveu: On Tue August 14 2012 15:04:17 Mauro Carvalho Chehab wrote: A final note: patches from driver maintainers with git trees are generally just marked as RFC. Well, I still

[GIT PATCHES FOR 3.7] s5p-tv driver updates

2012-08-14 Thread Sylwester Nawrocki
Hi Mauro, The following changes since commit 1511288620bd4ea794bae08871f9e108ca034b2d: ioctl-number.txt: Remove legacy private ioctl's from media drivers (2012-08-14 00:07:39 -0300) are available in the git repository at: git://git.infradead.org/users/kmpark/linux-samsung

Re: Anysee E7

2012-08-14 Thread Antti Palosaari
On 08/14/2012 04:25 AM, Bruno Clausen wrote: Hello i need drivers for my tv tunner Anyee E7 and i can donate som money if som people can help my ;) You will come to mail my back, on my email clausen.br...@gmail.com It should be supported - quite long time. regards Antti --

[PATCHv8 01/26] v4l: Add DMABUF as a memory type

2012-08-14 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com Adds DMABUF memory type to v4l framework. Also adds the related file descriptor in v4l2_plane and v4l2_buffer. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com [original work in the PoC for buffer sharing] Signed-off-by: Sumit Semwal

[PATCHv8 00/26] Integration of videobuf2 with DMABUF

2012-08-14 Thread Tomasz Stanislawski
Hello everyone, This patchset adds support for DMABUF [2] importing and exporting to V4L2 stack. The importer and exporter part were merged because DMA mapping redesign [3] was scheduled for merge to mainline. v8: - rebased on 3.6-rc1 - merged importer and exporter patchsets - fixed missing

[PATCHv8 02/26] Documentation: media: description of DMABUF importing in V4L2

2012-08-14 Thread Tomasz Stanislawski
This patch adds description and usage examples for importing DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml |

[PATCHv8 03/26] v4l: vb2: add support for shared buffer (dma_buf)

2012-08-14 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com This patch adds support for DMABUF memory type in videobuf2. It calls relevant APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations. For this version, the support is for videobuf2 as a user of the shared buffer; so the allocation of the buffer is done

[PATCHv8 04/26] v4l: vb: remove warnings about MEMORY_DMABUF

2012-08-14 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com Adding DMABUF memory type causes videobuf to complain about not using it in some switch cases. This patch removes these warnings. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCHv8 05/26] v4l: vb2-dma-contig: Shorten vb2_dma_contig prefix to vb2_dc

2012-08-14 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/videobuf2-dma-contig.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git

[PATCHv8 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-08-14 Thread Tomasz Stanislawski
This patch removes a reference to alloc_ctx from an instance of a DMA contiguous buffer. It helps to avoid a risk of a dangling pointer if the context is released while the buffer is still valid. Moreover it removes one dereference step while accessing a device structure. Signed-off-by: Tomasz

[PATCHv8 07/26] v4l: vb2-dma-contig: Reorder functions

2012-08-14 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Group functions by buffer type. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/videobuf2-dma-contig.c | 92 1 file changed, 54 insertions(+), 38 deletions(-) diff

[PATCHv8 09/26] v4l: vb2: add prepare/finish callbacks to allocators

2012-08-14 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCHv8 08/26] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-08-14 Thread Tomasz Stanislawski
This patch introduces usage of dma_map_sg to map memory behind a userspace pointer to a device as dma-contiguous mapping. This patch contains some of the code kindly provided by Marek Szyprowski m.szyprow...@samsung.com and Kamil Debski k.deb...@samsung.com and Andrzej Pietrasiewicz

[PATCHv8 10/26] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-08-14 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Add prepare/finish callbacks to vb2-dma-contig allocator. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 24 1 file changed, 24 insertions(+) diff --git

[PATCHv8 11/26] v4l: vb2-dma-contig: add support for dma_buf importing

2012-08-14 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com This patch makes changes for adding dma-contig as a dma_buf user. It provides function implementations for the {attach, detach, map, unmap}_dmabuf() mem_ops of DMABUF memory type. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Sumit Semwal

[PATCHv8 12/26] v4l: vb2-vmalloc: add support for dmabuf importing

2012-08-14 Thread Tomasz Stanislawski
This patch adds support for importing DMABUF files for vmalloc allocator in Videobuf2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-vmalloc.c | 56 +++ 1 file

[PATCHv8 13/26] v4l: vivi: support for dmabuf importing

2012-08-14 Thread Tomasz Stanislawski
This patch enhances VIVI driver with a support for importing a buffer from DMABUF file descriptors. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig |1 + drivers/media/video/vivi.c |2 +-

[PATCHv8 14/26] v4l: s5p-tv: mixer: support for dmabuf importing

2012-08-14 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF importing via V4L2_MEMORY_DMABUF memory type. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-tv/Kconfig |1 +

[PATCHv8 15/26] v4l: s5p-fimc: support for dmabuf importing

2012-08-14 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF importing via V4L2_MEMORY_DMABUF memory type. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCHv8 16/26] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-08-14 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Let mmap method to use dma_mmap_coherent call. Moreover, this patch removes vb2_mmap_pfn_range from videobuf2 helpers as it was suggested by Laurent Pinchart. The function is no longer used in vb2 code. Signed-off-by: Marek Szyprowski

[PATCHv8 19/26] v4l: vb2: add buffer exporting via dmabuf

2012-08-14 Thread Tomasz Stanislawski
This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCHv8 18/26] v4l: add buffer exporting via dmabuf

2012-08-14 Thread Tomasz Stanislawski
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by mmap and return a file descriptor on success. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[PATCHv8 20/26] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-08-14 Thread Tomasz Stanislawski
This patch adds support for exporting a dma-contig buffer using DMABUF interface. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 204 1 file changed,

[PATCHv8 21/26] v4l: vb2-dma-contig: add reference counting for a device from allocator context

2012-08-14 Thread Tomasz Stanislawski
This patch adds taking reference to the device for MMAP buffers. Such buffers, may be exported using DMABUF mechanism. If the driver that created a queue is unloaded then the queue is released, the device might be released too. However, buffers cannot be released if they are referenced by DMABUF

[PATCHv8 22/26] media: vb2: fail if user ptr buffer is not correctly aligned

2012-08-14 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/media/video/videobuf2-dma-contig.c

[PATCHv8 23/26] v4l: vb2: add support for DMA_ATTR_NO_KERNEL_MAPPING

2012-08-14 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- drivers/media/video/atmel-isi.c |2 +- drivers/media/video/blackfin/bfin_capture.c |2 +- drivers/media/video/marvell-ccic/mcam-core.c |3 ++-

[PATCHv8 24/26] v4l: s5p-fimc: support for dmabuf exporting

2012-08-14 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c |9 + 1 file changed, 9

[PATCHv8 25/26] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-08-14 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 1 file changed, 10

[PATCHv8 26/26] v4l: s5p-mfc: support for dmabuf exporting

2012-08-14 Thread Tomasz Stanislawski
This patch enhances s5p-mfc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Kamil Debski k.deb...@samsung.com --- drivers/media/video/s5p-mfc/s5p_mfc_dec.c | 18

[PATCHv8 17/26] Documentation: media: description of DMABUF exporting in V4L2

2012-08-14 Thread Tomasz Stanislawski
This patch adds description and usage examples for exporting DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml|

[PATCH 3/5] drivers/media/video/{s2255drv.c,tm6000/tm6000-alsa.c,tm6000/tm6000-input.c}: Remove potential NULL dereferences

2012-08-14 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr If the NULL test is necessary, the initialization involving a dereference of the tested value should be moved after the NULL test. The sematic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ type T; expression E;

Re: Patches submitted via linux-media ML that are at patchwork.linuxtv.org

2012-08-14 Thread Sylwester Nawrocki
On 08/14/2012 03:04 PM, Mauro Carvalho Chehab wrote: This one requires more testing: May,15 2012: [GIT,PULL,FOR,3.5] DMABUF importer feature in V4L2 API http://patchwork.linuxtv.org/patch/11268 Sylwester Nawrocki s.nawro...@samsung.com Hmm, this is not valid any more.

cron job: media_tree daily build: ERRORS

2012-08-14 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:Tue Aug 14 19:00:13 CEST 2012 git hash:1511288620bd4ea794bae08871f9e108ca034b2d gcc version: i686-linux-gcc

Re: linux-next: Tree for Aug 14 (media/dvb/dvb-usb-v2/anysee)

2012-08-14 Thread Randy Dunlap
On 08/13/2012 08:55 PM, Stephen Rothwell wrote: Hi all, Changes since 20120813: on x86_64: In file included from drivers/media/dvb/dvb-usb-v2/anysee.c:34:0: drivers/media/dvb/dvb-usb-v2/anysee.h:51:0: warning: debug_dump redefined drivers/media/dvb/dvb-usb-v2/anysee.h:47:0: note: this

Re: linux-next: Tree for Aug 14 (media/dvb/dvb-usb-v2/anysee)

2012-08-14 Thread Antti Palosaari
On 08/14/2012 08:54 PM, Randy Dunlap wrote: On 08/13/2012 08:55 PM, Stephen Rothwell wrote: Hi all, Changes since 20120813: on x86_64: In file included from drivers/media/dvb/dvb-usb-v2/anysee.c:34:0: drivers/media/dvb/dvb-usb-v2/anysee.h:51:0: warning: debug_dump redefined

[PATCH 1/2] anysee: fix compiler warning

2012-08-14 Thread Antti Palosaari
debug_dump macro was defined twice when CONFIG_DVB_USB_DEBUG was not set. Move debug_dump macro to correct place. Reported-by: Randy Dunlap rdun...@xenotime.net Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/dvb-usb-v2/anysee.h | 13 ++--- 1 file changed, 6

[PATCH 2/2] anysee: convert Kernel dev_* logging

2012-08-14 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/dvb-usb-v2/anysee.c | 58 ++- drivers/media/usb/dvb-usb-v2/anysee.h | 30 -- 2 files changed, 30 insertions(+), 58 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/anysee.c

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

2012-08-14 Thread Reinhard Nissl
Hi, Am 14.08.2012 14:05, schrieb Manu Abraham: My other device, a STB0899, always reports the set frequency. So it seems driver dependent whether it reports the actually locked frequency found by the zig-zag-algorithm or just the set frequency to tune to. The STV0299 blindly sets the value

[PATCH 08/12] [media] mmc/Kconfig: Improve driver name for siano mmc/sdio driver

2012-08-14 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/mmc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/mmc/Kconfig b/drivers/media/mmc/Kconfig index 0f2a957..8c30ada 100644 --- a/drivers/media/mmc/Kconfig +++ b/drivers/media/mmc/Kconfig @@ -1 +1,2

[PATCH 09/12] [media] reorganize the API core items

2012-08-14 Thread Mauro Carvalho Chehab
Reorganize the API core changes for them to appear closer to the items that enable them, and not at the drivers part of the menu. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/Kconfig | 6 -- drivers/media/v4l2-core/Kconfig | 32

Re: [Workshop-2011] RFC: V4L2 API ambiguities

2012-08-14 Thread Guennadi Liakhovetski
On Tue, 14 Aug 2012, Laurent Pinchart wrote: On Tuesday 14 August 2012 13:32:43 Hans Verkuil wrote: On Tue August 14 2012 13:15:21 Laurent Pinchart wrote: On Tuesday 14 August 2012 13:11:49 Hans Verkuil wrote: On Tue August 14 2012 13:06:46 Laurent Pinchart wrote: On Tuesday 14

Re: [PATCH 00/12] media tree reorganization part 2 (second version)

2012-08-14 Thread Sylwester Nawrocki
On 08/14/2012 10:55 PM, Mauro Carvalho Chehab wrote: Ok, it is now everything almost done... there are of course cleanups that may happen, and there are still some things to do at drivers/media/platform, but most of the things are there. If there isn't any big problem, I'll be merging them

  1   2   >