[GIT PULL FOR v4.2] Various fixes

2015-05-17 Thread Hans Verkuil
The following changes since commit 0fae1997f09796aca8ada5edc028aef587f6716c: [media] dib0700: avoid the risk of forgetting to add the adapter's size (2015-05-14 19:31:34 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v4.2h for you to fetch chan

Re: [PATCH] DocBook: fix vidioc-qbuf.xml doc validation

2015-05-17 Thread Hans Verkuil
Duplicate of http://www.spinics.net/lists/linux-media/msg89715.html Just posted the pull request containing that patch. I noticed the same problem on Friday :-) Regards, Hans On 05/17/2015 04:14 AM, Antti Palosaari wrote: > element varlistentry: validity error : Element varlistentry co

[PATCH] vivid: SDR cap add 'CU08' Complex U8 format

2015-05-17 Thread Antti Palosaari
Add complex unsigned 8-bit sample format for SDR capture. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/platform/vivid/vivid-core.c| 7 +- drivers/media/platform/vivid/vivid-core.h| 2 + drivers/media/platform/vivid/vivid-sdr-cap.c | 96

[PATCH] v4l2: correct two SDR format names

2015-05-17 Thread Antti Palosaari
U8 and U16LE format human readable names were translated with string containing emulated word. These strings were taken from msi2500 driver, where those formats were emulated (after module parameter is set). But on API correct names should be used, without any special case notes. Cc: Hans Verkuil

Re: rtl28xx Leadtek

2015-05-17 Thread Vincent McIntyre
On Sat, May 16, 2015 at 04:37:47PM +1000, Eyal Lebedinsky wrote: > On 16/05/15 13:23, Vincent McIntyre wrote: > >Hi, > > > >I have been trying to get support going for a > >Leadtek WinFast DTV2000DS Plus (usbid 0413:6f12) > > In case it matters here, I have these cards and am using the driver > bu

Re: [RFC PATCH 1/4] v4l2-dv-timings: Add interlace support in detect cvt/gtf

2015-05-17 Thread Prashant Laddha (prladdha)
Thanks for reviewing Hans. My answer below - On 15/05/15 3:28 pm, "Hans Verkuil" wrote: >Hi Prashant, > >Sorry for the very late review, I finally have time today to go through >my pending patches. > >I have one question, see below: > > >> @@ -539,9 +555,11 @@ bool v4l2_detect_gtf(unsigned frame

[PATCH] Clarify expression which uses both multiplication and pointer dereference

2015-05-17 Thread Alex Dowad
This fixes a checkpatch style error in vpfe_buffer_queue_setup. Signed-off-by: Alex Dowad --- drivers/staging/media/davinci_vpfe/vpfe_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c b/drivers/staging/media/davinci_vpfe/

Re: [PATCH] Clarify expression which uses both multiplication and pointer dereference

2015-05-17 Thread Laurent Pinchart
Hi Alex, Thank you for the patch. On Sunday 17 May 2015 19:18:42 Alex Dowad wrote: > This fixes a checkpatch style error in vpfe_buffer_queue_setup. > > Signed-off-by: Alex Dowad Acked-by: Laurent Pinchart > --- > drivers/staging/media/davinci_vpfe/vpfe_video.c | 2 +- > 1 file changed, 1 i

Re: [PATCH] Clarify expression which uses both multiplication and pointer dereference

2015-05-17 Thread Joe Perches
On Sun, 2015-05-17 at 19:18 +0200, Alex Dowad wrote: > This fixes a checkpatch style error in vpfe_buffer_queue_setup. There is no checkpatch message for this style. Nor should there be. > diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c > b/drivers/staging/media/davinci_vpfe/vpfe_v

cron job: media_tree daily build: ERRORS

2015-05-17 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: Mon May 18 04:00:14 CEST 2015 git branch: test git hash: 0fae1997f09796aca8ada5edc028aef587f6716c gcc versi

[PATCH 1/8] m88ds3103: do not return error from get_frontend() when not ready

2015-05-17 Thread Antti Palosaari
Do not return error from get_frontend() when status is queried, but device is not ready. dvbv5-zap has habit to call that IOCTL before device is tuned and it also refuses to use DVBv5 statistic after that... Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 2 +- 1 fil

[PATCH 6/8] m88ds3103: use jiffies when polling DiSEqC TX ready

2015-05-17 Thread Antti Palosaari
Use jiffies to set timeout for DiSEqC TX ready polling. Using jiffies is more elegant solution than looping N times with sleep. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 53 + 1 file changed, 34 insertions(+), 19 deletions(-) di

[PATCH 5/8] m88ds3103: wrap legacy DVBv3 BER to DVBv5 BER

2015-05-17 Thread Antti Palosaari
Use DVBv5 BER logic to calculate DVBv3 BER too. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 77 ++-- drivers/media/dvb-frontends/m88ds3103_priv.h | 2 +- 2 files changed, 4 insertions(+), 75 deletions(-) diff --git a/drivers/media/d

[PATCH 2/8] m88ds3103: implement DVBv5 CNR statistics

2015-05-17 Thread Antti Palosaari
Implement DVBv5 CNR statistics. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 80 - 1 file changed, 78 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c ind

[PATCH 4/8] m88ds3103: implement DVBv5 BER

2015-05-17 Thread Antti Palosaari
Implement DVBv5 BER statistics. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 88 drivers/media/dvb-frontends/m88ds3103_priv.h | 2 + 2 files changed, 90 insertions(+) diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drive

[PATCH 3/8] m88ds3103: wrap legacy DVBv3 SNR to DVBv5 CNR

2015-05-17 Thread Antti Palosaari
Use DVBv5 CNR logic to calculate DVBv3 SNR too. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 74 ++--- 1 file changed, 4 insertions(+), 70 deletions(-) diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends

[PATCH 7/8] m88ds3103: add I2C client binding

2015-05-17 Thread Antti Palosaari
Implement I2C client device binding. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 159 +++ drivers/media/dvb-frontends/m88ds3103.h | 51 + drivers/media/dvb-frontends/m88ds3103_priv.h | 2 + 3 files changed, 212 inserti

[PATCH 8/8] m88ds3103: wrap media attach to driver I2C probe

2015-05-17 Thread Antti Palosaari
Add wrapper from m88ds3103_attach() to m88ds3103_probe() via driver core in order to provide proper I2C client for legacy media attach binding. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/m88ds3103.c | 129 +--- drivers/media/dvb-frontends/m88ds3103

[GIT PULL FOR v4.2] Add cobalt driver

2015-05-17 Thread Hans Verkuil
Unchanged (except for rebasing) to: http://www.spinics.net/lists/linux-media/msg89635.html See the same link for the background info for this driver. Regards, Hans The following changes since commit 0fae1997f09796aca8ada5edc028aef587f6716c: [media] dib0700: avoid the risk of forgett

Re: [PATCH] Clarify expression which uses both multiplication and pointer dereference

2015-05-17 Thread Michal Kubecek
On Sun, May 17, 2015 at 07:18:42PM +0200, Alex Dowad wrote: > This fixes a checkpatch style error in vpfe_buffer_queue_setup. > > Signed-off-by: Alex Dowad > --- > drivers/staging/media/davinci_vpfe/vpfe_video.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/st