[PATCH 0/2] davinci: vpss: clock cleanup

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series cleanup's the VPSS clock enabling. The first patch removes vpss clock enabling from the capture drivers and moves it to the VPSS driver itself. The second patch moves the venc_enable_vpss_clock() to the driver which was being done

[PATCH 1/2] media: davinci: vpss: enable vpss clocks

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com By default the VPSS clocks are only enabled in capture driver for davinci family which creates duplicates. This patch adds support to enable the VPSS clocks in VPSS driver. This avoids duplication of code and also adding clock aliases. This patch

[PATCH 2/2] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com The vpss clocks were enabled by calling a exported function from a driver in a machine code. calling driver code from platform code is incorrect way. This patch fixes this issue and calls the function from driver code itself. Signed-off-by: Lad,

Re: media-tree build is broken

2013-03-22 Thread Mauro Carvalho Chehab
Em Thu, 21 Mar 2013 19:16:55 +0100 Frank Schäfer fschaefer@googlemail.com escreveu: ... Kernel: arch/x86/boot/bzImage is ready (#2) ERROR: __divdi3 [drivers/media/common/siano/smsdvb.ko] undefined! make[1]: *** [__modpost] Fehler 1 make: *** [modules] Fehler 2 Mauro, I assume this

Re: em28xx: commit aab3125c43d8fecc7134e5f1e729fabf4dd196da broke HVR 900

2013-03-22 Thread Hans Verkuil
Hi Mauro, I've attached the dumps: ok.txt is tested with commit aab3125c43d8fecc7134e5f1e729fabf4dd196da^ (i.e. the commit right before the failing commit). fail.txt is tested with commit aab3125c43d8fecc7134e5f1e729fabf4dd196da and fail-with-patch.txt is tested with the same commit + your i2c

Re: [REVIEW PATCH 11/41] af9035: basic support for IT9135 v2 chips

2013-03-22 Thread Mauro Carvalho Chehab
Em Fri, 22 Mar 2013 01:45:30 +0200 Antti Palosaari cr...@iki.fi escreveu: On 03/21/2013 11:54 PM, Mauro Carvalho Chehab wrote: Em Sun, 10 Mar 2013 04:03:03 +0200 Antti Palosaari cr...@iki.fi escreveu: static struct ite_config af9035_it913x_config = { - .chip_ver = 0x01, + .chip_ver

[GIT PULL FOR v3.10] v4l2: make arg of write-only ioctls const

2013-03-22 Thread Hans Verkuil
Hi Mauro, This is the second and last phase of ensuring that the arguments of write-only ioctls in V4L2 are const. The first phase was 4-5 months ago and added const to s_crop, s_modulator, s_audio, s_audout, (un)subscribe_event, s_freq_hw_seek, s_jpegcomp and s_fbuf. This second phase adds

Re: [PATCH -next] [media] dvb_usb_v2: make local function dvb_usb_v2_generic_io() static

2013-03-22 Thread Antti Palosaari
On 03/22/2013 05:17 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn dvb_usb_v2_generic_io() was not declared. It should be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Acked-by: Antti Palosaari cr...@iki.fi ---

Re: [REVIEW PATCH 11/41] af9035: basic support for IT9135 v2 chips

2013-03-22 Thread Antti Palosaari
On 03/22/2013 11:30 AM, Mauro Carvalho Chehab wrote: Em Fri, 22 Mar 2013 01:45:30 +0200 Antti Palosaari cr...@iki.fi escreveu: On 03/21/2013 11:54 PM, Mauro Carvalho Chehab wrote: Em Sun, 10 Mar 2013 04:03:03 +0200 Antti Palosaari cr...@iki.fi escreveu: static struct ite_config

[PATCH] [media] hdpvr: vidioc_g_fmt_vid_cap should not fail

2013-03-22 Thread Leonid Kegulskiy
Fixed get_video_info() function that used to return NULL if video source is not present, subsequently causing vidioc_g_fmt_vid_cap to fail. Originally issue reported here: http://www.spinics.net/lists/linux-media/msg54246.html Signed-off-by: Leonid Kegulskiy l...@lumanate.com ---

Re: [GIT PULL FOR v3.10] v4l2: make arg of write-only ioctls const

2013-03-22 Thread Hans Verkuil
On Fri March 22 2013 11:35:17 Hans Verkuil wrote: Hi Mauro, This is the second and last phase of ensuring that the arguments of write-only ioctls in V4L2 are const. The first phase was 4-5 months ago and added const to s_crop, s_modulator, s_audio, s_audout, (un)subscribe_event,

[GIT PULL FOR v3.10] v4l2: make arg of write-only ioctls const

2013-03-22 Thread Hans Verkuil
Hi Mauro, This is the second and last phase of ensuring that the arguments of write-only ioctls in V4L2 are const. The first phase was 4-5 months ago and added const to s_crop, s_modulator, s_audio, s_audout, (un)subscribe_event, s_freq_hw_seek, s_jpegcomp and s_fbuf. This second phase adds

Re: [PATCH] [media] hdpvr: vidioc_g_fmt_vid_cap should not fail

2013-03-22 Thread Hans Verkuil
On Fri March 22 2013 11:59:05 Leonid Kegulskiy wrote: Fixed get_video_info() function that used to return NULL if video source is not present, subsequently causing vidioc_g_fmt_vid_cap to fail. Originally issue reported here: http://www.spinics.net/lists/linux-media/msg54246.html Nacked-by:

Re: media-tree build is broken

2013-03-22 Thread Gianluca Gennari
Il 22/03/2013 10:25, Mauro Carvalho Chehab ha scritto: Em Thu, 21 Mar 2013 19:16:55 +0100 Frank Schäfer fschaefer@googlemail.com escreveu: ... Kernel: arch/x86/boot/bzImage is ready (#2) ERROR: __divdi3 [drivers/media/common/siano/smsdvb.ko] undefined! make[1]: *** [__modpost] Fehler

[GIT PULL FOR v3.10] solo6x10 driver overhaul

2013-03-22 Thread Hans Verkuil
Hi Mauro, This is my solo6x10 driver overhaul. It is identical to: http://www.mail-archive.com/linux-media@vger.kernel.org/msg59864.html but rebased on top of my const changes (http://patchwork.linuxtv.org/patch/17568/) and with the source/header rename patches. This patch series syncs the

Re: media-tree build is broken

2013-03-22 Thread Mauro Carvalho Chehab
Em Fri, 22 Mar 2013 12:35:19 +0100 Gianluca Gennari gennar...@gmail.com escreveu: Il 22/03/2013 10:25, Mauro Carvalho Chehab ha scritto: Em Thu, 21 Mar 2013 19:16:55 +0100 Frank Schäfer fschaefer@googlemail.com escreveu: ... Kernel: arch/x86/boot/bzImage is ready (#2) ERROR:

Re: [PATCH] net: add ETH_P_802_3_MIN

2013-03-22 Thread Simon Horman
On Thu, Mar 21, 2013 at 11:56:08AM -0400, David Miller wrote: From: Simon Horman ho...@verge.net.au Date: Thu, 21 Mar 2013 17:29:28 +0900 Add a new constant ETH_P_802_3_MIN, the minimum ethernet type for an 802.3 frame. Frames with a lower value in the ethernet type field are Ethernet

[PATCH] em28xx: tuner setup is broken after algo_data change.

2013-03-22 Thread Hans Verkuil
Commit aab3125c43d8fecc7134e5f1e729fabf4dd196da broke em28xx. I traced this eventually to the change in what algo_data points to. This pointer is also passed to em28xx_tuner_callback() through several hidden tuner layers (yuck!) and that callback was not updated. Signed-off-by: Hans Verkuil

Re: [PATCH 0/4] media: si4713: minor updates

2013-03-22 Thread Hans Verkuil
On Thu March 21 2013 19:46:03 edubez...@gmail.com wrote: Hans, snip Are you still able to test the si4713 driver? Because I have patches I see. In fact that is my next step on my todo list for si4713. I still have an n900 that I can fetch from my drobe, so just a matter of

[GIT PULL FOR v3.10] go7007 driver overhaul

2013-03-22 Thread Hans Verkuil
Hi all, This pull request updates the staging go7007 driver to the latest V4L2 frameworks and actually makes it work reliably. This pull request assumes that pull request http://patchwork.linuxtv.org/patch/17568/ was merged first. Some highlights: - moved the custom i2c drivers to media/i2c. -

[PATCH 3/3] [media] m5602_ov7660: return error at ov7660_init()

2013-03-22 Thread Mauro Carvalho Chehab
It used to be a code that returns arror at ov7660_init. However, this was removed by changeset c84e412f: @@ -231,33 +116,40 @@ int ov7660_init(struct sd *sd) if (dump_sensor) ov7660_dump_registers(sd); - err = ov7660_set_gain(sd-gspca_dev, sensor_settings[GAIN_IDX]); -

[PATCH 1/3] [media] drxk: fix CNR calculus

2013-03-22 Thread Mauro Carvalho Chehab
Changeset 8f3741e accidentally broke the CNR estimation. It should be calculated as a + b - c. However, previously, the subtraction by c only occurred if SNR would be positive, due to a bad binding to DVBv3 API. This also fixes the following warning:

[PATCH 2/3] [media] siano: remove the ir protocol field

2013-03-22 Thread Mauro Carvalho Chehab
This field is unused. Remove it. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/common/siano/smsir.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/common/siano/smsir.h b/drivers/media/common/siano/smsir.h index 69b59b9..fc8b792 100644 ---

[PATCH] [media] em28xx: Only change I2C bus inside em28xx-i2c

2013-03-22 Thread Mauro Carvalho Chehab
There's currently a bug on em28xx-i2c that makes it write the wrong values to register 06, that controlls the I2C bus speed and bus. Fix it to change only the I2C bus flag. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/usb/em28xx/em28xx-i2c.c | 8 +--- 1 file

[GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-22 Thread Hans Verkuil
Hi all, This pull request converts the au0828/au8522 drivers to the latest frameworks, except for vb2 as usual. Tested with a WinTV aero generously donated by Hauppauge some time ago. I also did a lot of fixes in the disconnect handling and setting up the right routing/std information at the

Re: [PATCH 0/4] media: si4713: minor updates

2013-03-22 Thread edubez...@gmail.com
Hello Hans, On Fri, Mar 22, 2013 at 10:04 AM, Hans Verkuil hverk...@xs4all.nl wrote: snip # on your branch on the other hand I get a NULL pointer: I've fixed that (v4l2_dev was never initialized), and I've also rebased my tree to the latest code. Can you try again? This time I get a

Re: [GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-22 Thread Hans Verkuil
On Fri March 22 2013 17:22:24 Hans Verkuil wrote: Hi all, This pull request converts the au0828/au8522 drivers to the latest frameworks, except for vb2 as usual. Tested with a WinTV aero generously donated by Hauppauge some time ago. I also did a lot of fixes in the disconnect handling

[GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-22 Thread Hans Verkuil
Hi all, This pull request converts the au0828/au8522 drivers to the latest frameworks, except for vb2 as usual. Tested with a WinTV aero generously donated by Hauppauge some time ago. I also did a lot of fixes in the disconnect handling and setting up the right routing/std information at the

Re: [PATCH 0/4] media: si4713: minor updates

2013-03-22 Thread Hans Verkuil
On Fri March 22 2013 17:26:57 edubez...@gmail.com wrote: Hello Hans, On Fri, Mar 22, 2013 at 10:04 AM, Hans Verkuil hverk...@xs4all.nl wrote: snip # on your branch on the other hand I get a NULL pointer: I've fixed that (v4l2_dev was never initialized), and I've also rebased my

Re: [PATCH 0/4] media: si4713: minor updates

2013-03-22 Thread edubez...@gmail.com
Hans, On Fri, Mar 22, 2013 at 12:45 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Fri March 22 2013 17:26:57 edubez...@gmail.com wrote: Hello Hans, On Fri, Mar 22, 2013 at 10:04 AM, Hans Verkuil hverk...@xs4all.nl wrote: snip # on your branch on the other hand I get a NULL pointer:

Re: [PATCH 0/4] media: si4713: minor updates

2013-03-22 Thread Hans Verkuil
On Fri March 22 2013 17:59:00 edubez...@gmail.com wrote: Hans, On Fri, Mar 22, 2013 at 12:45 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Fri March 22 2013 17:26:57 edubez...@gmail.com wrote: Hello Hans, On Fri, Mar 22, 2013 at 10:04 AM, Hans Verkuil hverk...@xs4all.nl wrote: snip

Fwd: [SE-2011-01] PoC code for digital SAT TV research released

2013-03-22 Thread Antti Palosaari
Could be interesting reading for DTV hackers! regards Antti Original Message Subject: [SE-2011-01] PoC code for digital SAT TV research released Date: Thu, 21 Mar 2013 14:30:41 +0100 From: Security Explorations cont...@security-explorations.com To:

Re: [GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-22 Thread Devin Heitmueller
On Fri, Mar 22, 2013 at 12:38 PM, Hans Verkuil hverk...@xs4all.nl wrote: It works fine with qv4l2, but there is still a bug causing tvtime to fail. That's caused by commit e58071f024aa337b7ce41682578b33895b024f8b, applied August last year, that broke g_tuner: after that 'signal' would always be

Re: [GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-22 Thread Devin Heitmueller
On Fri, Mar 22, 2013 at 12:38 PM, Hans Verkuil hverk...@xs4all.nl wrote: It works fine with qv4l2, but there is still a bug causing tvtime to fail. That's caused by commit e58071f024aa337b7ce41682578b33895b024f8b, applied August last year, that broke g_tuner: after that 'signal' would always be

cron job: media_tree daily build: ERRORS

2013-03-22 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: Fri Mar 22 19:00:27 CET 2013 git branch: test git hash: bc3d292803409ce44febffb8e6839faae6e768fb gcc