Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Semwal, Sumit
On Fri, Jul 20, 2012 at 10:09 PM, Rob Clark rob.cl...@linaro.org wrote: Fyi, Daniel Vetter had suggested on IRC that it would be cleaner to have a single helper fxn that most-restrictive union of all attached device's dma_parms. Really this should include dma_mask and coherent_dma_mask, I

Re: [RFC PATCH 1/3] dma-fence: dma-buf synchronization (v5)

2012-08-06 Thread Sumit Semwal
Hi Maarten, On 27 July 2012 19:09, Maarten Lankhorst maarten.lankho...@canonical.com wrote: A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl

[PATCH 1/1] media: mx3_camera: Improve data bus width check code for probe

2012-08-06 Thread Liu Ying
This patch contains code change only to use the present macro- MX3_CAMERA_DATAWIDTH_MASK to check valid camera platform data bus width instead of enumerating every possible data bus width. Signed-off-by: Liu Ying ying@freescale.com --- drivers/media/video/mx3_camera.c |4 +--- 1 files

[GIT PULL FOR v3.6-rc1] Mediabus And Pixel format supported by DM365

2012-08-06 Thread Prabhakar Lad
Hi Mauro, Can you please pull the following patches, which add medibus and pixel format supported by DM365. Thanks and Regards, --Prabhakar Lad The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Hans Verkuil
On Sun August 5 2012 19:11:19 Federico Vaga wrote: Hi Hans, Did you run the latest v4l2-compliance tool from the v4l-utils.git repository over your driver? I'm sure you didn't since VIP is missing support for control events and v4l2-compliance would certainly complain about that.

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
I applied all your suggestions, and some extra simplification; [...] --- - flags: optional. Set to V4L2_FL_USE_FH_PRIO if you want to let the framework handle the VIDIOC_G/S_PRIORITY ioctls. This requires that you use struct v4l2_fh. ^^ Are you

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Hans Verkuil
On Mon August 6 2012 09:38:10 Federico Vaga wrote: I applied all your suggestions, and some extra simplification; [...] --- - flags: optional. Set to V4L2_FL_USE_FH_PRIO if you want to let the framework handle the VIDIOC_G/S_PRIORITY ioctls. This requires that you

Re: [RFC PATCH 1/3] dma-fence: dma-buf synchronization (v5)

2012-08-06 Thread Maarten Lankhorst
Hey Sumit, Op 06-08-12 08:41, Sumit Semwal schreef: Hi Maarten, On 27 July 2012 19:09, Maarten Lankhorst maarten.lankho...@canonical.com wrote: A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another

[PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/media/video/sta2x11_vip.c | 1239 + 1 file modificato, 414 inserzioni(+), 825 rimozioni(-) diff --git a/drivers/media/video/sta2x11_vip.c

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
In that case I need to see your latest version of the source code to see why it doesn't work. I send it as patch v2 of the previous one -- Federico Vaga -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] [media] gspca: dubious one-bit signed bitfield

2012-08-06 Thread Hans de Goede
Hi, On 08/05/2012 02:34 PM, Emil Goode wrote: This patch changes some signed integers to unsigned because they are not intended for negative values and sparse is making noise about it. Sparse gives eight of these errors: drivers/media/video/gspca/ov519.c:144:29: error: dubious one-bit signed

Re: boot slow down

2012-08-06 Thread Andy Walls
James bjloc...@lockie.ca wrote: On 08/04/12 13:42, Andy Walls wrote: James bjloc...@lockie.ca wrote: There's a big pause before the 'unable' [2.243856] usb 4-1: Manufacturer: Logitech [ 62.739097] cx25840 6-0044: unable to open firmware v4l-cx23885-avcore-01.fw I have a cx23885

Re: [PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Hans Verkuil
On Mon August 6 2012 10:17:39 Federico Vaga wrote: Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/media/video/sta2x11_vip.c | 1239 + 1 file modificato, 414 inserzioni(+), 825

Re: [PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
+ vip-video_dev-flags |= V4L2_FL_USES_V4L2_FH | V4L2_FL_USE_FH_PRIO; Been there, done that :-) V4L2_FL_USE_FH_PRIO is a bit number, not a bit mask. Use set_bit instead: set_bit(V4L2_FL_USE_FH_PRIO, vip-video_dev-flags); No need to set V4L2_FL_USES_V4L2_FH, BTW. That will be

Re: boot slow down

2012-08-06 Thread Antti Palosaari
On 08/06/2012 11:37 AM, Andy Walls wrote: James bjloc...@lockie.ca wrote: On 08/04/12 13:42, Andy Walls wrote: James bjloc...@lockie.ca wrote: There's a big pause before the 'unable' [2.243856] usb 4-1: Manufacturer: Logitech [ 62.739097] cx25840 6-0044: unable to open firmware

Re: [GIT PULL FOR v3.6-rc1] Mediabus And Pixel format supported by DM365

2012-08-06 Thread Prabhakar Lad
Hi Mauro, Sorry, the subject of course should have been GIT PULL FOR v3.7 Thx, --Prabhakar On Monday 06 August 2012 12:45 PM, Prabhakar Lad wrote: Hi Mauro, Can you please pull the following patches, which add medibus and pixel format supported by DM365. Thanks and Regards, --Prabhakar

[PATCH v3 0/4] Use dma_mmap_coherent to support IOMMU mapper

2012-08-06 Thread Hideki EIRAKU
There is a dma_mmap_coherent() API in some architectures. This API provides a mmap function for memory allocated by dma_alloc_coherent(). Some drivers mmap a dma_addr_t returned by dma_alloc_coherent() as a physical address. But such drivers do not work correctly when IOMMU mapper is used. v3:

[PATCH v3 1/4] ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT

2012-08-06 Thread Hideki EIRAKU
ARCH_HAS_DMA_MMAP_COHERENT indicates that there is dma_mmap_coherent() API in this architecture. The name is already defined in PowerPC. Signed-off-by: Hideki EIRAKU h...@igel.co.jp --- arch/arm/include/asm/dma-mapping.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH v3 2/4] ALSA: pcm - Don't define ARCH_HAS_DMA_MMAP_COHERENT privately for ARM

2012-08-06 Thread Hideki EIRAKU
From: Laurent Pinchart laurent.pinch...@ideasonboard.com The ARM architecture now defines ARCH_HAS_DMA_MMAP_COHERENT, there's no need to define it privately anymore. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- sound/core/pcm_native.c |7 --- 1 files changed, 0

[PATCH v3 3/4] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-08-06 Thread Hideki EIRAKU
Previously the vb2_dma_contig_mmap() function was using a dma_addr_t as a physical address. The two addressses are not necessarily the same. For example, when using the IOMMU funtion on certain platforms, dma_addr_t addresses are not directly mappable physical address. dma_mmap_coherent() maps

[PATCH v3 4/4] fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available

2012-08-06 Thread Hideki EIRAKU
fb_mmap() implemented in fbmem.c uses smem_start as the physical address of the frame buffer. In the sh_mobile_lcdc driver, the smem_start is a dma_addr_t that is not a physical address when IOMMU is enabled. dma_mmap_coherent() maps the address correctly. It is available on ARM platforms.

Re: [PATCH 0/5] Convert az6007 to dvb-usb-v2

2012-08-06 Thread Antti Palosaari
On 08/05/2012 06:30 AM, Mauro Carvalho Chehab wrote: Now that dvb-usb-v2 patches got merged, convert az6007 to use it, as, in thesis, several core bugs at dvb-usb were fixed. Also, driver became a little more simple than before, as the number of lines reduced a little bit. No noticeable

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Tomasz Stanislawski
Hi Rob, On 07/19/2012 06:23 PM, Rob Clark wrote: From: Rob Clark r...@ti.com Add some helpers to iterate through all attachers and get the most restrictive segment size/count/boundary. Signed-off-by: Rob Clark r...@ti.com --- drivers/base/dma-buf.c | 63

Re: [PATCH] staging: media: cxd2099: remove memcpy of similar structure variables

2012-08-06 Thread Ezequiel Garcia
On Mon, Aug 6, 2012 at 2:28 AM, Devendra Naga develkernel412...@gmail.com wrote: Hi Ezequiel, On Mon, Aug 6, 2012 at 3:36 AM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Devendra, Thanks for the patch, On Sun, Aug 5, 2012 at 5:40 PM, Devendra Naga develkernel412...@gmail.com wrote:

Re: boot slow down

2012-08-06 Thread Andy Walls
Antti Palosaari cr...@iki.fi wrote: On 08/06/2012 11:37 AM, Andy Walls wrote: James bjloc...@lockie.ca wrote: On 08/04/12 13:42, Andy Walls wrote: James bjloc...@lockie.ca wrote: There's a big pause before the 'unable' [2.243856] usb 4-1: Manufacturer: Logitech [ 62.739097] cx25840

Re: boot slow down

2012-08-06 Thread Antti Palosaari
On 08/06/2012 01:57 PM, Andy Walls wrote: Antti Palosaari cr...@iki.fi wrote: On 08/06/2012 11:37 AM, Andy Walls wrote: James bjloc...@lockie.ca wrote: On 08/04/12 13:42, Andy Walls wrote: James bjloc...@lockie.ca wrote: There's a big pause before the 'unable' [2.243856] usb 4-1:

Re: firmware directory

2012-08-06 Thread Antti Palosaari
On 08/05/2012 06:27 PM, James wrote: [ 62.739097] cx25840 6-0044: unable to open firmware v4l-cx23885-avcore-01.fw Did the firmware directory change recently? # ls -l /lib/firmware/v4l-cx23885-avcore-01.fw -rw-r--r-- 1 root root 16382 Oct 15 2011 /lib/firmware/v4l-cx23885-avcore-01.fw

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Michal Nazarewicz
Tomasz Stanislawski t.stanisl...@samsung.com writes: I recommend to change the semantics for unlimited number of segments from 'value 0' to: #define DMA_SEGMENTS_COUNT_UNLIMITED ((unsigned long)INT_MAX) Using INT_MAX will allow using safe conversions between signed and unsigned integers.

Re: [PATCH 0/2] get rid of fe_ioctl_override()

2012-08-06 Thread Antti Palosaari
On 08/05/2012 09:16 PM, Mauro Carvalho Chehab wrote: There's just one driver using fe_ioctl_override(), and it can be replaced at tuner_attach call. This callback is evil, as only DVBv3 calls are handled. Removing it is also a nice cleanup, as about 90 lines of code are removed. Get rid of it!

[PATCH] [media] m2m-deinterlace: fix two warnings

2012-08-06 Thread Mauro Carvalho Chehab
drivers/media/video/m2m-deinterlace.c: In function ‘deinterlace_issue_dma’: drivers/media/video/m2m-deinterlace.c:363:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘dma_addr_t’ [-Wformat] drivers/media/video/m2m-deinterlace.c:363:3: warning: format ‘%x’

Re: [PATCH] lmedm04 v2.05 conversion to dvb-usb-v2

2012-08-06 Thread Antti Palosaari
On 08/05/2012 05:36 PM, Mauro Carvalho Chehab wrote: Em 05-08-2012 11:10, Malcolm Priestley escreveu: Conversion of lmedm04 to dvb-usb-v2 You were faster than I :) Thanks! http://blog.palosaari.fi/2012/08/naked-hardware-1-dm04-usb-20-satellite.html functional changes are that callbacks

Re: Vacations.

2012-08-06 Thread Mauro Carvalho Chehab
Em 03-08-2012 12:09, Guennadi Liakhovetski escreveu: Hi Javier On Fri, 3 Aug 2012, javier Martin wrote: Hi, I will be out of the office until August the 19th. I just wanted to send a reminder of some patches that I have pending. For Mauro 3.7: [PULL] video_visstrim for 3.6 [PATCH]

Re: [PATCH 3/3] [media] az6007: handle CI during suspend/resume

2012-08-06 Thread Antti Palosaari
On 08/05/2012 08:44 PM, Mauro Carvalho Chehab wrote: The dvb-usb-v2 core doesn't know anything about CI. So, the driver needs to handle it by hand. This patch stops CI just before stopping URB's/RC, and restarts it before URB/RC start. It should be noticed that suspend/resume is not yet working

Re: [PATCH v7] media: Add stk1160 new driver

2012-08-06 Thread Ezequiel Garcia
Hi Mauro, On Sat, Jul 28, 2012 at 11:18 AM, Ezequiel Garcia elezegar...@gmail.com wrote: This driver adds support for stk1160 usb bridge as used in some video/audio usb capture devices. It is a complete rewrite of staging/media/easycap driver and it's expected as a future replacement. Cc:

Re: [PATCH 2/2] [media] dvb: get rid of fe_ioctl_override callback

2012-08-06 Thread Antti Palosaari
On 08/05/2012 09:16 PM, Mauro Carvalho Chehab wrote: This callback were meant to allow overriding a FE callback, before its call, but it is not really needed, as the callback can be intercepted after tuner attachment. Worse than that, only DVBv3 calls are intercepted this way, so a DVBv5

Re: [PATCH 0/5] Convert az6007 to dvb-usb-v2

2012-08-06 Thread Mauro Carvalho Chehab
Em 06-08-2012 07:11, Antti Palosaari escreveu: On 08/05/2012 06:30 AM, Mauro Carvalho Chehab wrote: Now that dvb-usb-v2 patches got merged, convert az6007 to use it, as, in thesis, several core bugs at dvb-usb were fixed. Also, driver became a little more simple than before, as the number of

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Tomasz Stanislawski
On 08/06/2012 01:58 PM, Michal Nazarewicz wrote: Tomasz Stanislawski t.stanisl...@samsung.com writes: I recommend to change the semantics for unlimited number of segments from 'value 0' to: #define DMA_SEGMENTS_COUNT_UNLIMITED ((unsigned long)INT_MAX) Sorry. It should be: #define

Re: [PATCH v7] media: Add stk1160 new driver

2012-08-06 Thread Mauro Carvalho Chehab
Em 06-08-2012 09:28, Ezequiel Garcia escreveu: Hi Mauro, On Sat, Jul 28, 2012 at 11:18 AM, Ezequiel Garcia elezegar...@gmail.com wrote: This driver adds support for stk1160 usb bridge as used in some video/audio usb capture devices. It is a complete rewrite of staging/media/easycap driver

Re: [PATCH v7] media: Add stk1160 new driver

2012-08-06 Thread Ezequiel Garcia
On Mon, Aug 6, 2012 at 9:42 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 06-08-2012 09:28, Ezequiel Garcia escreveu: Hi Mauro, On Sat, Jul 28, 2012 at 11:18 AM, Ezequiel Garcia elezegar...@gmail.com wrote: This driver adds support for stk1160 usb bridge as used in some

Re: [PATCH v7] media: Add stk1160 new driver

2012-08-06 Thread Ezequiel Garcia
On Mon, Aug 6, 2012 at 9:46 AM, Ezequiel Garcia elezegar...@gmail.com wrote: On Mon, Aug 6, 2012 at 9:42 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 06-08-2012 09:28, Ezequiel Garcia escreveu: Hi Mauro, On Sat, Jul 28, 2012 at 11:18 AM, Ezequiel Garcia elezegar...@gmail.com

RE: [PATCH v3 0/4] update MFC v4l2 driver to support MFC6.x

2012-08-06 Thread Kamil Debski
Hi Arun, First and very important remark. When you split your changes into multiple patches please make sure that after applying every patch the kernel compiles. It is important for such tools as git bisect. When I apply s5p-mfc: update MFC v4l2 driver to support MFC6.x the kernel no longer

RE: [PATCH v3 4/4] [media] s5p-mfc: New files for MFCv6 support

2012-08-06 Thread Kamil Debski
Hi Arun, Please find my comments below. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland RD Center From: Arun Kumar K [mailto:arun...@samsung.com] Sent: 23 July 2012 14:29 From: Jeongtae Park jtp.p...@samsung.com New register definitions, commands and hardware

RE: [PATCH v3 1/4] [media] s5p-mfc: update MFC v4l2 driver to support MFC6.x

2012-08-06 Thread Kamil Debski
Hi Arun, Please find my comments below. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland RD Center From: Arun Kumar K [mailto:arun...@samsung.com] Sent: 23 July 2012 14:29 From: Jeongtae Park jtp.p...@samsung.com Multi Format Codec 6.x is a hardware video coding

Re: [Workshop-2011] Media summit/KS-2012 proposals

2012-08-06 Thread Jun Nie
2012/8/3 Hans Verkuil hverk...@xs4all.nl: On Fri August 3 2012 07:37:13 Jun Nie wrote: 2012/8/1 Hans Verkuil hverk...@xs4all.nl: On Tue 31 July 2012 19:58:23 Mauro Carvalho Chehab wrote: In order to sum-up the discussions around the media summit, this is what we've got so far:

Re: tda18271 driver power consumption

2012-08-06 Thread Antti Palosaari
On 07/26/2012 03:48 PM, Michael Krufky wrote: On Wed, Jul 25, 2012 at 11:18 PM, Michael Krufky mkru...@linuxtv.org wrote: On Tue, Jul 24, 2012 at 8:43 PM, Antti Palosaari cr...@iki.fi wrote: On 07/25/2012 03:15 AM, Michael Krufky wrote: On Tue, Jul 24, 2012 at 6:17 PM, Michael Krufky

Re: [Workshop-2011] Media summit/KS-2012 proposals

2012-08-06 Thread Hans Verkuil
On Mon August 6 2012 15:22:38 Jun Nie wrote: 2012/8/3 Hans Verkuil hverk...@xs4all.nl: On Fri August 3 2012 07:37:13 Jun Nie wrote: 2012/8/1 Hans Verkuil hverk...@xs4all.nl: On Tue 31 July 2012 19:58:23 Mauro Carvalho Chehab wrote: In order to sum-up the discussions around the media

[GIT PULL FOR v3.7] A bunch of fixes/improvements for vivi

2012-08-06 Thread Hans Verkuil
The following changes since commit ccc0e3483c2447fd14d4fb9ba2a77da628322815: [media] move dvb-usb-ids.h to dvb-core (2012-08-05 19:53:26 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git vivi for you to fetch changes up to

Re: [PATCH v8] media: Add stk1160 new driver

2012-08-06 Thread Ezequiel Garcia
Hi Mauro, On Mon, Aug 6, 2012 at 10:38 AM, Ezequiel Garcia elezegar...@gmail.com wrote: This driver adds support for stk1160 usb bridge as used in some video/audio usb capture devices. It is a complete rewrite of staging/media/easycap driver and it's expected as a replacement. --- I just

cron job: media_tree daily build: ERRORS

2012-08-06 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 Aug 6 14:31:16 CEST 2012 git hash:c3707357c6c651652a87a05eabd7582f90a4 gcc version: i686-linux-gcc

Re: [PATCH v8] media: Add stk1160 new driver

2012-08-06 Thread Hans Verkuil
On Mon August 6 2012 16:08:33 Mauro Carvalho Chehab wrote: Em 06-08-2012 10:58, Ezequiel Garcia escreveu: Hi Mauro, On Mon, Aug 6, 2012 at 10:38 AM, Ezequiel Garcia elezegar...@gmail.com wrote: This driver adds support for stk1160 usb bridge as used in some video/audio usb capture

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

2012-08-06 Thread Dan Carpenter
On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) platform_set_drvdata(pdev, pcdev); - if (devm_request_mem_region(pdev-dev, res_emma-start, - resource_size(res_emma), MEM2MEM_NAME)

Re: pctv452e

2012-08-06 Thread Steve Hill
On 04/07/12 17:22, Antti Palosaari wrote: As the new DVB-USB fixes many bugs I ask you to test it. I converted pctv452e driver for you: http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/pctv452e I've had chance to give this kernel a go. Unfortunately I'm getting an

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

2012-08-06 Thread Dan Carpenter
On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) platform_set_drvdata(pdev, pcdev); - if (devm_request_mem_region(pdev-dev,

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

2012-08-06 Thread Lars-Peter Clausen
On 08/06/2012 04:26 PM, Dan Carpenter wrote: On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) platform_set_drvdata(pdev, pcdev); -

Re: [alsa-devel] [PATCH v8] media: Add stk1160 new driver

2012-08-06 Thread Ezequiel Garcia
On Mon, Aug 6, 2012 at 11:18 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Mon August 6 2012 16:08:33 Mauro Carvalho Chehab wrote: Em 06-08-2012 10:58, Ezequiel Garcia escreveu: Hi Mauro, On Mon, Aug 6, 2012 at 10:38 AM, Ezequiel Garcia elezegar...@gmail.com wrote: This driver adds

Re: [PATCH 1/3] ds3000: remove ts2020 tuner related code

2012-08-06 Thread Mauro Carvalho Chehab
Hi Konstantin, Thanks for the patch. Em 06-05-2012 18:19, Konstantin Dimitrov escreveu: remove ts2020 tuner related code from ds3000 driver prepare ds3000 driver for using external tuner driver Signed-off-by: Konstantin Dimitrov kosio.dimit...@gmail.com ---

Re: [PATCH 0/3] Some additional az6007 cleanup patches

2012-08-06 Thread Roger Mårtensson
Mauro Carvalho Chehab skrev 2012-08-05 19:44: Those are mostly cleanup patches. With regards to suspend/resume, this is not working properly yet. I suspect that it is due to the lack of dvb-usb-v2 support for reset_resume. So, document it. Mauro Carvalho Chehab (3): [media] az6007: rename st

Re: [alsa-devel] [PATCH v8] media: Add stk1160 new driver

2012-08-06 Thread Ezequiel Garcia
Hi Mauro, On Mon, Aug 6, 2012 at 12:21 PM, Ezequiel Garcia elezegar...@gmail.com wrote: On Mon, Aug 6, 2012 at 11:18 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Mon August 6 2012 16:08:33 Mauro Carvalho Chehab wrote: Em 06-08-2012 10:58, Ezequiel Garcia escreveu: Hi Mauro, On Mon, Aug

Re: [PATCH 2/3] ts2020: add ts2020 tuner driver

2012-08-06 Thread Mauro Carvalho Chehab
Em 06-05-2012 18:22, Konstantin Dimitrov escreveu: add separate ts2020 tuner driver Signed-off-by: Konstantin Dimitrov kosio.dimit...@gmail.com --- a/linux/drivers/media/dvb/frontends/Kconfig 2012-04-20 06:45:55.0 +0300 +++ b/linux/drivers/media/dvb/frontends/Kconfig

Re: [PATCH 3/3] make the other drivers take use of the new ts2020 driver

2012-08-06 Thread Mauro Carvalho Chehab
Em 06-05-2012 18:25, Konstantin Dimitrov escreveu: make the other drivers take use of the separate ts2020 driver Signed-off-by: Konstantin Dimitrov kosio.dimit...@gmail.com --- a/linux/drivers/media/dvb/frontends/ds3000.c 2012-05-07 02:24:25.900920554 +0300 +++

Re: [PATCH 0/3] Some additional az6007 cleanup patches

2012-08-06 Thread Mauro Carvalho Chehab
Em 06-08-2012 12:28, Roger Mårtensson escreveu: Mauro Carvalho Chehab skrev 2012-08-05 19:44: Those are mostly cleanup patches. With regards to suspend/resume, this is not working properly yet. I suspect that it is due to the lack of dvb-usb-v2 support for reset_resume. So, document it.

Re: How to add patch for M88TS2022 tuner and M88DS3103 DVB-S2 demodulator code?

2012-08-06 Thread Mauro Carvalho Chehab
Em 09-07-2012 06:14, nibble.max escreveu: Hello Mauro, I try to add the patch for new M88TS2022 tuner and M88DS3103 demodulator again. As I remember that Konstantin submitted the patch for spliting ds3000 code into the tuner and demodulator files. I can find it in the linux-media mail

Re: tda18271 driver power consumption

2012-08-06 Thread Antti Palosaari
On 07/25/2012 01:17 AM, Michael Krufky wrote: On Tue, Jul 24, 2012 at 6:12 PM, Antti Palosaari cr...@iki.fi wrote: On 07/25/2012 12:55 AM, Michael Krufky wrote: On Sun, Jul 22, 2012 at 3:59 PM, Antti Palosaari cr...@iki.fi wrote: Moi Michael, I just realized tda18271 driver eats 160mA too

Re: tda18271 driver power consumption

2012-08-06 Thread Devin Heitmueller
On Mon, Aug 6, 2012 at 2:19 PM, Antti Palosaari cr...@iki.fi wrote: You should understand from DVB driver model: * attach() called only once when driver is loaded * init() called to wake-up device * sleep() called to sleep device What I would like to say is that there is very big risk to

Re: [PATCH] [BUG] Re: dvb_usb_lmedm04 crash Kernel (rs2000)

2012-08-06 Thread Antti Palosaari
On 08/03/2012 02:31 AM, Malcolm Priestley wrote: On Thu, 2012-08-02 at 23:54 +0300, Antti Palosaari wrote: Moi Malcolm, Any idea why this seems to crash Kernel just when device is plugged? Hi Antti Yes, there missing error handling when no firmware file found. It seems that this is more of

Re: tda18271 driver power consumption

2012-08-06 Thread Michael Krufky
On Mon, Aug 6, 2012 at 2:35 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Mon, Aug 6, 2012 at 2:19 PM, Antti Palosaari cr...@iki.fi wrote: You should understand from DVB driver model: * attach() called only once when driver is loaded * init() called to wake-up device * sleep()

[PATCH] [media] mantis: merge both vp2033 and vp2040 drivers

2012-08-06 Thread Mauro Carvalho Chehab
As noticed at: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/48034 Both drivers are identical, except for the name. So, there's no sense on keeping both. Instead of forking the entire code, just fork the vp3033_config struct, saving some space, and cleaning up

Re: tda18271 driver power consumption

2012-08-06 Thread Antti Palosaari
On 08/06/2012 09:57 PM, Michael Krufky wrote: On Mon, Aug 6, 2012 at 2:35 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Mon, Aug 6, 2012 at 2:19 PM, Antti Palosaari cr...@iki.fi wrote: You should understand from DVB driver model: * attach() called only once when driver is loaded

Re: [alsa-devel] [PATCH v8] media: Add stk1160 new driver

2012-08-06 Thread Ezequiel Garcia
Hello, On Mon, Aug 6, 2012 at 12:42 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Mauro, On Mon, Aug 6, 2012 at 12:21 PM, Ezequiel Garcia elezegar...@gmail.com wrote: On Mon, Aug 6, 2012 at 11:18 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Mon August 6 2012 16:08:33 Mauro Carvalho

Re: [PATCH] lmedm04 v2.05 conversion to dvb-usb-v2

2012-08-06 Thread Antti Palosaari
On 08/05/2012 05:10 PM, Malcolm Priestley wrote: Conversion of lmedm04 to dvb-usb-v2 functional changes are that callbacks have been moved to fe_ioctl_override. This patch is applied on top of [BUG] Re: dvb_usb_lmedm04 crash Kernel (rs2000) http://patchwork.linuxtv.org/patch/13584/

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

2012-08-06 Thread Julia . Lawall
Quoting Lars-Peter Clausen l...@metafoo.de: On 08/06/2012 04:26 PM, Dan Carpenter wrote: On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev)

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

2012-08-06 Thread Julia . Lawall
Quoting Lars-Peter Clausen l...@metafoo.de: On 08/06/2012 04:26 PM, Dan Carpenter wrote: On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev)

Re: [PATCH] [media] mantis: merge both vp2033 and vp2040 drivers

2012-08-06 Thread Manu Abraham
On Tue, Aug 7, 2012 at 12:32 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: As noticed at: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/48034 Both drivers are identical, except for the name. So, there's no sense on keeping both. Instead of forking

cron job: media_tree daily build: ERRORS

2012-08-06 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 Aug 6 19:00:23 CEST 2012 git hash:c3707357c6c651652a87a05eabd7582f90a4 gcc version: i686-linux-gcc

Re: [PATCH 3/3] [media] tuner, xc2028: add support for get_afc()

2012-08-06 Thread Antti Palosaari
Mauro, I am still waiting for your explanation for that. On 07/07/2012 01:46 PM, Antti Palosaari wrote: On 07/05/2012 11:10 PM, Mauro Carvalho Chehab wrote: Em 05-07-2012 14:37, Bert Massop escreveu: On Thu, Jul 5, 2012 at 5:05 PM, Antti Palosaari cr...@iki.fi wrote: On 07/05/2012 05:16 PM,

Re: tda18271 driver power consumption

2012-08-06 Thread Manu Abraham
On Tue, Aug 7, 2012 at 12:43 AM, Antti Palosaari cr...@iki.fi wrote: .. I ran thinking that recently when looked how to implement DVB SDR for V4L2 API... If you try to fit an apple into an orange, you run into that sort of a problem. If you are working with DVB, the Linux-DVB is the way to go,

Re: [PATCH] [media] mantis: merge both vp2033 and vp2040 drivers

2012-08-06 Thread Mauro Carvalho Chehab
Em 06-08-2012 17:07, Manu Abraham escreveu: On Tue, Aug 7, 2012 at 12:32 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: As noticed at: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/48034 Both drivers are identical, except for the name. So, there's no

[PATCH] lmedm04 2.06 conversion to dvb-usb-v2 version 2

2012-08-06 Thread Malcolm Priestley
Conversion of lmedm04 to dvb-usb-v2 Functional changes m88rs2000 tuner now uses all callbacks. TODO migrate other tuners to the callbacks. This patch is applied on top of [BUG] Re: dvb_usb_lmedm04 crash Kernel (rs2000) http://patchwork.linuxtv.org/patch/13584/ Signed-off-by: Malcolm Priestley

Re: [PATCH] [media] mantis: merge both vp2033 and vp2040 drivers

2012-08-06 Thread Manu Abraham
On Tue, Aug 7, 2012 at 1:50 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 06-08-2012 17:07, Manu Abraham escreveu: On Tue, Aug 7, 2012 at 12:32 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: As noticed at:

Re: [PATCH 3/3] [media] tuner, xc2028: add support for get_afc()

2012-08-06 Thread Manu Abraham
On Fri, Jul 6, 2012 at 1:40 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 05-07-2012 14:37, Bert Massop escreveu: On Thu, Jul 5, 2012 at 5:05 PM, Antti Palosaari cr...@iki.fi wrote: On 07/05/2012 05:16 PM, Mauro Carvalho Chehab wrote: Implement API support to return AFC frequency

Re: [PATCH] [BUG] Re: dvb_usb_lmedm04 crash Kernel (rs2000)

2012-08-06 Thread Malcolm Priestley
On Mon, 2012-08-06 at 21:46 +0300, Antti Palosaari wrote: On 08/03/2012 02:31 AM, Malcolm Priestley wrote: On Thu, 2012-08-02 at 23:54 +0300, Antti Palosaari wrote: Moi Malcolm, Any idea why this seems to crash Kernel just when device is plugged? Hi Antti Yes, there missing error

Re: [PATCH 3/3] [media] tuner, xc2028: add support for get_afc()

2012-08-06 Thread Mauro Carvalho Chehab
Em 06-08-2012 17:10, Antti Palosaari escreveu: Mauro, I am still waiting for your explanation for that. On 07/07/2012 01:46 PM, Antti Palosaari wrote: On 07/05/2012 11:10 PM, Mauro Carvalho Chehab wrote: Em 05-07-2012 14:37, Bert Massop escreveu: On Thu, Jul 5, 2012 at 5:05 PM, Antti

[PATCH] m88rs2000: add missing FE_HAS_SYNC flag

2012-08-06 Thread Antti Palosaari
Cc: Malcolm Priestley tvbox...@gmail.com Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb/frontends/m88rs2000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers/media/dvb/frontends/m88rs2000.c index

[PATCH 00/24] Various HVR-950q and xc5000 fixes

2012-08-06 Thread Devin Heitmueller
This patch series contains fixes for a variety of problems found in the HVR-950q as well as the xc5000 driver. Details can be found in the individual patches, but it is worth mentioning specifically that this addresses the MythTV problem causing BUG() to occur, firmware loading is now

[PATCH 01/24] au8522: fix intermittent lockup of analog video decoder

2012-08-06 Thread Devin Heitmueller
It turns up the autodetection for the video standard in the au8522 is prone to hanging the chip until a reset is performed. This condition is trivial to reproduce simply by tuning to a station and then rapidly unplugging/ replugging the coax feed. Because we've never claimed to support anything

[PATCH 02/24] au8522: Fix off-by-one in SNR table for QAM256

2012-08-06 Thread Devin Heitmueller
The table of valid SNR values for QAM 256 is off by one, and as a result if the SNR is oscillating between 40.0 and 39.9 dB, tools like azap show it going back and forth between 40.0 and 0 (misleading some people, including myself, to think signal lock is being lost or there is a problem with

[PATCH 04/24] au0828: Make the s_reg and g_reg advanced debug calls work against the bridge

2012-08-06 Thread Devin Heitmueller
The g_reg and s_reg calls worked properly if acting on subdev registers (such as the au8522), but didn't work against the au0828 itself. Copy the logic over from em28xx. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com --- drivers/media/video/au0828/au0828-video.c | 11 ---

[PATCH 05/24] xc5000: properly show quality register values

2012-08-06 Thread Devin Heitmueller
The quality register only has relevant data in bits 2-0, so discard the other bits (which results in a value being printed that is consistent with the expected 0-7 range). Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com --- drivers/media/common/tuners/xc5000.c |2 +- 1 files

[PATCH 07/24] xc5000: properly report i2c write failures

2012-08-06 Thread Devin Heitmueller
The logic as written would *never* actually return an error condition, since the loop would run until the counter hit zero but the check was for a value less than zero. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com --- drivers/media/common/tuners/xc5000.c |2 +- 1 files

[PATCH 08/24] au0828: fix race condition that causes xc5000 to not bind for digital

2012-08-06 Thread Devin Heitmueller
In some cases users would see the xc5000_attach() call failing for the digital side of the tuner on initialization. This is because of udev running v4l-id while the digital side of the board is still coming up. This is the exact same race condition which was present in em28xx (not surprising

[PATCH 10/24] au8522: fix regression in logging introduced by separation of modules

2012-08-06 Thread Devin Heitmueller
The au8522 driver was broken into three modules (dig, decoder, common), and as a result the debug modprobe option doesn't work for any of the common functions. Copy the module macros over to the common module so that the debug option works again. Signed-off-by: Devin Heitmueller

[PATCH 11/24] xc5000: don't invoke auto calibration unless we really did reset tuner

2012-08-06 Thread Devin Heitmueller
The current code invokes the auto calibration of the tuner whenever the init routine is called (whenever the DVB frontend opens the device). However we should really only be invoking the calibration if we actually did reset the device and reload the firmware. Rework the routine to only do

[PATCH 12/24] au0828: prevent i2c gate from being kept open while in analog mode

2012-08-06 Thread Devin Heitmueller
The original implementation of the analog support would use an i2c_gate_ctrl function when using the digital side of the au8522, but on the analog side we would always just force the gate open and leave it open all the time. This can have adverse effects on the xc5000 given the tuner is receiving

[PATCH 18/24] xc5000: reset device if encountering PLL lock failure

2012-08-06 Thread Devin Heitmueller
It's possible for the xc5000 to enter an unknown state such that all subsequent tuning requests fail. The only way to recover is to reset the tuner and reload the firmware. This problem was detected after several days straight of issuing tuning requests every five seconds. Reset the firmware in

[PATCH 19/24] xc5000: add support for firmware load check and init status

2012-08-06 Thread Devin Heitmueller
The xc5000c and newer versions of the xc5000a firmware need minor revisions to their initialization process. Add support for validating the firmware was properly loaded, as well as checking the init status after initialization. Based on advice from CrestaTech support as well as xc5000 datasheet

[PATCH 22/24] au0828: fix a couple of missed edge cases for i2c gate with analog

2012-08-06 Thread Devin Heitmueller
This patch addresses a couple of cases where I forgot to pop open the gate when in analog mode (a correlary to fix the change made in patch 1c58d5b4a5fca42dce5428bd79b9405878017735). Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com --- drivers/media/video/au0828/au0828-video.c | 16

[PATCH 24/24] xc5000: change filename to production/redistributable xc5000c firmware

2012-08-06 Thread Devin Heitmueller
The original xc5000c driver support was based on a beta version of the firmware, and there were no redistribution rights. Change over to using the release version, for which freely redistributable firmware can be found here: http://kernellabs.com/firmware/xc5000/README.xc5000c

[PATCH 13/24] au0828: fix case where STREAMOFF being called on stopped stream causes BUG()

2012-08-06 Thread Devin Heitmueller
We weren't checking whether the resource was in use before calling res_free(), so applications which called STREAMOFF on a v4l2 device that wasn't already streaming would cause a BUG() to be hit (MythTV). Reported-by: Larry Finger larry.fin...@lwfinger.net Reported-by: Jay Harbeston

[PATCH 15/24] au0828: remove control buffer from send_control_msg

2012-08-06 Thread Devin Heitmueller
There are no cases where a control message is ever sent to the au0828 with an actual buffer defined. Remove the reference to dev-ctrlmsg, which currently requires us to hold a mutex since it is shared with the read function. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com ---

[PATCH 20/24] au0828: tweak workaround for i2c clock stretching bug

2012-08-06 Thread Devin Heitmueller
The hack I put in a couple of years ago to avoid clock stretching issues when talking to the xc5000 worked fine for writes, but intermittently fails for register reads, because the xc5000 may stretch the clock for longer between bytes (I was seeing cases of 21 us on the analyzer). The problem

  1   2   >