Re: [PATCH, RFC] Fix DVB ioctls failing if frontend open/closed too fast

2012-08-11 Thread Devin Heitmueller
On Sat, Aug 11, 2012 at 10:15 PM, Mauro Carvalho Chehab wrote: > Devin/Antti, > > As Juergen mentioned your help on this patch, do you mind helping reviewing > and testing it? I guided Juergen through the creation of the patch via #linuxtv a couple of weeks ago. While I'm generally confident tha

Fwd: [PATCH, RFC] Fix DVB ioctls failing if frontend open/closed too fast

2012-08-11 Thread Mauro Carvalho Chehab
Devin/Antti, As Juergen mentioned your help on this patch, do you mind helping reviewing and testing it? Touching on those semaphores can be very tricky, as anything wrong may cause a driver hangup. So, it is great to have more pair of eyes looking on it. While I didn't test the code (too busy t

Re: [PATCH 1/3] [media] adv7180: remove {query/g_/s_}ctrl

2012-08-11 Thread Mauro Carvalho Chehab
Em 31-07-2012 17:20, Federico Vaga escreveu: > I'm sorry for the email duplication, I press the wrong key on git-send email. > Ignore these emails. Sorry > Ok, I'll mark those patches as "RFC" per your request. Regards, mauro -- To unsubscribe from this list: send the line "unsubscribe linux-med

Re: Q: c->bandwidth_hz = (c->symbol_rate * rolloff) / 100

2012-08-11 Thread Mauro Carvalho Chehab
Hi Antti, Em 11-08-2012 21:22, Antti Palosaari escreveu: > Hellou > > I saw there is nowadays logic in dvb-frontend which calculates bandwidth_hz > value in cache. Calculation formula seems to be correct. But that makes me > wonder if that is wise as it gives occupied bandwidth instead of nomin

Re: HVR 1600 - Analog goes south again

2012-08-11 Thread Andy Walls
On Sat, 2012-08-11 at 19:22 -0400, Andy Walls wrote: > On Fri, 2012-08-10 at 18:04 -0400, Bob Lightfoot wrote: > > Dear Media List Members: > > I have been using my Hauppage HVR1600 on Centos 6 for some time > > and getting good analog reception. Now the other day for a reason I > > have not b

Re: [PATCH] [media] iguanair: various fixes

2012-08-11 Thread Mauro Carvalho Chehab
Em 31-07-2012 07:37, Sean Young escreveu: > This fixes: > - rx_overflow while holding down any down button on a nec remote > - suspend/resume > - stop receiver on rmmod > - advertise rx_resolution and timeout properly > - code simplify > - ignore unsupported firmware versions Please don't mi

Q: c->bandwidth_hz = (c->symbol_rate * rolloff) / 100

2012-08-11 Thread Antti Palosaari
Hellou I saw there is nowadays logic in dvb-frontend which calculates bandwidth_hz value in cache. Calculation formula seems to be correct. But that makes me wonder if that is wise as it gives occupied bandwidth instead of nominal. For example I have typical DVB-C annex A, 8 MHz bandwidth, sy

Re: boot slow down

2012-08-11 Thread Andy Walls
On Wed, 2012-08-08 at 13:18 -0400, bjloc...@lockie.ca wrote: > How hard would it be to get an official kernel option not to load firmware Submit a patch for the cx23885 driver to the list. It could add a module option so the user can specify not to load cx23885-av firmware (and maybe CX23417 firm

Re: [PATCH] DVB-S2 multistream support

2012-08-11 Thread Antti Palosaari
On 08/12/2012 01:55 AM, CrazyCat wrote: Fixed patch. We asked you to merge isdbs_ts_id, dvbt2_plp_id and dvbs2_mis_id to one as those are logically same thing from the user-point of view. Technically those differs, but that is userspace API so underlying technique should not matter. It is

Re: HVR 1600 - Analog goes south again

2012-08-11 Thread Andy Walls
On Fri, 2012-08-10 at 18:04 -0400, Bob Lightfoot wrote: > Dear Media List Members: > I have been using my Hauppage HVR1600 on Centos 6 for some time > and getting good analog reception. Now the other day for a reason I > have not been able to determine the Analog quit working and I have not >

Re: [PATCH] DVB-S2 multistream support

2012-08-11 Thread CrazyCat
Fixed patch. Signed-off-by: Evgeny Plehov diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index aebcdf2..7813165 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -948,6 +948,7 @@ static in

Re: [PATCH]Omicom S2 PCI support

2012-08-11 Thread CrazyCat
Ok, fixed patch. Signed-off-by: Evgeny Plehov diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c index b21bcce..7e6e43a 100644 --- a/drivers/media/dvb/ttpci/budget.c +++ b/drivers/media/dvb/ttpci/budget.c @@ -50,6 +50,8 @@ #include "stv6110x.h" #include "stv090x.h"

Re: [PATCH 0/1] S3C244X/S3C64XX SoC camera host interface driver

2012-08-11 Thread Tomasz Figa
On Saturday 11 of August 2012 21:32:15 Sylwester Nawrocki wrote: > On 08/11/2012 08:39 PM, Tomasz Figa wrote: > > Hi, > > > > On Saturday 11 of August 2012 20:06:13 Sylwester Nawrocki wrote: > >> Hi all, > >> > >> This patch adds a driver for Samsung S3C244X/S3C64XX SoC series camera > >> host in

cron job: media_tree daily build: WARNINGS

2012-08-11 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 Aug 11 19:00:28 CEST 2012 git hash:1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83 gcc version: i686-linux-gcc (GC

Re: [PATCH 1/6] [media] iguanair: Fix return value on transmit

2012-08-11 Thread Sean Young
On Fri, Aug 10, 2012 at 08:28:03PM +0100, Sean Young wrote: > Transmit returned 0 after sending and failed to send anything if the amount > exceeded its buffer size. Also fix some minor errors. > > Signed-off-by: Sean Young I'm sorry, this patch series wasn't diffed against the right tree, so it

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Rob Clark
On Sat, Aug 11, 2012 at 2:22 PM, Daniel Vetter wrote: >> >> + >> >> +/** >> >> + * dma_fence_wait - wait for a fence to be signaled >> >> + * >> >> + * @fence: [in]The fence to wait on >> >> + * @intr:[in]if true, do an interruptible wait >> >> + * @timeout: [in]absolute time for

Re: [PATCH] [media] nec-decoder: fix NEC decoding for Pioneer Laserdisc CU-700 remote

2012-08-11 Thread Mauro Carvalho Chehab
Em 31-07-2012 07:37, Sean Young escreveu: > This remote sends a header pulse of 8150us followed by a space of 4000us. > Signed-off-by: Sean Young > --- > drivers/media/rc/ir-nec-decoder.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/rc/ir-nec-deco

Re: [PATCH] [media] winbond-cir: Fix initialization

2012-08-11 Thread Mauro Carvalho Chehab
Hi David, Em 31-07-2012 07:37, Sean Young escreveu: > The serial driver will detect the winbond cir device as a serial port, > since it looks exactly like a serial port unless you know what it is > from the PNP ID. > > Winbond CIR 00:04: Region 0x2f8-0x2ff already in use! > Winbond CIR 00:04: dis

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 06:00:46PM +0200, Maarten Lankhorst wrote: > Op 11-08-12 17:14, Rob Clark schreef: > > On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: > >>> +/** > >>> + * dma_fence_signal - signal completion of a fence > >>> + * @fence: the fence to signal > >>> + * > >>> + * All re

Re: [PATCH 0/1] S3C244X/S3C64XX SoC camera host interface driver

2012-08-11 Thread Sylwester Nawrocki
On 08/11/2012 08:39 PM, Tomasz Figa wrote: > Hi, > > On Saturday 11 of August 2012 20:06:13 Sylwester Nawrocki wrote: >> Hi all, >> >> This patch adds a driver for Samsung S3C244X/S3C64XX SoC series camera >> host interface. My intention was to create a V4L2 driver that would work >> with standard

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 10:14:40AM -0500, Rob Clark wrote: > On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: > > On Fri, Aug 10, 2012 at 04:57:52PM +0200, Maarten Lankhorst wrote: > >> + > >> + if (!ret) { > >> + cb->base.flags = 0; > >> + cb->base.func = __dma_fe

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

2012-08-11 Thread Mauro Carvalho Chehab
Em 06-08-2012 06:36, Prabhakar Lad escreveu: > Hi Mauro, > > Sorry, the subject of course should have been "GIT PULL FOR v3.7" Hi Prabhakar, Please only send patches for the API together with the drivers that require it, e. g. with dm365 patches. Thanks! Mauro > > Thx, > --Prabhakar > > On M

Re: [PATCH 0/1] S3C244X/S3C64XX SoC camera host interface driver

2012-08-11 Thread Tomasz Figa
Hi, On Saturday 11 of August 2012 20:06:13 Sylwester Nawrocki wrote: > Hi all, > > This patch adds a driver for Samsung S3C244X/S3C64XX SoC series camera > host interface. My intention was to create a V4L2 driver that would work > with standard applications like Gstreamer or mplayer, and yet expo

[PATCH 0/2] media: Replace easycap driver with stk1160

2012-08-11 Thread Ezequiel Garcia
Hi! Here's the stk1160 inclusion patch, splitted as two patches (easycap removal and stk1160 add) as requested by Mauro. I'd like to thanks Hans, Sylwester, Takashi and Mauro (and everyone else) for their reviewing and their help. Regards, Ezequiel. Ezequiel Garcia (2): staging: media: Remove

[PATCH 0/1] S3C244X/S3C64XX SoC camera host interface driver

2012-08-11 Thread Sylwester Nawrocki
Hi all, This patch adds a driver for Samsung S3C244X/S3C64XX SoC series camera host interface. My intention was to create a V4L2 driver that would work with standard applications like Gstreamer or mplayer, and yet exposing possibly all features available in the hardware. It took me several wee

Re: [Linaro-mm-sig] [PATCH 3/4] dma-seqno-fence: Hardware dma-buf implementation of fencing (v2)

2012-08-11 Thread Maarten Lankhorst
Op 10-08-12 21:57, Daniel Vetter schreef: > On Fri, Aug 10, 2012 at 04:57:58PM +0200, Maarten Lankhorst wrote: >> This type of fence can be used with hardware synchronization for simple >> hardware that can block execution until the condition >> (dma_buf[offset] - value) >= 0 has been met. >> >> A

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Maarten Lankhorst
Hey, Op 11-08-12 17:14, Rob Clark schreef: > On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: >> On Fri, Aug 10, 2012 at 04:57:52PM +0200, Maarten Lankhorst 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 w

Re: boot slow down

2012-08-11 Thread Sakari Ailus
On Wed, Aug 08, 2012 at 01:18:33PM -0400, bjloc...@lockie.ca wrote: > > How hard would it be to get an official kernel option not to load firmware > OR be able to set the timeout? I think the right solution is that the failure of the user space program that is expected to load the firmware is con

Re: [Linaro-mm-sig] [PATCH 1/4] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-08-11 Thread Rob Clark
On Fri, Aug 10, 2012 at 2:32 PM, Daniel Vetter wrote: > On Fri, Aug 10, 2012 at 04:57:43PM +0200, Maarten Lankhorst wrote: >> Documentation says that code requiring dma-buf should add it to >> select, so inline fallbacks are not going to be used. A link error >> will make it obvious what went wron

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Rob Clark
On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: > On Fri, Aug 10, 2012 at 04:57:52PM +0200, Maarten Lankhorst 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

[PATCH 2/4] radio-shark*: Call cancel_work_sync from disconnect rather then release

2012-08-11 Thread Hans de Goede
This removes the need for shark_led_work to take the v4l2 lock. Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 13 ++--- drivers/media/radio/radio-shark2.c | 12 ++-- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/drivers/media/radio/radio-

[PATCH 0/4] radio-shark*: Only compile led support when CONFIG_LED_CLA

2012-08-11 Thread Hans de Goede
Hi All, Here is the second revision of my patch-set to fix the build breakage when the radio-shark* drivers are enabled and CONFIG_LED_CLASS is not enabled. This new version introduces 2 new cleanup / preparation patches, and take into account the remarks from Mauro's review of v1. Regards, Han

[PATCH 3/4] radio-shark: Only compile led support when CONFIG_LED_CLASS is set

2012-08-11 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 135 ++ 1 file changed, 79 insertions(+), 56 deletions(-) diff --git a/drivers/media/radio/radio-shark.c b/drivers/media/radio/radio-shark.c index 05e12bf..e1970bf 100644 --- a/drivers/media

[PATCH 4/4] radio-shark2: Only compile led support when CONFIG_LED_CLASS is set

2012-08-11 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark2.c | 122 ++--- 1 file changed, 73 insertions(+), 49 deletions(-) diff --git a/drivers/media/radio/radio-shark2.c b/drivers/media/radio/radio-shark2.c index 217483c..7b4efdf 100644 --- a/drivers/med

[PATCH 1/4] radio-shark*: Remove work-around for dangling pointer in usb intfdata

2012-08-11 Thread Hans de Goede
Recent kernels properly clear the usb intfdata pointer when another driver fails to bind (in the radio-shark* case the usbhid driver would try to bind first. Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 9 - drivers/media/radio/radio-shark2.c | 9 - 2 fil

Re: [PATCH 1/2] radio-shark: Only compile led support when CONFIG_LED_CLASS is set

2012-08-11 Thread Hans de Goede
Hi, On 08/10/2012 10:15 PM, Mauro Carvalho Chehab wrote: Em 10-08-2012 16:58, Hans de Goede escreveu: Reported-by: Dadiv Rientjes Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git