[PATCH] si2165: avoid division by zero

2016-07-25 Thread Matthias Schwarzott
When si2165_init fails, the clk values in state are still at zero. But the dvb-core ignores the return value of init will call tune afterwards. This will trigger a division by zero when tuning. At least check for the variables to be non-zero before dividing. This happened for a system with WinTV H

Re: [PATCH] rcar-vin: add R-Car gen2 fallback compatibility string

2016-07-25 Thread Niklas Söderlund
On 2016-07-25 22:19:33 +0300, Sergei Shtylyov wrote: > Such fallback string is present in the 'soc_camera' version of the R-Car VIN > driver, so need to add it here as well... > > Signed-off-by: Sergei Shtylyov Acked-by: Niklas Söderlund > > --- > This patch is against the 'media_tree.git' r

lening

2016-07-25 Thread QUALITY LOAN SERVICE CORPORATION
Goede dag, Heeft u een financiële hulp nodig? Noodzaak van een legitieme krediet voor belang? Heeft u een zakelijke lening nodig? Heeft u een lening nodig om een huis, auto te kopen, betaal uw facturen en schulden? Heeft u geld nodig om problemen op te lossen? Als dat zo vriendelijk een a

cron job: media_tree daily build: WARNINGS

2016-07-25 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: Tue Jul 26 04:00:20 CEST 2016 git branch: test git hash: 009a620848218d521f008141c62f56bf19294dd9 gcc versi

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Steve Longerbeam
On 07/25/2016 03:24 PM, Ian Arkver wrote: > On 25/07/16 23:04, Steve Longerbeam wrote: >> >> >> On 07/25/2016 12:36 PM, Ian Arkver wrote: >>> On 25/07/16 18:55, Steve Longerbeam wrote: On 07/25/2016 05:04 AM, Ian Arkver wrote: > On 23/07/16 18:00, Steve Longerbeam wrote: >> >> +#d

Re: [PATCH] [media] lgdt3306a: remove 20*50 msec unnecessary timeout

2016-07-25 Thread Mauro Carvalho Chehab
Em Mon, 25 Jul 2016 15:37:14 -0400 Michael Ira Krufky escreveu: > On Mon, Jul 25, 2016 at 3:28 PM, Mauro Carvalho Chehab > wrote: > > Hi Michael, > > > > Em Mon, 25 Jul 2016 14:55:51 -0400 > > Michael Ira Krufky escreveu: > > > >> On Mon, Jul 25, 2016 at 2:38 PM, Abylay Ospan wrote: > >> >

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Ian Arkver
On 25/07/16 23:04, Steve Longerbeam wrote: On 07/25/2016 12:36 PM, Ian Arkver wrote: On 25/07/16 18:55, Steve Longerbeam wrote: On 07/25/2016 05:04 AM, Ian Arkver wrote: On 23/07/16 18:00, Steve Longerbeam wrote: +#define ADV7180_VSYNC_FIELD_CTL_1_NEWAVMODE 0x02 See below re this value.

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Steve Longerbeam
On 07/25/2016 12:36 PM, Ian Arkver wrote: On 25/07/16 18:55, Steve Longerbeam wrote: On 07/25/2016 05:04 AM, Ian Arkver wrote: On 23/07/16 18:00, Steve Longerbeam wrote: +#define ADV7180_VSYNC_FIELD_CTL_1_NEWAVMODE 0x02 See below re this value. Hi Ian, I double-checked the ADV7180 datash

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Ian Arkver
On 25/07/16 18:55, Steve Longerbeam wrote: On 07/25/2016 05:04 AM, Ian Arkver wrote: On 23/07/16 18:00, Steve Longerbeam wrote: Parse the optional v4l2 endpoint DT node. If the bus type is V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", configure the BT.656 bus in NEWAVMODE. Signe

Re: [PATCH] [media] lgdt3306a: remove 20*50 msec unnecessary timeout

2016-07-25 Thread Michael Ira Krufky
On Mon, Jul 25, 2016 at 3:28 PM, Mauro Carvalho Chehab wrote: > Hi Michael, > > Em Mon, 25 Jul 2016 14:55:51 -0400 > Michael Ira Krufky escreveu: > >> On Mon, Jul 25, 2016 at 2:38 PM, Abylay Ospan wrote: >> > inside lgdt3306a_search we reading demod status 20 times with 50 msec >> > sleep after

Re: [PATCH] [media] lgdt3306a: remove 20*50 msec unnecessary timeout

2016-07-25 Thread Mauro Carvalho Chehab
Hi Michael, Em Mon, 25 Jul 2016 14:55:51 -0400 Michael Ira Krufky escreveu: > On Mon, Jul 25, 2016 at 2:38 PM, Abylay Ospan wrote: > > inside lgdt3306a_search we reading demod status 20 times with 50 msec sleep > > after each read. > > This gives us more than 1 sec of delay. Removing this dela

Re: [PATCH] [media] lgdt3306a: remove 20*50 msec unnecessary timeout

2016-07-25 Thread Abylay Ospan
Hi Michael, thanks for update. ok, I will investigate this more heavily later. Please, do not merge this patch. Seems like we need more consultation/testing (as I understand especially on 'weak' ATSC signals). 2016-07-25 14:55 GMT-04:00 Michael Ira Krufky : > On Mon, Jul 25, 2016 at 2:38 PM, Aby

[PATCH] rcar-vin: add R-Car gen2 fallback compatibility string

2016-07-25 Thread Sergei Shtylyov
Such fallback string is present in the 'soc_camera' version of the R-Car VIN driver, so need to add it here as well... Signed-off-by: Sergei Shtylyov --- This patch is against the 'media_tree.git' repo's 'master' branch. This patch conflicts with Niklas Soderlund's former patch "[media] rcar-vi

Re: [PATCH v2 1/2] [media] cx25821: Drop Freeing of Workqueue

2016-07-25 Thread Tejun Heo
On Mon, Jul 25, 2016 at 08:25:22PM +0530, Bhaktipriya Shridhar wrote: > Workqueues shouldn't be freed. destroy_workqueue should be used instead. > destroy_workqueue safely destroys a workqueue and ensures that all pending > work items are done before destroying the workqueue. > > Signed-off-by: Bh

Re: [PATCH] [media] lgdt3306a: remove 20*50 msec unnecessary timeout

2016-07-25 Thread Michael Ira Krufky
On Mon, Jul 25, 2016 at 2:38 PM, Abylay Ospan wrote: > inside lgdt3306a_search we reading demod status 20 times with 50 msec sleep > after each read. > This gives us more than 1 sec of delay. Removing this delay should not affect > demod functionality. > > Signed-off-by: Abylay Ospan > --- > d

Re: [PATCH] [dvbv5-scan] wait no more than timeout when scanning

2016-07-25 Thread Abylay Ospan
Hi Mauro, I have sent two patches to ML. One is for dvbv5-scan (v3 of this patch) and second for lgdt3306a driver. Now I have achieved 4 minutes for full scan (file us-ATSC-center-frequencies-8VSB with 68 frequencies inside). This is much better than 2 hours before :) But need to test this patches

[PATCH] [media] lgdt3306a: remove 20*50 msec unnecessary timeout

2016-07-25 Thread Abylay Ospan
inside lgdt3306a_search we reading demod status 20 times with 50 msec sleep after each read. This gives us more than 1 sec of delay. Removing this delay should not affect demod functionality. Signed-off-by: Abylay Ospan --- drivers/media/dvb-frontends/lgdt3306a.c | 16 1 file

[PATCHv3] [dvbv5-scan] New option 'timeout'. Wait no more than 'timeout' sec. when scanning

2016-07-25 Thread Abylay Ospan
some frontends (for example, lgdt3306a) wait timeout inside code like: for (i = 20; i > 0; i--) { msleep(50); If there is no-LOCK then dvbv5-scan spent a lot of time (doing 40x calls). This patch introduce 'timeout' option which 1 sec. by default. So we do not wait more than 1 sec (or so) if no

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Steve Longerbeam
On 07/25/2016 05:04 AM, Ian Arkver wrote: > On 23/07/16 18:00, Steve Longerbeam wrote: >> Parse the optional v4l2 endpoint DT node. If the bus type is >> V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", >> configure the BT.656 bus in NEWAVMODE. >> >> Signed-off-by: Steve Longerbeam >>

[PATCH v2 2/2] [media] cx25821: Remove deprecated create_singlethread_workqueue

2016-07-25 Thread Bhaktipriya Shridhar
The workqueue "_irq_audio_queues" runs the audio upstream handler. It has a single work item(&dev->_audio_work_entry) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System wor

[PATCH v2 1/2] [media] cx25821: Drop Freeing of Workqueue

2016-07-25 Thread Bhaktipriya Shridhar
Workqueues shouldn't be freed. destroy_workqueue should be used instead. destroy_workqueue safely destroys a workqueue and ensures that all pending work items are done before destroying the workqueue. Signed-off-by: Bhaktipriya Shridhar --- Changes in v2: None drivers/media/pci/cx25821/cx25821

[PATCH v2 0/2] Remove improper workqueue usage

2016-07-25 Thread Bhaktipriya Shridhar
This patch set fixes the improper usage of the workqueue API. This includes dropping the freeing of workqueue and removing the deprecated create_singlethread_workqueue instance. Bhaktipriya Shridhar (2): [media] cx25821: Drop Freeing of Workqueue [media] cx25821: Remove deprecated create_singl

[PATCH v4 3/3] st-hva: add H.264 video encoding support

2016-07-25 Thread Jean-Christophe Trotin
This patch adds the H.264 video encoding capability in the V4L2 HVA video encoder driver for STMicroelectronics SoC (hva-h264.c). The main supported features are: - profile: baseline, main, high, stereo high - level: up to 4.2 - bitrate mode: CBR, VBR - entropy mode: CABAC, CAVLC - video aspect: 1

[PATCH v4 1/3] Documentation: DT: add bindings for ST HVA

2016-07-25 Thread Jean-Christophe Trotin
This patch adds DT binding documentation for STMicroelectronics hva driver. Signed-off-by: Yannick Fertre Signed-off-by: Jean-Christophe Trotin --- .../devicetree/bindings/media/st,st-hva.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/

[PATCH v4 2/3] st-hva: multi-format video encoder V4L2 driver

2016-07-25 Thread Jean-Christophe Trotin
This patch adds V4L2 HVA (Hardware Video Accelerator) video encoder driver for STMicroelectronics SoC. It uses the V4L2 mem2mem framework. This patch only contains the core parts of the driver: - the V4L2 interface with the userland (hva-v4l2.c) - the hardware services (hva-hw.c) - the memory mana

[PATCH v4 0/3] support of v4l2 encoder for STMicroelectronics SOC

2016-07-25 Thread Jean-Christophe Trotin
version 4: - Module renamed "st-hva" as suggested by Hans - resource_size() inline function used to calculate the esram size - V4L2 compliance successfully passed with this version (see report below) version 3: - Comments from Nicolas, Javier and Hans about version 2 taken into account: -

Re: [PATCH v2 2/3] [media] hva: multi-format video encoder V4L2 driver

2016-07-25 Thread Jean Christophe TROTIN
On 07/21/2016 11:49 AM, Hans Verkuil wrote: > > > On 07/21/2016 09:30 AM, Jean Christophe TROTIN wrote: >> >> On 07/18/2016 01:45 PM, Hans Verkuil wrote: >>> Hi Jean-Christophe, >>> >>> See my review comments below. Nothing really major, but I do need to know >>> more >>> about the g/s_parm and

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Ian Arkver
Resend due to HTML email bounce. On 23/07/16 18:00, Steve Longerbeam wrote: Parse the optional v4l2 endpoint DT node. If the bus type is V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", configure the BT.656 bus in NEWAVMODE. Signed-off-by: Steve Longerbeam --- v3: - the newavmode

[GIT PULL for v4.8-rc1] media updates - part 1

2016-07-25 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.8-1 For: - New framework support for HDMI CEC and remote control support; - New encoding codec driver for Mediatek SoC; - New frontend driver: helene tuner; - Added support for

[PATCH] cx23885: Add support for Hauppauge WinTV quadHD ATSC version

2016-07-25 Thread Stephen Backway
Add support fo the Hauppauge WinTV quadHD ATSC version. IR support has not been provided, all 4 tuners, demodulators etc are working. Further documentation can be found on Linux TV wiki. Signed-Off-by: Stephen Backway --- diff --git a/Documentation/video4linux/CARDLIST.cx23885 b/Documentation/v