[PATCH] [media] winbond-cir: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/rc/winbond-cir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/winbond-cir.c b/driv

[PATCH] [media] ir-rx51: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/rc/ir-rx51.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/rc/ir-rx51.c b/drivers/me

[PATCH] [media] radio-si4713: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/radio/si4713-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/radio/si4713-i2c.c b/

[PATCH] [media] sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/med

[PATCH] [media] s5p-mfc: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-

[PATCH] [media] ivtv: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/pci/ivtv/ivtv-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/ivtv/ivtv-dri

[PATCH] [media] zoran: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/pci/zoran/zoran_card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/zoran/zoran_c

[PATCH] [media] misc drivers: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/pci/bt8xx/bt878.c | 3 +-- drivers/media/pci/bt8xx/bttv-driver.c| 2 +- drivers/media/pci/cx23885/cx23885-cor

[PATCH] [media] cx18: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/pci/cx18/cx18-driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/pci/cx18/cx18-d

[PATCH] [media] saa7146: remove deprecated IRQF_DISABLED

2013-10-12 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/common/saa7146/saa7146_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/common/saa

cron job: media_tree daily build: WARNINGS

2013-10-12 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: Sun Oct 13 04:00:18 CEST 2013 git branch: test git hash: d10e8280c4c2513d3e7350c27d8e6f0fa03a5f71 gcc versi

Re: ivtv 1.4.2/1.4.3 broken in recent kernels?

2013-10-12 Thread Andy Walls
On Thu, 2013-10-10 at 22:00 +0100, Rajil Saraswat wrote: > On 10 October 2013 03:20, Andy Walls wrote: > > On Wed, 2013-09-18 at 02:19 +0530, Rajil Saraswat wrote: > >> Hi, > >> > >> I have a couple of PVR-500's which have additional tuners connected > >> to them (using daughter cards). > > > > T

[PATCH RFC v2.1 01/10] V4L: Add mem2mem ioctl and file operation helpers

2013-10-12 Thread Sylwester Nawrocki
This patch adds ioctl helpers to the V4L2 mem-to-mem API, so we can avoid several ioctl handlers in the mem-to-mem video node drivers that are simply a pass-through to the v4l2_m2m_* calls. These helpers will only be useful for drivers that use same mutex for both OUTPUT and CAPTURE queue, which is

[PATCH RFC v2 10/10] s5p-g2d: Use mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
Simplify the driver by using the m2m ioctl and vb2 helpers. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v1: - use m2m context pointer from struct v4l2_fh. --- drivers/media/platform/s5p-g2d/g2d.c | 124 ++ drivers/media/plat

[PATCH RFC v2 05/10] mx2-emmaprp: Use struct v4l2_fh

2013-10-12 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/mx2_emmaprp.c | 54 ++--- 1 files changed, 36 insertions(+), 18 deletions(-) diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c index c6

[PATCH RFC v2 06/10] mx2-emmaprp: Use mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
Simplify the driver by using the m2m ioctl and vb2 helpers. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v1: - dropped m2m_ctx member of struct emmaprp_ctx; the patch is now complete and there are better chances it actually works. --- drivers/media/platfo

[PATCH RFC v2 03/10] exynos4-is: Use mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
Simplify the FIMC mem-to-mem driver by using the m2m ioctl and vb2 helpers. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v1: - use m2m context pointer from struct v4l2_fh. --- drivers/media/platform/exynos4-is/fimc-core.h |2 - drivers/media/platform/exy

[PATCH RFC v2 09/10] exynos-gsc: Use mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
Simplify the driver by using the m2m ioctl and vb2 helpers. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v1: - removed unused gsc_m2m_reqbufs() function. --- drivers/media/platform/exynos-gsc/gsc-core.h | 12 -- drivers/media/platform/exynos-gsc/gsc-m2m.c

[PATCH RFC v2 04/10] s5p-jpeg: Use mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
Simplify the driver by using the m2m ioctl and vb2 helpers. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v1: - use m2m context pointer from struct v4l2_fh. --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 134 +-- drivers/media/plat

[PATCH RFC v2 02/10] mem2mem_testdev: Use mem-to-mem ioctl and vb2 helpers

2013-10-12 Thread Sylwester Nawrocki
Simplify the driver by using the m2m ioctl and vb2 helpers. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Changes since v1: - dropped now redundant struct m2mtest_ctx::m2m_ctx field. --- drivers/media/platform/mem2mem_testdev.c | 152 ++ 1 file

[PATCH RFC v2 08/10] exynos-gsc: Remove GSC_{SRC, DST}_FMT flags

2013-10-12 Thread Sylwester Nawrocki
The GSC_SRC_FMT, GSC_DST_FMT flags are currently set in VIDIOC_S_FMT ioctl and cleared in VIDIOC_REQBUFS(0). In between the flags are used to figure out if scaling ratio check need to be performed. This an incorrect behaviour as it should be assumed there is always a valid configuration on a video

[PATCH RFC v2 07/10] exynos-gsc: Configure default image format at device open()

2013-10-12 Thread Sylwester Nawrocki
There should be always some valid image format set on a video device. Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exynos-gsc/gsc-m2m.c | 34 ++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c

[PATCH RFC v2 00/10] V4L2 mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
Hello, This patch set adds ioctl helpers to the v4l2-mem2mem module so the video mem-to-mem drivers can be simplified by removing functions that are only a pass-through to the v4l2_m2m_* calls. In addition some of the vb2 helper functions can be used as well. These helpers are similar to the vide

[PATCH RFC v2 01/10] V4L: Add mem2mem ioctl and file operation helpers

2013-10-12 Thread Sylwester Nawrocki
This patch adds ioctl helpers to the V4L2 mem-to-mem API, so we can avoid several ioctl handlers in the mem-to-mem video node drivers that are simply a pass-through to the v4l2_m2m_* calls. These helpers will only be useful for drivers that use same mutex for both OUTPUT and CAPTURE queue, which is

Re: [PATCH RFC 6/7] exynos-gsc: Use mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
On 09/30/2013 11:50 AM, Hans Verkuil wrote: On 09/13/2013 02:56 PM, Sylwester Nawrocki wrote: > Simplify the driver by using the m2m ioctl and vb2 helpers. > > TODO: Add setting of default initial format. So this patch can't be applied yet. Indeed, it's just an RFC series, I wanted it to g

Re: [PATCH RFC 5/7] mx2-emmaprp: Use mem-to-mem ioctl helpers

2013-10-12 Thread Sylwester Nawrocki
On 09/30/2013 11:47 AM, Hans Verkuil wrote: On 09/13/2013 02:56 PM, Sylwester Nawrocki wrote: [...] @@ -812,6 +753,7 @@ static int emmaprp_open(struct file *file) kfree(ctx); return ret; } + /* TODO: Assign fh->m2m_ctx, needs conversion to struct v4

Re: [PATCH RFC 1/7] V4L: Add mem2mem ioctl and file operation helpers

2013-10-12 Thread Sylwester Nawrocki
On 09/30/2013 11:41 AM, Hans Verkuil wrote: On 09/13/2013 02:56 PM, Sylwester Nawrocki wrote: This patch adds ioctl helpers to the V4L2 mem-to-mem API, so we can avoid several ioctl handlers in the mem-to-mem video node drivers that are simply a pass-through to the v4l2_m2m_* calls. These helper

Re: [PATCH v5 4/4] media: s5p-tv: Fix mixer driver to work with CCF

2013-10-12 Thread Sylwester Nawrocki
On 09/25/2013 06:09 PM, Tomasz Stanislawski wrote: rename to 'media: s5p-tv: mixer: integrate with CCF' On 09/21/2013 05:00 PM, Mateusz Krawczuk wrote: > Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. > Clock prepare is required by Clock Common Framewo

Re: [PATCH v5 3/4] media: s5p-tv: Fix sdo driver to work with CCF

2013-10-12 Thread Sylwester Nawrocki
On 09/25/2013 05:59 PM, Tomasz Stanislawski wrote: Rename to 'media: s5p-tv: sdo: integrate with CCF' On 09/21/2013 05:00 PM, Mateusz Krawczuk wrote: Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and

Re: [PATCH v5 2/4] media: s5p-tv: Restore vpll clock rate

2013-10-12 Thread Sylwester Nawrocki
On 09/25/2013 05:46 PM, Tomasz Stanislawski wrote: Hi, As you can see sdo, hdmi and mixer are saparate drivers that are parts of s5p-tv drivers set. Could you rename commit name to 'media: s5p-tv: sdo: Restore vpll clock rate after streamoff' Patch applied with the above commit summary line an

Re: [PATCH] s5p-jpeg: fix encoder and decoder video dev names

2013-10-12 Thread Sylwester Nawrocki
On 10/10/2013 10:45 AM, Seung-Woo Kim wrote: It is hard to distinguish between decoder and encoder video device because their names are same. So this patch fixes the names. Signed-off-by: Seung-Woo Kim Patch queued for 3.13. Thanks, Sylwester -- To unsubscribe from this list: send the line "u

Re: [PATCH] s5p-jpeg: fix uninitialized use in hdr parse

2013-10-12 Thread Sylwester Nawrocki
Hi Seung-Woo, On 10/10/2013 09:06 AM, Seung-Woo Kim wrote: For hdr parse error, it can return false without any assignments which cause build warning. Signed-off-by: Seung-Woo Kim --- drivers/media/platform/s5p-jpeg/jpeg-core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) d

Re: Fwd: [PATCH 3/6] [media] s5p-mfc: add support for VIDIOC_{G,S}_CROP to encoder

2013-10-12 Thread John Sheu
I thought you were not making sense for a bit. Then I walked away, came back, and I think you're making sense now. So: * Crop always refers to the source image * Compose always refers to the destination image On Sat, Oct 12, 2013 at 1:00 AM, Hans Verkuil wrote: > On 10/12/2013 01:48 AM, John S

[PATCH] cx24117: Fix/enhance set_voltage function.

2013-10-12 Thread Luis Alves
Hi, On this patch: Added a few defines to describe what every constant in the set_voltage function. Added the description to the CX24117 GPIO control commands. Moved the GPIODIR setup to the initfe function. Regards, Luis Signed-off-by: Luis Alves --- drivers/media/dvb-frontends/cx24117.c |

Re: Fwd: [PATCH 3/6] [media] s5p-mfc: add support for VIDIOC_{G,S}_CROP to encoder

2013-10-12 Thread Hans Verkuil
On 10/12/2013 01:48 AM, John Sheu wrote: > On Wed, Oct 9, 2013 at 11:49 PM, Hans Verkuil wrote: >> The main problem is that you use the wrong API: you need to use >> G/S_SELECTION instead >> of G/S_CROP. S_CROP on an output video node doesn't crop, it composes. And >> if your >> reaction is 'Huh