Re: [RFC PATCHv2 18/18] tlg2300: update MAINTAINERS file.

2013-02-16 Thread Huang Shijie
On Thu, Feb 7, 2013 at 8:38 PM, Hans Verkuil wrote: > Remove two maintainers: telegent.com no longer exists, so those email > addresses are invalid as well. > > Added myself as co-maintainer and change the status to 'Odd Fixes'. > > Changes since v1: Added myself as co-maintainer and change the st

Re: [RFC PATCHv2 01/18] tlg2300: use correct device parent.

2013-02-16 Thread Huang Shijie
On Thu, Feb 7, 2013 at 8:36 PM, Hans Verkuil wrote: > Set the correct parent for v4l2_device_register and don't set the name > anymore (that's now deduced from the parent). Also remove an unnecessary > forward reference and fix two weird looking log messages. > > Changes since v1: don't set v4l2_d

Re: em28xx: msi Digivox ATSC board id [0db0:8810]

2013-02-16 Thread Matthew Gyurgyik
On 01/20/2013 12:46 PM, Antti Palosaari wrote: On 01/20/2013 04:40 PM, Matthew Gyurgyik wrote: On 01/02/2013 09:53 PM, Matthew Gyurgyik wrote: On 01/02/2013 03:59 PM, Antti Palosaari wrote: On 12/18/2012 05:08 AM, Matthew Gyurgyik wrote: I can test patches Tue and Wed this week. Afterwards, I

[PATCH 0/3] [media] redrat3: cleanup driver

2013-02-16 Thread Sean Young
This driver has various minor issues and could be simpler. Sean Young (3): [media] redrat3: limit periods to hardware limits [media] redrat3: remove memcpys and fix unaligned memory access [media] redrat3: missing endian conversions and warnings drivers/media/rc/redrat3.c | 457 ++

[PATCH 2/3] [media] redrat3: remove memcpys and fix unaligned memory access

2013-02-16 Thread Sean Young
In stead of doing a memcpy from #defined offset, declare structs which describe the incoming and outgoing data accurately. Tested on first generation RedRat. Signed-off-by: Sean Young --- drivers/media/rc/redrat3.c | 351 +--- 1 files changed, 103 insert

[PATCH 3/3] [media] redrat3: missing endian conversions and warnings

2013-02-16 Thread Sean Young
Spotted by sparse. Signed-off-by: Sean Young --- drivers/media/rc/redrat3.c | 71 +++ 1 files changed, 12 insertions(+), 59 deletions(-) diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c index ec655b8..12167a6 100644 --- a/drivers/med

[PATCH 1/3] [media] redrat3: limit periods to hardware limits

2013-02-16 Thread Sean Young
The redrat hardware cannot handle periods of larger than 32767us, limit appropriately. Also fix memory leak in redrat3_get_timeout. Signed-off-by: Sean Young --- drivers/media/rc/redrat3.c | 53 1 files changed, 24 insertions(+), 29 deletions(-) di

cron job: media_tree daily build: ERRORS

2013-02-16 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: Sat Feb 16 19:00:20 CET 2013 git branch: for_v3.9 git hash: ed72d37a33fdf43dc47787fe220532cdec9da528 gcc ve

Re: [RFC PATCH 06/18] davinci: replace V4L2_OUT_CAP_CUSTOM_TIMINGS by V4L2_OUT_CAP_DV_TIMINGS

2013-02-16 Thread Hans Verkuil
On Sat February 16 2013 20:23:39 Sekhar Nori wrote: > On 2/16/2013 6:28 PM, Prabhakar Lad wrote: > > Cc'ed Sekhar, DLOS, LAK. > > > > Sekhar Can you Ack this patch ? Or maybe you can take this patch through > > your tree ? > > I can take the patch, but I can only send for v3.10 since for v3.9 ARM

Re: [RFC PATCH 06/18] davinci: replace V4L2_OUT_CAP_CUSTOM_TIMINGS by V4L2_OUT_CAP_DV_TIMINGS

2013-02-16 Thread Sekhar Nori
On 2/16/2013 6:28 PM, Prabhakar Lad wrote: > Cc'ed Sekhar, DLOS, LAK. > > Sekhar Can you Ack this patch ? Or maybe you can take this patch through > your tree ? I can take the patch, but I can only send for v3.10 since for v3.9 ARM tree is only accepting bug fixes for already accepted code. If yo

Re: [RFC PATCH 05/18] davinci: remove VPBE_ENC_DV_PRESET and rename VPBE_ENC_CUSTOM_TIMINGS

2013-02-16 Thread Sekhar Nori
On 2/16/2013 6:20 PM, Prabhakar Lad wrote: > Cc'ed Sekhar, DLOS, LAK. > > Sekhar Can you Ack this patch for platform changes ? Acked-by: Sekhar Nori Thanks, Sekhar -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org

Re: [PATCH v2 0/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-02-16 Thread Ondrej Zary
On Friday 01 February 2013 21:21:23 Ondrej Zary wrote: > Add AverMedia AverTV Satellite Hybrid+FM (A706) card to saa7134 driver. > > This requires some changes to tda8290 - disabling I2C gate control and > passing custom std_map to tda18271. > Also tuner-core needs to be changed because there's cur

[PATCH 8/9] s5p-fimc: fix s5pv210 build

2013-02-16 Thread Sylwester Nawrocki
From: Arnd Bergmann 56bc911 "[media] s5p-fimc: Redefine platform data structure for fimc-is" changed the bus_type member of struct fimc_source_info treewide, but got one instance wrong in mach-s5pv210, which was evidently not even build tested. This adds the missing change to get s5pv210_defconf

Re: [RFC PATCH 07/18] blackfin: replace V4L2_IN/OUT_CAP_CUSTOM_TIMINGS by DV_TIMINGS

2013-02-16 Thread Scott Jiang
2013/2/16 Hans Verkuil : > From: Hans Verkuil > > The use of V4L2_IN/OUT_CAP_CUSTOM_TIMINGS is obsolete, use DV_TIMINGS instead. > Note that V4L2_IN/OUT_CAP_CUSTOM_TIMINGS is just a #define for > V4L2_IN/OUT_CAP_DV_TIMINGS. > > At some point in the future these CUSTOM_TIMINGS defines might be remo

Re: [GIT PULL FOR v3.9] bttv: v4l2-compliance fixes

2013-02-16 Thread Hans Verkuil
On Sat February 16 2013 14:35:13 Frank Schäfer wrote: > Am 15.02.2013 22:38, schrieb Hans Verkuil: > > On Fri February 15 2013 22:09:11 Frank Schäfer wrote: > >> Am 15.02.2013 11:15, schrieb Hans Verkuil: > >>> This pull request is identical to the REVIEWv2 patch series I posted > >>> earlier: > >

Re: [GIT PULL FOR v3.9] bttv: v4l2-compliance fixes

2013-02-16 Thread Frank Schäfer
Am 15.02.2013 22:38, schrieb Hans Verkuil: > On Fri February 15 2013 22:09:11 Frank Schäfer wrote: >> Am 15.02.2013 11:15, schrieb Hans Verkuil: >>> This pull request is identical to the REVIEWv2 patch series I posted >>> earlier: >>> >>> http://www.spinics.net/lists/linux-media/msg59944.html >>>

Re: [RFC PATCH 02/18] tvp7002: use dv_timings structs instead of presets.

2013-02-16 Thread Prabhakar Lad
Hi Hans, On Sat, Feb 16, 2013 at 2:58 PM, Hans Verkuil wrote: > From: Hans Verkuil > > In the functions tvp7002_mbus_fmt(), tvp7002_log_status and tvp7002_probe() > we should use the dv_timings data structures instead of dv_preset data > structures and functions. > > This is the second step towa

Re: [RFC PATCH 03/18] tvp7002: remove dv_preset support.

2013-02-16 Thread Prabhakar Lad
Hi Hans, On Sat, Feb 16, 2013 at 2:58 PM, Hans Verkuil wrote: > From: Hans Verkuil > > Finally remove the dv_preset support from this driver. Note that dv_preset > support was already removed from any bridge drivers that use this i2c > driver, so the dv_preset ops were no longer called and can b

Re: [RFC PATCH 01/18] tvp7002: replace 'preset' by 'timings' in various structs/variables.

2013-02-16 Thread Prabhakar Lad
Hi Hans, On Sat, Feb 16, 2013 at 2:58 PM, Hans Verkuil wrote: > From: Hans Verkuil > > This is the first step towards removing the deprecated preset support of this > driver. > > Signed-off-by: Hans Verkuil > Cc: Prabhakar Lad Acked-by: Lad, Prabhakar Regards, --Prabhakar > --- > drivers/

Re: [RFC PATCH 06/18] davinci: replace V4L2_OUT_CAP_CUSTOM_TIMINGS by V4L2_OUT_CAP_DV_TIMINGS

2013-02-16 Thread Prabhakar Lad
Cc'ed Sekhar, DLOS, LAK. Sekhar Can you Ack this patch ? Or maybe you can take this patch through your tree ? On Sat, Feb 16, 2013 at 2:58 PM, Hans Verkuil wrote: > From: Hans Verkuil > > The use of V4L2_OUT_CAP_CUSTOM_TIMINGS is deprecated, use DV_TIMINGS instead. > Note that V4L2_OUT_CAP_CUST

Re: [RFC PATCH 05/18] davinci: remove VPBE_ENC_DV_PRESET and rename VPBE_ENC_CUSTOM_TIMINGS

2013-02-16 Thread Prabhakar Lad
Cc'ed Sekhar, DLOS, LAK. Sekhar Can you Ack this patch for platform changes ? On Sat, Feb 16, 2013 at 2:58 PM, Hans Verkuil wrote: > From: Hans Verkuil > > Remove VPBE_ENC_DV_PRESET (the DV_PRESET API is no longer supported) and > VPBE_ENC_CUSTOM_TIMINGS is renamed to VPBE_ENC_DV_TIMINGS since

[REPORT] Use of legacy APIs in V4L2 drivers

2013-02-16 Thread Hans Verkuil
As regular readers of this mailinglist have no doubt noticed I have been cleaning up lots of drivers recently. Some of that work I did last year, but for one reason or another I never got the chance to post them until recently, and some of it is new development. The purpose is to make these driver

Re: [RFC PATCH 04/18] davinci_vpfe: fix copy-paste errors in several comments.

2013-02-16 Thread Prabhakar Lad
Hi Hans, Thanks for the patch. On Sat, Feb 16, 2013 at 2:58 PM, Hans Verkuil wrote: > From: Hans Verkuil > > This removes some incorrect dv_preset references left over from copy-and-paste > errors. > > Signed-off-by: Hans Verkuil > Cc: Prabhakar Lad Acked-by: Lad, Prabhakar Regards, --Prab

[PATCH v2] media: i.MX27 camera: fix picture source width

2013-02-16 Thread Christoph Fritz
While using a mt9m001 (monochrome) camera the final output falsely gets horizontally divided into two pictures. The issue was git bisected to commit f410991dcf1f | [media] i.MX27 camera: add support for YUV420 format | | This patch uses channel 2 of the eMMa-PrP to convert | format pro

[RFC PATCH 1/5] fsl-viu: convert to the control framework.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil Interestingly enough, the existing control handling code basically did nothing. At least the new code will inherit the controls from the saa7115 driver. Signed-off-by: Hans Verkuil --- drivers/media/platform/fsl-viu.c | 110 +- 1 file cha

[RFC PATCH 5/5] fsl-viu: add prio and control event support.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/platform/fsl-viu.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c index c7c1295..1d27f5a 100644 --- a/drivers/media

[RFC PATCH 4/5] fsl-viu: remove deprecated use of current_norm.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil It was pointless anyway since fsl-viu already implements g_std. Signed-off-by: Hans Verkuil --- drivers/media/platform/fsl-viu.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c ind

[RFC PATCH 3/5] fsl-viu: fill in colorspace, zero priv, always set field to interlaced.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil - fill in the missing colorspace value. - the priv field of v4l2_pix_format must be zeroed. - don't reject incorrect field values, always replace with a valid value. Signed-off-by: Hans Verkuil --- drivers/media/platform/fsl-viu.c | 16 +--- 1 file changed, 5 i

[RFC PATCH 2/5] fsl-viu: add device_caps support to querycap.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil Also fill in bus_info correctly. Signed-off-by: Hans Verkuil --- drivers/media/platform/fsl-viu.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c index 4a46819..1567878 100644 --- a

[RFC PATCH 0/5] fsl-viu: v4l2 compliance fixes

2013-02-16 Thread Hans Verkuil
This patch series converts fsl-viu to the control framework and provides some additional v4l2 compliance fixes. Anatolij, are you able to test this? Ideally I'd like to see the output of the v4l2-compliance tool (found in the http://git.linuxtv.org/v4l-utils.git repository). I know that there are

[RFC PATCH 16/18] v4l2 core: remove the obsolete dv_preset support.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil These ioctls are no longer used by any drivers, so remove them. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c |4 drivers/media/v4l2-core/v4l2-dev.c|4 drivers/media/v4l2-core/v4l2-ioctl.c | 27 ++--

[RFC PATCH 11/18] s5p-tv: remove dv_preset support from mixer_video.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil The dv_preset API is deprecated and is replaced by the much improved dv_timings API. Remove the dv_preset support from this driver as this will allow us to remove the dv_preset API altogether (s5p-tv being the last user of this code). Signed-off-by: Hans Verkuil Cc: Tomasz St

[RFC PATCH 07/18] blackfin: replace V4L2_IN/OUT_CAP_CUSTOM_TIMINGS by DV_TIMINGS

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil The use of V4L2_IN/OUT_CAP_CUSTOM_TIMINGS is obsolete, use DV_TIMINGS instead. Note that V4L2_IN/OUT_CAP_CUSTOM_TIMINGS is just a #define for V4L2_IN/OUT_CAP_DV_TIMINGS. At some point in the future these CUSTOM_TIMINGS defines might be removed. Signed-off-by: Hans Verkuil Cc

[RFC PATCH 01/18] tvp7002: replace 'preset' by 'timings' in various structs/variables.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil This is the first step towards removing the deprecated preset support of this driver. Signed-off-by: Hans Verkuil Cc: Prabhakar Lad --- drivers/media/i2c/tvp7002.c | 90 +-- 1 file changed, 45 insertions(+), 45 deletions(-) diff --

[RFC PATCH 18/18] videodev2.h: remove obsolete DV_PRESET API.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil This API is now obsolete and can be removed. Signed-off-by: Hans Verkuil --- include/uapi/linux/videodev2.h | 54 1 file changed, 54 deletions(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 23

[RFC PATCH 02/18] tvp7002: use dv_timings structs instead of presets.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil In the functions tvp7002_mbus_fmt(), tvp7002_log_status and tvp7002_probe() we should use the dv_timings data structures instead of dv_preset data structures and functions. This is the second step towards removing the deprecated preset support of this driver. Signed-off-by: H

[RFC PATCH 17/18] DocBook/media/v4l: remove the documentation of the obsolete dv_preset API.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil This API is no longer used by any driver and so can be removed from the documentation. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/common.xml | 14 -- Documentation/DocBook/media/v4l/v4l2.xml |3 - .../DocBook/media/v4l/vidioc-enum

[RFC PATCH 06/18] davinci: replace V4L2_OUT_CAP_CUSTOM_TIMINGS by V4L2_OUT_CAP_DV_TIMINGS

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil The use of V4L2_OUT_CAP_CUSTOM_TIMINGS is deprecated, use DV_TIMINGS instead. Note that V4L2_OUT_CAP_CUSTOM_TIMINGS is just a #define for V4L2_OUT_CAP_DV_TIMINGS. At some point in the future these CUSTOM_TIMINGS defines might be removed. Signed-off-by: Hans Verkuil Cc: Prabh

[RFC PATCH 05/18] davinci: remove VPBE_ENC_DV_PRESET and rename VPBE_ENC_CUSTOM_TIMINGS

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil Remove VPBE_ENC_DV_PRESET (the DV_PRESET API is no longer supported) and VPBE_ENC_CUSTOM_TIMINGS is renamed to VPBE_ENC_DV_TIMINGS since the old "CUSTOM_TIMINGS" name is deprecated in favor of "DV_TIMINGS". Signed-off-by: Hans Verkuil Cc: Prabhakar Lad --- arch/arm/mach-dav

[RFC PATCH 12/18] s5p-tv: remove the dv_preset API from hdmi.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil The dv_preset API is deprecated and is replaced by the much improved dv_timings API. Remove the dv_preset support from this driver as this will allow us to remove the dv_preset API altogether (s5p-tv being the last user of this code). Signed-off-by: Hans Verkuil Cc: Tomasz St

[RFC PATCH 15/18] v4l2-subdev: remove obsolete dv_preset ops.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil These ops are no longer used, so it's time to remove them. Signed-off-by: Hans Verkuil --- include/media/v4l2-subdev.h | 16 1 file changed, 16 deletions(-) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index b137a5e..34ce1a2 1006

[RFC PATCH 14/18] v4l2-common: remove obsolete v4l_fill_dv_preset_info

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil It's no longer used, so it can now be removed. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-common.c | 47 - include/media/v4l2-common.h |1 - 2 files changed, 48 deletions(-) diff --git a/drivers/media/v4l2-co

[RFC PATCH 13/18] s5p-tv: remove the dv_preset API from hdmiphy.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil The dv_preset API is deprecated and is replaced by the much improved dv_timings API. Remove the dv_preset support from this driver as this will allow us to remove the dv_preset API altogether (s5p-tv being the last user of this code). Signed-off-by: Hans Verkuil Cc: Tomasz St

[RFC PATCH 09/18] s5p-tv: add dv_timings support for hdmi.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil This just adds dv_timings support without modifying existing dv_preset support. Signed-off-by: Hans Verkuil Cc: Tomasz Stanislawski Cc: Kyungmin Park --- drivers/media/platform/s5p-tv/hdmi_drv.c | 92 +- 1 file changed, 79 insertions(+), 13 de

[RFC PATCH 08/18] s5p-tv: add dv_timings support for mixer_video.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil This just adds dv_timings support without modifying existing dv_preset support. Signed-off-by: Hans Verkuil Cc: Tomasz Stanislawski Cc: Kyungmin Park --- drivers/media/platform/s5p-tv/mixer_video.c | 78 +++ 1 file changed, 78 insertions(+) diff

[RFC PATCH 10/18] s5p-tv: add dv_timings support for hdmiphy.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil This just adds dv_timings support without modifying existing dv_preset support, although I had to refactor a little bit in order to share hdmiphy_find_conf() between the preset and timings code. Signed-off-by: Hans Verkuil Cc: Tomasz Stanislawski Cc: Kyungmin Park --- driv

[RFC PATCH 04/18] davinci_vpfe: fix copy-paste errors in several comments.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil This removes some incorrect dv_preset references left over from copy-and-paste errors. Signed-off-by: Hans Verkuil Cc: Prabhakar Lad --- drivers/staging/media/davinci_vpfe/vpfe_video.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/driver

[RFC PATCH 00/18] Remove DV_PRESET API

2013-02-16 Thread Hans Verkuil
Hi all! This patch series removes the last remnants of the deprecated DV_PRESET API from the kernel: - remove the dv_preset ops from the tvp7002 driver: all bridge drivers that use this i2c driver have already been converted to the DV_TIMINGS API, so these ops are no longer used. Prabhakar, c

[RFC PATCH 03/18] tvp7002: remove dv_preset support.

2013-02-16 Thread Hans Verkuil
From: Hans Verkuil Finally remove the dv_preset support from this driver. Note that dv_preset support was already removed from any bridge drivers that use this i2c driver, so the dv_preset ops were no longer called and can be removed safely. Signed-off-by: Hans Verkuil Cc: Prabhakar Lad --- d