[PATCH] mxl111sf: don't redefine pr_err/info/debug

2013-05-23 Thread Hans Verkuil
Remove the silly redefines of pr_err/info/debug. This improves readability and it also gets rid of a bunch of warnings when compiling this driver for older kernels using the compatibility media_build system. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

Re: InstantFM

2013-05-23 Thread Hans de Goede
Hi, On 05/22/2013 04:05 PM, Patrice Levesque wrote: I could try the liquorix kernel (3.8) if you thought it might help. Yes, if you could try that that would be great. If I may join the party, I too own an InstantFM USB device and I can't get it to play radio. All of this under kernel

[GIT PULL] go7007 firmware updates

2013-05-23 Thread Hans Verkuil
Hi Ben, David, The go7007 staging driver has been substantially overhauled for kernel 3.10. As part of that process the firmware situation has been improved as well. While Micronas allowed the firmware to be redistributed, it was never made part of linux-firmware. Only the firmwares for the

Re: [PATCH] [media] hdpvr: Disable IR receiver by default.

2013-05-23 Thread Hans Verkuil
On Tue 14 May 2013 06:44:19 Jeff Hansen wrote: All of the firmwares I've tested, including 0x1e, will inevitably crash before recording for even 10 minutes. There must be a race condition of IR RX vs. video-encoding in the firmware, because if you disable IR receiver polling, then the firmware

Re: [PATCH 0/6] media: i2c: ths7303 feature enhancement and cleanup

2013-05-23 Thread Hans Verkuil
On Wed 15 May 2013 13:57:16 Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables the ths7303 driver for asynchronous probing, OF support with some cleanup patches. Lad, Prabhakar (6): media: i2c: ths7303: remove init_enable option from pdata

Re: [PATCH 0/6] media: i2c: ths7303 feature enhancement and cleanup

2013-05-23 Thread Prabhakar Lad
Hi Hans, On Thu, May 23, 2013 at 2:21 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Wed 15 May 2013 13:57:16 Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables the ths7303 driver for asynchronous probing, OF support with some cleanup patches.

Re: [PATCH 2/6] ARM: davinci: dm365 evm: remove init_enable from ths7303 pdata

2013-05-23 Thread Prabhakar Lad
Hi Sekhar, On Wed, May 15, 2013 at 5:27 PM, Lad Prabhakar prabhakar.cse...@gmail.com wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com remove init_enable from ths7303 pdata as it is no longer exists. Can you please ack this patch, as this patch is intended to go via media tree. Regards,

Re: [PATCH v3 2/3] mutex: add support for wound/wait style locks, v3

2013-05-23 Thread Maarten Lankhorst
Op 22-05-13 19:24, Maarten Lankhorst schreef: Hey, Op 22-05-13 18:18, Peter Zijlstra schreef: On Wed, May 22, 2013 at 01:18:14PM +0200, Maarten Lankhorst wrote: Lacking the actual msg atm, I'm going to paste in here... Thanks for taking the time to review. Subject: [PATCH v3 2/3] mutex:

Re: [PATCH] [media] vpif_display: fix error return code in vpif_probe()

2013-05-23 Thread Prabhakar Lad
Hi Hans, On Mon, May 13, 2013 at 11:34 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Wei, Thanks for the patch. On Mon, May 13, 2013 at 11:27 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENODEV in the subdevice register

Re: [PATCH 3/5] media: i2c: tvp7002: rearrange header inclusion alphabetically

2013-05-23 Thread Hans Verkuil
On Tue 14 May 2013 12:45:32 Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch rearranges the header inclusion alphabetically and also removes unnecessary includes. As Laurent mentioned in a review for another patch (vpif) you probably shouldn't remove these

Re: [PATCH] drivers/staging: davinci: vpfe: fix dependency for building the driver

2013-05-23 Thread Prabhakar Lad
Hi Hans, On Mon, May 13, 2013 at 4:09 PM, Lad Prabhakar prabhakar.cse...@gmail.com wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com from commit 3778d05036cc7ddd983ae2451da579af00acdac2 [media: davinci: kconfig: fix incorrect selects] VIDEO_VPFE_CAPTURE was removed but there was a

Re: [PATCH] [media] vpif_display: fix error return code in vpif_probe()

2013-05-23 Thread Hans Verkuil
On Thu 23 May 2013 11:25:25 Prabhakar Lad wrote: Hi Hans, On Mon, May 13, 2013 at 11:34 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Wei, Thanks for the patch. On Mon, May 13, 2013 at 11:27 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun

Re: [PATCH 0/7] media: davinci: vpif trivial cleanup

2013-05-23 Thread Hans Verkuil
On Thu 16 May 2013 14:58:15 Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series cleans the VPIF driver, uses devm_* api wherever required and uses module_platform_driver() to simplify the code. This patch series applies on 3.10.rc1 and is tested on

Re: [PATCH 0/7] media: davinci: vpif trivial cleanup

2013-05-23 Thread Prabhakar Lad
Hi Hans, On Thu, May 23, 2013 at 3:08 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Thu 16 May 2013 14:58:15 Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series cleans the VPIF driver, uses devm_* api wherever required and uses module_platform_driver() to

Re: [PATCH 3/5] media: i2c: tvp7002: rearrange header inclusion alphabetically

2013-05-23 Thread Prabhakar Lad
Hi Hans, On Thu, May 23, 2013 at 3:05 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Tue 14 May 2013 12:45:32 Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch rearranges the header inclusion alphabetically and also removes unnecessary includes. As Laurent

Re: [PATCH v3] media: i2c: tvp514x: add OF support

2013-05-23 Thread Hans Verkuil
On Tue 14 May 2013 13:00:36 Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the tvp514x driver. Alongside this patch removes unnecessary header file inclusion and sorts them alphabetically. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com

Re: [v3] media: davinci: kconfig: fix incorrect selects

2013-05-23 Thread Hans Verkuil
On Mon 13 May 2013 12:41:26 Prabhakar Lad wrote: Hi Paul, On Mon, May 13, 2013 at 3:35 PM, Paul Bolle pebo...@tiscali.nl wrote: Prabhakar, On Mon, 2013-05-13 at 15:27 +0530, Prabhakar Lad wrote: Good catch! the dependency can be dropped now. Great. Are you planning to post a

Re: [v3] media: davinci: kconfig: fix incorrect selects

2013-05-23 Thread Prabhakar Lad
Hi Hans, On Thu, May 23, 2013 at 3:53 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Mon 13 May 2013 12:41:26 Prabhakar Lad wrote: Hi Paul, On Mon, May 13, 2013 at 3:35 PM, Paul Bolle pebo...@tiscali.nl wrote: Prabhakar, On Mon, 2013-05-13 at 15:27 +0530, Prabhakar Lad wrote: Good

Re: [PATCH RFC v3 2/3] media: added managed v4l2 control initialization

2013-05-23 Thread Hans Verkuil
On Fri 17 May 2013 00:34:51 Sakari Ailus wrote: Hi Andrzej, Thanks for the patchset! On Thu, May 16, 2013 at 10:14:33AM +0200, Andrzej Hajda wrote: This patch adds managed version of initialization function for v4l2 control handler. Signed-off-by: Andrzej Hajda a.ha...@samsung.com

Re: [PATCH RFC v3 2/3] media: added managed v4l2 control initialization

2013-05-23 Thread Hans Verkuil
On Thu 16 May 2013 10:14:33 Andrzej Hajda wrote: This patch adds managed version of initialization function for v4l2 control handler. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCH RFC v3 3/3] media: added managed v4l2/i2c subdevice initialization

2013-05-23 Thread Hans Verkuil
On Thu 16 May 2013 10:14:34 Andrzej Hajda wrote: This patch adds managed version of initialization function for v4l2/i2c subdevices. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

Re: [Linaro-mm-sig] [PATCH v3 2/3] mutex: add support for wound/wait style locks, v3

2013-05-23 Thread Daniel Vetter
On Thu, May 23, 2013 at 11:13 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: 2. Do you really want to drop the *_slow variants? Doing so might reduce debugging slightly. I like method #2 in ww-mutex-design.txt, it makes it very clear why you would handle the *_slow case

[GIT PULL FOR v3.10] Fix vpfe build dependency

2013-05-23 Thread Hans Verkuil
The following changes since commit 6a084d6b3dc200b855ae8a3c6771abe285a3835d: [media] saa7115: Don't use a dynamic array (2013-05-21 12:04:16 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v3.10b for you to fetch changes up to

Re: Audio: no sound

2013-05-23 Thread Ezequiel Garcia
Hi Alejandro, On Wed, May 22, 2013 at 10:12 PM, Alejandro A. Valdés av2...@gmail.com wrote: Being able to capture the TV signal from a cable decoder; but can't make it with getting audio working.I'm using an Easycap dc60 USB adapter, plugged in to one of the USB 2.0 ports of an ASUS

[GIT PULL FOR v3.11] Updates for 3.11

2013-05-23 Thread Hans Verkuil
The following changes since commit 6a084d6b3dc200b855ae8a3c6771abe285a3835d: [media] saa7115: Don't use a dynamic array (2013-05-21 12:04:16 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v3.11 for you to fetch changes up to

[GIT PULL FOR v3.10] Build dependency fixes

2013-05-23 Thread Hans Verkuil
Note: this superceeds my previous 3.10 pull request: I realized that the solo fix should also go to 3.10. Regards, Hans The following changes since commit 6a084d6b3dc200b855ae8a3c6771abe285a3835d: [media] saa7115: Don't use a dynamic array (2013-05-21 12:04:16 -0300) are available

[PATCH] v4l2: remove g_chip_ident where it is easy to do so.

2013-05-23 Thread Hans Verkuil
With the introduction in 3.10 of the new superior VIDIOC_DBG_G_CHIP_INFO ioctl there is no longer any need for the DBG_G_CHIP_IDENT ioctl or the v4l2-chip-ident.h header. Remove it in those bridge drivers where it is easy to do so. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

Re: Introduce a new helper framework for buffer synchronization

2013-05-23 Thread Daniel Vetter
On Tue, May 21, 2013 at 11:22 AM, Inki Dae inki@samsung.com wrote: -Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Tuesday, May 21, 2013 4:45 PM To: Inki Dae Cc: 'Daniel Vetter'; 'Rob Clark'; 'linux-fbdev'; 'DRI mailing

RE: Introduce a new helper framework for buffer synchronization

2013-05-23 Thread Inki Dae
-Original Message- From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Thursday, May 23, 2013 8:56 PM To: Inki Dae Cc: Rob Clark; linux-fbdev; DRI mailing list; Kyungmin Park; myungjoo.ham; YoungJun Cho; linux-arm-ker...@lists.infradead.org;

[PATCH 0/9] CODA patches in preparation for decoding support

2013-05-23 Thread Philipp Zabel
The following patch series contains a few fixes and cleanups in preparation for decoding support. I've simplified the parameter buffer setup code, changed the hardware command register access locking for multi-instance support on CODA7, and added a list of supported codecs per device type, where

[PATCH 5/9] [media] coda: simplify parameter buffer setup code

2013-05-23 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 51 +++ 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index ef541b0..625ef3f 100644 ---

[PATCH 4/9] [media] coda: clear registers in coda_hw_init

2013-05-23 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 3be56b0..ef541b0 100644 --- a/drivers/media/platform/coda.c +++

[PATCH 8/9] [media] coda: replace completion with mutex

2013-05-23 Thread Philipp Zabel
Not only do we need to wait for job completion when we want to call a command on the CODA in start/stop_streaming, we also need to make sure that a new job doesn't start before the command finished. Use a mutex to lock the coda command handling. On timeout, the device_run job must be marked as

[PATCH 2/9] [media] coda: frame stride must be a multiple of 8

2013-05-23 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 7ac2299..79a81eb 100644 --- a/drivers/media/platform/coda.c +++

[PATCH 9/9] [media] coda: do not call v4l2_m2m_job_finish from .job_abort

2013-05-23 Thread Philipp Zabel
If we just declare the job finished here while the CODA is still running, the call to v4l2_m2m_ctx_release in coda_release, which is supposed to wait for a running job to finish, will return immediately and free memory that the CODA is still using. Just set the 'aborting' flag and let

[PATCH 7/9] [media] coda: add coda_encode_header helper function

2013-05-23 Thread Philipp Zabel
In preparation for CODA7541 and CODA960 multi-stream support and for replacement of the completion with a mutex lock, consolidate the header encoding in a helper function. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 112

[PATCH 1/9] [media] coda: fix ENC_SEQ_OPTION for CODA7

2013-05-23 Thread Philipp Zabel
GAMMA_OFFSET is different between CodaDx6 and CODA7. Also, this is a bitfield, so drop the various Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 10 -- drivers/media/platform/coda.h | 8 ++-- 2 files changed, 10 insertions(+), 8 deletions(-)

[PATCH 3/9] [media] coda: stop setting bytesused in buf_prepare

2013-05-23 Thread Philipp Zabel
The application must have filled the bytesused field, don't overwrite it here. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index

[PATCH 6/9] [media] coda: per-product list of codecs instead of list of formats

2013-05-23 Thread Philipp Zabel
This patch adds a list of supported codecs per device type which is used to determine the allowed pixel formats and maximum frame sizes depending on the possible codecs. It allows frame sizes larger than 720 x 576 on CODA7 and adds support for the YVU420 (planar YUV 4:2:0 with switched Cb and Cr)

Re: Audio: no sound

2013-05-23 Thread Alejandro A. Valdés
Good morning, Please find the output the cat /proc/asound/ command below: # cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf7cf8000 irq 45 1 [EasyALSA1 ]: easycapdc60 - easycap_alsa easycap_alsa Besides, this

Re: Audio: no sound

2013-05-23 Thread Ezequiel Garcia
On Thu, May 23, 2013 at 1:19 PM, Alejandro A. Valdés av2...@gmail.com wrote: Good morning, Please find the output the cat /proc/asound/ command below: # cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf7cf8000 irq 45 1 [EasyALSA1

cron job: media_tree daily build: WARNINGS

2013-05-23 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: Thu May 23 19:00:19 CEST 2013 git branch: test git hash: 6a084d6b3dc200b855ae8a3c6771abe285a3835d gcc

Re: Audio: no sound

2013-05-23 Thread Ezequiel Garcia
Alejandro, You dropped the linux-media list from Cc. I'm adding it back. On Thu, May 23, 2013 at 3:30 PM, Alejandro A. Valdés av2...@gmail.com wrote: # lsmod Module Size Used by snd_usb_audio 106622 0 snd_usbmidi_lib24590 1 snd_usb_audio easycap

[PATCH v4] adv7180: add more subdev video ops

2013-05-23 Thread Sergei Shtylyov
From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com

Re: Audio: no sound

2013-05-23 Thread Alejandro A. Valdés
On 05/23/2013 04:12 PM, Ezequiel Garcia wrote: Alejandro, You dropped the linux-media list from Cc. I'm adding it back. On Thu, May 23, 2013 at 3:30 PM, Alejandro A. Valdés av2...@gmail.com wrote: # lsmod Module Size Used by snd_usb_audio 106622 0 snd_usbmidi_lib

[PATCH v5] V4L2: I2C: ML86V7667 video decoder driver

2013-05-23 Thread Sergei Shtylyov
From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add OKI Semiconductor ML86V7667 video decoder driver. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com [Sergei: added v4l2_device_unregister_subdev() call to the error cleanup path of ml86v7667_probe(); some cleanup.]

[PATCH v6] V4L2: soc_camera: Renesas R-Car VIN driver

2013-05-23 Thread Sergei Shtylyov
From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy phil.edwor...@renesas.com. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com [Sergei: removed deprecated IRQF_DISABLED flag,

[PATCH] [media] v4l2: mem2mem: save irq flags correctly

2013-05-23 Thread John Sheu
Save flags correctly when taking spinlocks in v4l2_m2m_try_schedule. Signed-off-by: John Sheu s...@google.com --- drivers/media/v4l2-core/v4l2-mem2mem.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-mem2mem.c

Re: [PATCH] [media] hdpvr: Disable IR receiver by default.

2013-05-23 Thread Jeff Hansen
Does anyone have any contacts at Hauppauge that could make HD-PVR firmware source available? I have done a little bit of work on Ambarella chips, and I'd be happy to take a look at why the firmware is crashing. My firmware is yet to crash after disabling IR RX. -Jeff On 05/23/2013 02:41 AM,