cron job: media_tree daily build: WARNINGS

2017-04-09 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 Apr 10 05:00:14 CEST 2017 media-tree git hash:2f65ec0567f77b75f459c98426053a3787af356a media_build gi

Re: [PATCH 2/5] media: Add support for CXD2880 SPI I/F

2017-04-09 Thread Mauro Carvalho Chehab
Em Fri, 7 Apr 2017 08:19:58 + "Takiguchi, Yasunari" escreveu: > Dear All > > Our patches consists of the following items. > [PATCH 1/5] dt-bindings: media: Add document file for CXD2880 SPI I/F > [PATCH 2/5] media: Add support for CXD2880 SPI I/F > [PATCH 3/5] media: Add suppurt for CX

Hauppauge Aero-M USB tuner stopped working after kernel 4.8

2017-04-09 Thread Doug Lung
Hello - My Hauppauge Aero-M tuner stopped working with kernel 4.9. I tried the media_build tree and native kernel drivers with no success through kernel 4.10.8-1 on my Arch Linux system. No devices are created in /dev/dvb. The problem appears to be with dvb_usb_mxl111sf. Other tuners (HVR955Q, Wi

[PATCH 11/19] [media] dvb-frontends/cxd2841er: optionally tune earlier in set_frontend()

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller When AUTO_IFHZ is set and the tuner is supposed to provide proper IF speed values, it should be possible to have the tuner setup take place before the demod is configured, else the demod might be configured with either wrong (old), or even no values at all, which obviously w

[PATCH 16/19] [media] ddbridge: board control setup, ts quirk flags

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller This is a backport of the board control setup from the vendor provided dddvb driver package, which does additional device initialisation based on the board_control device info values. Also backports the TS quirk flags which is used to control setup and usage of the tuner mod

[PATCH 19/19] [media] ddbridge: hardware IDs for new C2T2 cards and other devices

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Adds hardware IDs for all Sony CXD-based Cine-cards and MaxA8 devices, also adds some other yet missing IDs like the Octopus V3, Octopus OEM and Octopus Mini, as well as cards with unknown/deleted sub-ids. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/Kcon

[PATCH 17/19] [media] ddbridge: add I2C functions, add XO2 module support

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Some Flex modules (mostly with anyof C/C2/T/T2 demods based on the Sony CXD28xxER series) are equipped with an interface named XO2 (which appears to be the Lattice MachXO2). Add functionality to detect such links and initialise them, so any tuner module with such an interfac

[PATCH 07/19] [media] dvb-frontends/cxd2841er: make call to i2c_gate_ctrl optional

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Some cards/bridges wrap i2c_gate_ctrl handling with a mutex_lock(). This is e.g. done in ddbridge to protect against concurrent tuner access with regards to the dual tuner HW, where concurrent tuner reconfiguration can result in tuning fails or bad reception quality. When th

[PATCH 13/19] [media] dvb-frontends/cxd2841er: configurable IFAGCNEG

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Adds a flag to enable or disable the IFAGCNEG bit in cxd2841er_init_tc(). Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/cxd2841er.c | 5 +++-- drivers/media/dvb-frontends/cxd2841er.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dr

[PATCH 18/19] [media] ddbridge: support for Sony CXD28xx C/C2/T/T2 tuner modules

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Properly detect and attach Ports and Flex modules with the Sony CXD28xxER series demods. This makes newer Cine cards and most DuoFlex C/C2/T/T2 (or any combination of these systems) work, PCI IDs need to be added though. Note: This utilises the CXD2841ER demod driver, which

[PATCH 08/19] [media] dvb-frontends/cxd2841er: support IF speed calc from tuner values

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Add a AUTO_IFHZ flag and a function that will read IF speed values from any attached tuner if the tuner supports this and if AUTO_IFHZ is enabled, and else the passed default value (which probably matches Sony ASCOT tuners) will be passed back. The returned value is then use

[PATCH 06/19] [media] dvb-frontends/cxd2841er: add variable for configuration flags

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Throughout the patch series some configuration flags will be added to the demod driver. This patch prepares this by adding the flags var to struct cxd2841er_config, which will serve as a bitmask to toggle various options and behaviour in the driver. Signed-off-by: Daniel Sc

[PATCH 14/19] [media] dvb-frontends/cxd2841er: more configurable TSBITS

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Bits 3 and 4 of the TSCONFIG register are important for certain hardware constellations, in that they need to be zeroed. Add a configuration flag to toggle this. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/cxd2841er.c | 4 drivers/media/dvb-fronten

[PATCH 05/19] [media] dvb-frontends/cxd2841er: replace IFFREQ calc macros into functions

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller The way the MAKE_IFFREQ_CONFIG macros are written make it impossible to pass regular integers for iffreq calculation, since this will cause "SSE register return with SSE disabled" compile errors. This changes the calculation into C functions which also might help when debugg

[PATCH 04/19] [media] dvb-frontends/cxd2841er: support CXD2837/38/43ER demods/Chip IDs

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Those demods are programmed in the same way as the CXD2841ER/54ER and can be handled by this driver. Support added in a way matching the existing code, supported delivery systems are set according to what each demod supports. Updates the type string setting used for printin

[PATCH 09/19] [media] dvb-frontends/cxd2841er: TS_SERIAL config flag

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Some constellations work/need a serial TS transport mode. This adds a flag that will toggle set up of such mode. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/cxd2841er.c | 18 -- drivers/media/dvb-frontends/cxd2841er.h | 5 +++-- 2 files

[PATCH 03/19] [media] dvb-frontends/cxd2841er: immediately unfreeze regs when done

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Do unfreeze_regs() directly when accessing the demod registers is done, and don't have multiple unfreeze's on different conditions, which even can get prone to errors. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/cxd2841er.c | 23 ++-

[PATCH 12/19] [media] dvb-frontends/cxd2841er: make lock wait in set_fe_tc() optional

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Don't wait for FE_HAS_LOCK in set_frontend_tc() and thus don't hammer the lock status register with inquiries when CXD2841ER_NO_WAIT_LOCK is set in the configuration, which also unneccessarily blocks applications until a TS LOCK has been acquired. Rather, API and application

[PATCH 15/19] [media] dvb-frontends/cxd2841er: improved snr reporting

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller On DVB-T/T2 at least, SNR might be reported as >2500dB, which not only is just wrong but also ridiculous, so fix this by improving the conversion of the register value. The INTLOG10X100 function/macro and the way the values are converted were both taken from DD's cxd2843 dr

[PATCH 10/19] [media] dvb-frontends/cxd2841er: make ASCOT use optional

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller The Sony CXD28xx demods may have other tuner types attached to them (e.g. NXP TDA18212), so don't mandatorily configure and enable the ASCOT functionality, but make this conditional by a config flag. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/cxd2841er

[PATCH 02/19] [media] dvb-frontends/cxd2841er: do I2C reads in one go

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Doing the I2C read operation with two calls to i2c_transfer() causes the exclusive I2C bus lock of the underlying adapter to be released. While this isn't an issue if only one demodulator is attached to the bus, having two or even more causes troubles in that concurrent acce

[PATCH 00/19] cxd2841er/ddbridge: support Sony CXD28xx hardware

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller Important note: This series depends on the stv0367/ddbridge series posted earlier (patches 12 [1] and 13 [2], depending on the I2C functions and the TDA18212 attach function). This series improves the cxd2841er demodulator driver and adds some bits to make it more versatile

[PATCH 01/19] [media] dvb-frontends/cxd2841er: remove kernel log spam in non-debug levels

2017-04-09 Thread Daniel Scheller
From: Daniel Scheller This moves the I2C debug dump into the preceding dev_dbg() call by utilising the %*ph format macro and removes the call to print_hex_debug_bytes(). Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/cxd2841er.c | 6 ++ 1 file changed, 2 insertions(+), 4 de

Re: [PATCH] Quirk for webcam in MacBook Pro 2016

2017-04-09 Thread Daniel Roschka
Hi Laurent, I don't want to sound impatient, but I as I don't know what your usual reaction times to patches are and already waited three weeks without any reaction, I kindly want to ask, if you already had a chance to look into this patch and consider it for inclusion into your tree? Best, Da

Re: [PATCH] [media] vidioc-queryctrl.rst: fix menu/int menu references

2017-04-09 Thread Hans Verkuil
On 04/09/2017 12:56 PM, Mauro Carvalho Chehab wrote: > The documentation incorrectly mentions MENU and INTEGER_MENU > at struct v4l2_querymenu table as if they were flags. They're > not: they're types. > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Hans Verkuil Thanks! Hans >

[PATCH] [media] vidioc-queryctrl.rst: fix menu/int menu references

2017-04-09 Thread Mauro Carvalho Chehab
The documentation incorrectly mentions MENU and INTEGER_MENU at struct v4l2_querymenu table as if they were flags. They're not: they're types. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/vidioc-queryctrl.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif