cron job: media_tree daily build: ERRORS

2014-07-04 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 Jul 5 04:00:25 CEST 2014 git branch: test git hash: ff792c85e60727e66774eb3da8129298690eab0c gcc versi

[PATCH] [media] davinci-vpfe: Fix retcode check

2014-07-04 Thread Andrey Utkin
See https://bugzilla.kernel.org/show_bug.cgi?id=69071 ---8<--- Use signed type to check correctly for negative error code Reported-by: David Binderman Signed-off-by: Andrey Utkin --- drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[[PATCH v2] 01/14] dib8000: Fix handling of interleave bigger than 2

2014-07-04 Thread Mauro Carvalho Chehab
If interleave is bigger than 2, the code will set it to 0, as dib8000 registers use a log2(). So, change the code to handle it accordingly. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dri

[[PATCH v2] 04/14] dib8000: Fix: add missing 4K mode

2014-07-04 Thread Mauro Carvalho Chehab
Without that, tuning may fail on 4K modes, as the transmission parameter cache will be initialized with a wrong value. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/dvb-frontends/dib8000.c b/dr

UVC driver produce decreasing timestamp

2014-07-04 Thread Nicolas Dufresne
Hello, I've been trying to solve some timestamp issues with v4l2 in GStreamer and tracked down the problem to be the uvc driver giving back non-monotonic (sometimes decreasing) timestamp. Here's some traces I have captured. It shows the TS as computed by uvc_video_clock_update(). Notice that befor

[[PATCH v2] 08/14] dib0700: better document struct init

2014-07-04 Thread Mauro Carvalho Chehab
Instead of using anonymous initialization for dib0896 structs, identify each field by name. That helps to understand what's being initialized. No functional changes. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb/dib0700_devices.c | 148 +++- 1 file c

[[PATCH v2] 13/14] dib8000: improve debug messages

2014-07-04 Thread Mauro Carvalho Chehab
When debug is enabled: - Report when frontend gets restarted; - Be coherent on the displayed lines; - Show the transmission mode; - Hide unused layers. No functional changes (except at the printk's). Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-fron

[[PATCH v2] 05/14] dib8000: remove a double call for dib8000_get_symbol_duration()

2014-07-04 Thread Mauro Carvalho Chehab
The symbol duration was already obtained at CT_DEMOD_START. No need to do it again at CT_DEMOD_STEP_3. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-fron

[[PATCH v2] 09/14] dib8000: Fix the sleep time at the state machine

2014-07-04 Thread Mauro Carvalho Chehab
msleep() is not too precise: its precision depends on the HZ config. As the driver selects precise timings for the state machine, change it to usleep_range(). Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 15 --- 1 file changed, 12 insertions(+), 3

[[PATCH v2] 07/14] dib8000: Restart sad during dib8000_reset

2014-07-04 Thread Mauro Carvalho Chehab
Just like the Windows driver, restart SAD during reset Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c index c81808d9b4d5..e4da545680b

[[PATCH v2] 00/14] Fix ISDB-T tuning issues

2014-07-04 Thread Mauro Carvalho Chehab
While testing two dvb devices: - Mygica S870 (dib8096 based); - Pixelview PV-D231U (RN-F) I noticed several bugs: - It doesn't lock on any layer with Interleave > 2; - It doesn't lock in mode 2 (4 K FFT); - ADC OFF settings is wrong, with causes wrong ADC adjustments and cause lo

[[PATCH v2] 06/14] dib8000: In auto-search, try first with partial reception enabled

2014-07-04 Thread Mauro Carvalho Chehab
TV broadcasters generally use partial reception. So, enable it by default in auto-search mode. The driver will latter detect if the transmission is on some other mode. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 3 +++ 1 file changed, 3 insertions(+) diff --

[[PATCH v2] 12/14] dib8000: Update the ADC gain table

2014-07-04 Thread Mauro Carvalho Chehab
This table doesn't match the new one. Update it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c index

[[PATCH v2] 02/14] dib8000: Fix ADC OFF settings

2014-07-04 Thread Mauro Carvalho Chehab
The ADC OFF values are wrong. This causes troubles on detecting weak signals. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontend

[[PATCH v2] 03/14] dib8000: Fix alignments at dib8000_tune()

2014-07-04 Thread Mauro Carvalho Chehab
There are two tabs instead of one aligning this struct. Worse than that, on some places, the alignment is wrong. Fix it. No functional changes. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 486 +- 1 file changed, 243 insertions

[[PATCH v2] 14/14] dib8000: improve the message that reports per-layer locks

2014-07-04 Thread Mauro Carvalho Chehab
The message is currently highly encoded: [70299.863521] DiB8000: Mpeg locks [ L0 : 0 | L1 : 1 | L2 : 0 ] And doesn't properly reflect that some problems might have happened. Instead, display it as: [75160.822321] DiB8000: Not all ISDB-T layers locked in 32 ms: Layer A NOT LOCKED,

[[PATCH v2] 10/14] dib0090: Fix the sleep time at the state machine

2014-07-04 Thread Mauro Carvalho Chehab
msleep() is not too precise: its precision depends on the HZ config. As the driver selects precise timings for the state machine, change it to usleep_range(). Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib0090.c | 15 --- 1 file changed, 12 insertions(+), 3

[[PATCH v2] 11/14] dib8000: use jifies instead of current_kernel_time()

2014-07-04 Thread Mauro Carvalho Chehab
Instead of doing the tuning delays and timeouts using current_kernel_time(), use jiffies. That consumes less CPU cycles, and it is monotonic. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 57 ++- 1 file changed, 30 insertions(+),

RE: No audio support in struct v4l2_subdev_format

2014-07-04 Thread Divneil Wadhawan
Hi Hans, > It should generate an initial SOURCE_CHANGE event with 'changes' set to > V4L2_EVENT_SRC_CH_RESOLUTION. That way the application that just subscribed > to this > event with V4L2_EVENT_SUB_FL_SEND_INITIAL will get an initial event. Just checked in 3.10 which I am using, this is for t

Re: [PATCH 00/11] OMAP3 ISP BT.656 support

2014-07-04 Thread Stefan Herbrechtsmeier
Hi Laurent, Am 01.07.2014 22:24, schrieb Laurent Pinchart: On Tuesday 24 June 2014 19:19:22 Stefan Herbrechtsmeier wrote: Am 24.06.2014 17:19, schrieb Enrico: On Tue, May 27, 2014 at 10:38 AM, Enrico wrote: On Mon, May 26, 2014 at 9:50 PM, Laurent Pinchart wrote: Hello, This patch sets imp

Re: No audio support in struct v4l2_subdev_format

2014-07-04 Thread Hans Verkuil
Hi Divneil, On 07/04/2014 12:24 PM, Divneil Wadhawan wrote: > > > Hi Hans, > > >> I don't understand the problem. When the application starts the first thing >> it should >> do is to call VIDIOC_QUERY_DV_TIMINGS: that will tell it if any signal is >> present. > > I guess dv timings will be

RE: No audio support in struct v4l2_subdev_format

2014-07-04 Thread Divneil Wadhawan
Hi Hans, > I don't understand the problem. When the application starts the first thing > it should > do is to call VIDIOC_QUERY_DV_TIMINGS: that will tell it if any signal is > present. I guess dv timings will be valid for DVI too. If yes, then there is no audio. There's no video device for

Re: No audio support in struct v4l2_subdev_format

2014-07-04 Thread Hans Verkuil
Hi Divneil, On 07/04/2014 11:30 AM, Divneil Wadhawan wrote: > Hi Hans, > > >> To my knowledge nobody has done much if any work on this. Usually >> the audio part is handled by alsa, but it is not clear if support >> is also needed from the V4L2 API. > > Actually, the application needs to know w

RE: No audio support in struct v4l2_subdev_format

2014-07-04 Thread Divneil Wadhawan
Hi Hans, > To my knowledge nobody has done much if any work on this. Usually the > audio part is handled by alsa, but it is not clear if support is also > needed from the V4L2 API. Actually, the application needs to know when to ask the capture device to start capturing. Let's say, the cable i

[PATCH] af9035: override tuner id when bad value set into eeprom

2014-07-04 Thread Antti Palosaari
Tuner ID set into EEPROM is wrong in some cases, which causes driver to select wrong tuner profile. That leads device non-working. Fix issue by overriding known bad tuner IDs with suitable default value. Thanks to MX-NET Telekomunikace s.r.o. for providing non-working DTV stick, that I could fix t

[GIT PULL] 3.16 af9035 fix

2014-07-04 Thread Antti Palosaari
The following changes since commit 13936af3d2f04f173a83cc050dbc4b20d8562b81: [media] saa7134: use unlocked_ioctl instead of ioctl (2014-06-19 13:14:51 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git fixes for you to fetch changes up to 14f0db438e16f

Re: No audio support in struct v4l2_subdev_format

2014-07-04 Thread Hans Verkuil
On 07/04/2014 08:49 AM, Divneil Wadhawan wrote: > Hello, > > > There's an HDMIRx subdev I have implemented and I would like the application > to read properties of incoming audio. > > For the moment, there's no support of it. > > Can you share if some work is already done on this but not compl

[PATCH] media:platform: OMAP3 camera support needs VIDEOBUF2_DMA_CONTIG

2014-07-04 Thread Peter Meerwald
drivers/built-in.o: In function `isp_video_open': /src/linux/drivers/media/platform/omap3isp/ispvideo.c:1253: undefined reference to `vb2_dma_contig_memops' drivers/built-in.o: In function `omap3isp_video_init': /src/linux/drivers/media/platform/omap3isp/ispvideo.c:1344: undefined reference to `v

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-04 Thread Hans Verkuil
On 05/12/2014 01:38 PM, Divneil Wadhawan wrote: > Hi Hans, > > Please find attached the patch. I hope its okay. > I have only touched filed which were vb2 based in my understanding. > > Yeah! I was referring to the define as it's the easier way and also > fulfilling my use case. > However, I a

dvb-t initial scan file update for au-Tamworth

2014-07-04 Thread Dominic Gardiner
Please find attached, initial scan file for au-Tamworth - Updated frequencies for Upper Namoi / Mt.Dowe retune which has now taken place # Australia / NSW / New England / Tamworth / Mt.Soma # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy # SBS T 69050 7MHz 2/3 NONE QA