[PATCH] media: mt312: fix a missing check of mt312 reset

2018-12-20 Thread Kangjie Lu
mt312_reset() may fail. Although it is called in the end of mt312_set_frontend(), we better check its status and return its error code upstream instead of 0. Signed-off-by: Kangjie Lu --- drivers/media/dvb-frontends/mt312.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/d

Re: [PATCH 4/4] pvrusb2: Add Hauppauge HVR1955/1975 devices

2018-12-20 Thread kbuild test robot
Hi Brad, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.20-rc7 next-20181220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 4/4] pvrusb2: Add Hauppauge HVR1955/1975 devices

2018-12-20 Thread kbuild test robot
Hi Brad, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.20-rc7 next-20181220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

[PATCH v2] media: si2165: fix a missing check of return value

2018-12-20 Thread Kangjie Lu
si2165_readreg8() may fail. Looking into si2165_readreg8(), we will find that "val_tmp" will be an uninitialized value when regmap_read() fails. "val_tmp" is then assigned to "val". So if si2165_readreg8() fails, "val" will be a random value. Further use will lead to undefined behaviors. The fix ch

cron job: media_tree daily build: OK

2018-12-20 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: Fri Dec 21 05:00:13 CET 2018 media-tree git hash:4bd46aa0353e022c2401a258e93b107880a66533 media_build git

Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2018-12-20 Thread Tomasz Figa
On Fri, Dec 21, 2018 at 7:24 AM Laurent Pinchart wrote: > > Hellon > > On Sunday, 16 December 2018 09:26:18 EET Laurent Pinchart wrote: > > Hello Yong, > > > > Could you please have a look at the crash reported below ? > > A bit more information to help you debugging this. I've enabled KASAN in th

[PATCH 05/14] media: wl128x-radio: remove global radio_disconnected

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel Move global radio_disconnected into device structure to prepare converting this driver into a normal platform device driver supporting multiple instances. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv.h | 1 + drivers/media/radio/wl128x/fmd

[PATCH 04/14] media: wl128x-radio: remove module version

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel Drop module version. We already have the kernel's version and this module is mainline. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv.h| 1 - drivers/media/radio/wl128x/fmdrv_common.c | 5 ++--- 2 files changed, 2 insertions(+), 4 deletion

[PATCH 02/14] ARM: dts: IGEP: Add WiLink UART node

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel Add a node for the UART part of WiLink chip. Cc: Enric Balletbo i Serra Signed-off-by: Sebastian Reichel --- This is compile tested only! --- arch/arm/boot/dts/omap3-igep0020-rev-f.dts | 8 arch/arm/boot/dts/omap3-igep0030-rev-g.dts | 8 2 files chang

[PATCH 03/14] ARM: OMAP2+: pdata-quirks: drop TI_ST/KIM support

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel All TI_ST users have been migrated to the new serdev based HCILL bluetooth driver. That driver is initialized from DT and does not need any platform quirks. Signed-off-by: Sebastian Reichel --- arch/arm/mach-omap2/pdata-quirks.c | 52 -- 1 fi

[PATCH 14/14] misc: ti-st: Drop superseded driver

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel This driver has been superseded by the serdev based Bluetooth hci_ll driver, which is initialized from DT. All mainline users have been converted and this driver can be safely dropped. Signed-off-by: Sebastian Reichel --- drivers/misc/Kconfig | 1 - drivers/mi

[PATCH 10/14] media: wl128x-radio: simplify fmc_prepare/fmc_release

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel Remove unused return code from fmc_prepare() and fmc_release() to simplify the code a bit. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv_common.c | 26 +-- drivers/media/radio/wl128x/fmdrv_common.h | 4 ++-- drivers/media/rad

[PATCH 11/14] media: wl128x-radio: fix skb debug printing

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel This fixes incorrect code in the TX/RX skb debug print function and add stubs in receive/transmit packet path. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv_common.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a

[PATCH 06/14] media: wl128x-radio: remove global radio_dev

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel Move global radio_dev into device structure to prepare converting this driver into a normal platform device driver supporting multiple instances. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv.h| 2 +- drivers/media/radio/wl128x/fmdrv_com

[PATCH 13/14] Bluetooth: btwilink: drop superseded driver

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel All users of this driver have been converted to the serdev based hci_ll driver. The unused driver can be safely dropped now. Signed-off-by: Sebastian Reichel --- drivers/bluetooth/Kconfig| 11 -- drivers/bluetooth/Makefile | 1 - drivers/bluetooth/btwilink.c |

[PATCH 07/14] media: wl128x-radio: convert to platform device

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel This converts the wl128x FM radio module into a platform device. It's a preparation for using it from hci_ll Bluetooth driver instead of TI_ST. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv_common.c | 30 --- 1 file changed, 1

[PATCH 08/14] media: wl128x-radio: use device managed memory allocation

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel This simplifies memory allocation and removes a few useless errors in case of -ENOMEM errors. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv_common.c | 41 +++ 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/dri

[PATCH 01/14] ARM: dts: LogicPD Torpedo: Add WiLink UART node

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel Add a node for the UART part of WiLink chip. Cc: Adam Ford Signed-off-by: Sebastian Reichel --- This is compile tested only! --- arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/logicpd-torp

[PATCH 00/14] Add support for FM radio in hcill and kill TI_ST

2018-12-20 Thread Sebastian Reichel
Hi, This moves all remaining users of the legacy TI_ST driver to hcill (patches 1-3). Then patches 4-7 convert wl128x-radio driver to a standard platform device driver with support for multiple instances. Patch 7 will result in (userless) TI_ST driver no longer supporting radio at runtime. Patch 8

[PATCH 09/14] media: wl128x-radio: load firmware from ti-connectivity/

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel All TI WiLink firmware files are loaded from the ti-connectivity subdirectory, so let's also move the FM firmware. Signed-off-by: Sebastian Reichel --- drivers/media/radio/wl128x/fmdrv_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driv

[PATCH 12/14] media: wl128x-radio: move from TI_ST to hci_ll driver

2018-12-20 Thread Sebastian Reichel
From: Sebastian Reichel This updates the wl128x-radio driver to be used with hci_ll instead of the deprecated TI_ST driver. Signed-off-by: Sebastian Reichel --- drivers/bluetooth/hci_ll.c| 115 -- drivers/media/radio/wl128x/Kconfig| 2 +- drivers/m

Re: [PATCH v4 4/4] media: i2c: Add RDACM20 driver

2018-12-20 Thread Sakari Ailus
Hu Kieran, Apologies for the late reply. On Wed, Nov 28, 2018 at 12:51:39PM +, Kieran Bingham wrote: > Hi Sakari, > > Thank you for your review, > > On 20/11/2018 08:34, Sakari Ailus wrote: > > Hi Kieran, > > > > On Fri, Nov 02, 2018 at 03:47:23PM +, Kieran Bingham wrote: > >> From: Ki

Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2018-12-20 Thread Laurent Pinchart
Hellon On Sunday, 16 December 2018 09:26:18 EET Laurent Pinchart wrote: > Hello Yong, > > Could you please have a look at the crash reported below ? A bit more information to help you debugging this. I've enabled KASAN in the kernel configuration, and get the following use-after-free reports. [

[PATCH 2/4] pvrusb2: Add multiple dvb frontend support

2018-12-20 Thread Brad Love
All changes are equivalent and backwards compatible. All current devices have been changed to use fe[0] Cleanup has been added to dvb init to support cleanup after failure. Signed-off-by: Brad Love --- drivers/media/usb/pvrusb2/pvrusb2-devattr.c | 36 +++--- drivers/media/usb/pvrusb2/pvr

[PATCH 4/4] pvrusb2: Add Hauppauge HVR1955/1975 devices

2018-12-20 Thread Brad Love
Includes support to identify and use two Hauppauge device. HVR-1955: - LGDT3306a ATSC/QAM demod - si2177 tuner - cx25840 decoder for analog tv/composite/s-video/audio HVR-1975 dual-frontend: - LGDT3306a ATSC/QAM demod - si2168 DVB-C/T/T2 demod - si2177 tuner - cx25840 decoder for analog tv/composi

[PATCH 0/4] Add Hauppauge HVR1955/1975 devices

2018-12-20 Thread Brad Love
Hauppauge device HVR1955 and HVR1975 are old Cypress based devices. When originally produced the demods were lacking upstream drivers and the tuner was unsupported. Well fast forward to now and the only thing missing is the identification of si2177 tuner in the si2157 driver, as well as extension o

[PATCH 1/4] si2157: add detection of si2177 tuner

2018-12-20 Thread Brad Love
Works in ATSC and QAM as is, DVB is completely untested. Firmware required. Signed-off-by: Brad Love --- drivers/media/tuners/si2157.c | 6 ++ drivers/media/tuners/si2157_priv.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/media/tuners/si2157.c b/drive

[PATCH 3/4] pvrusb2: Add i2c client demod/tuner support

2018-12-20 Thread Brad Love
Cleanup code has been added to init in case of failure, as well as to frontend exit. Signed-off-by: Brad Love --- drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 11 +++ drivers/media/usb/pvrusb2/pvrusb2-dvb.h | 3 +++ 2 files changed, 14 insertions(+) diff --git a/drivers/media/usb/pvrusb2/

Re: [PATCH] media: dt-bindings: rcar-vin: Add R8A774C0 support

2018-12-20 Thread Rob Herring
On Thu, 13 Dec 2018 20:21:59 +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the list > of SoCs supported by rcar-vin driver. > > Signed-off-by: Fabrizio Castro > --- > Documentation/devicetree/bindings/media/rcar_vin.txt | 9 + > 1 file changed,

Re: [PATCH] media: dt-bindings: rcar-csi2: Add r8a774c0

2018-12-20 Thread Rob Herring
On Thu, 13 Dec 2018 20:21:49 +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the > list of supported SoCs. > > Signed-off-by: Fabrizio Castro > --- > Documentation/devicetree/bindings/media/renesas,rcar-csi2.txt | 3 ++- > 1 file changed, 2 insertions(+)

Re: [PATCH 2/3] media: tc358746: add Toshiba TC358746 Parallel to CSI-2 bridge driver

2018-12-20 Thread kbuild test robot
Hi Marco, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on next-20181220] [cannot apply to v4.20-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url

Re: [PATCH 1/5] si2168: add frequency data to frontend info

2018-12-20 Thread Brad Love
Ooops...ignore the series bit...this is solo. On 20/12/2018 12.54, Brad Love wrote: > Minimum, maximum, and stepsize taken from Silicon Labs reference. > > Signed-off-by: Brad Love > --- > drivers/media/dvb-frontends/si2168.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > di

[PATCH 1/5] si2168: add frequency data to frontend info

2018-12-20 Thread Brad Love
Minimum, maximum, and stepsize taken from Silicon Labs reference. Signed-off-by: Brad Love --- drivers/media/dvb-frontends/si2168.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 324493

Re: [PATCH v2] media: vicodec: add support for CROP selection in the encoder

2018-12-20 Thread Hans Verkuil
On 12/20/18 3:56 PM, Dafna Hirschfeld wrote: > On Thu, Dec 20, 2018 at 12:20 PM Hans Verkuil wrote: >> >> On 12/19/18 1:18 PM, Dafna Hirschfeld wrote: >>> Add support for the selection api for the crop target in the encoder. >>> The driver rounds up the coded width and height such that >>> all pla

Re: [PATCH v2] media: vicodec: add support for CROP selection in the encoder

2018-12-20 Thread Dafna Hirschfeld
On Thu, Dec 20, 2018 at 12:20 PM Hans Verkuil wrote: > > On 12/19/18 1:18 PM, Dafna Hirschfeld wrote: > > Add support for the selection api for the crop target in the encoder. > > The driver rounds up the coded width and height such that > > all planes dimensions are multiple of 8. > > > > Signed-

Re: [PATCH] media: si2165: fix a missing check of return value

2018-12-20 Thread Matthias Schwarzott
Am 20.12.18 um 09:12 schrieb Kangjie Lu: > si2165_readreg8() may fail. Looking into si2165_readreg8(), we will find > that "val_tmp" will be an uninitialized value when regmap_read() fails. > "val_tmp" is then assigned to "val". So if si2165_readreg8() fails, > "val" will be a random value. Further

Re: [PATCH v3] cx23885: only reset DMA on problematic CPUs

2018-12-20 Thread Mauro Carvalho Chehab
Em Wed, 19 Dec 2018 11:07:01 -0600 Brad Love escreveu: > It is reported that commit 95f408bbc4e4 ("media: cx23885: Ryzen DMA > related RiSC engine stall fixes") caused regresssions with other CPUs. > > Ensure that the quirk will be applied only for the CPUs that > are known to cause problems. >

[PATCH v5 2/6] media: sun6i: Add mod_rate quirk

2018-12-20 Thread Jagan Teki
Unfortunately default CSI_SCLK rate cannot work properly to drive the connected sensor interface, particularly on few Allwinner SoC's like A64. So, add mod_rate quirk via driver data so-that the respective SoC's which require to alter the default mod clock rate can assign the operating clock rate.

[PATCH v5 1/6] dt-bindings: media: sun6i: Add A64 CSI compatible

2018-12-20 Thread Jagan Teki
Allwinner A64 CSI is a single channel time-multiplexed BT.656 protocol interface. Add separate compatible string for A64 since it require explicit change in sun6i_csi driver to update default CSI_SCLK rate. Reviewed-by: Rob Herring Signed-off-by: Jagan Teki --- Documentation/devicetree/binding

[PATCH v5 4/6] arm64: dts: allwinner: a64: Add A64 CSI controller

2018-12-20 Thread Jagan Teki
Add dts node details for Allwinner A64 CSI controller. A64 CSI has similar features as like in H3, but the CSI_SCLK need to update it to 300MHz than default clock rate. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 +++ 1 file changed, 20 inser

[PATCH v5 0/6] media/sun6i: Allwinner A64 CSI support

2018-12-20 Thread Jagan Teki
This series support CSI on Allwinner A64. Tested 640x480, 320x240, 720p, 1080p resolutions UYVY8_2X8 format. Changes for v5: - Add mod_rate quirk for better handling clk_set code Changes for v4: - update the compatible string order - add proper commit message - included BPI-M64 patch - skipped am

[DO NOT MERGE] [PATCH v5 6/6] arm64: dts: allwinner: bananapi-m64: Add HDF5640 camera module

2018-12-20 Thread Jagan Teki
Bananapi M64 comes with an optional sensor based on the ov5640, add support for it with below pin information. - PE13, PE12 via i2c-gpio bitbanging - CLK_CSI_MCLK as external clock - PE1 as external clock pin muxing - DLDO3 as AVDD supply - ALDO1 as DOVDD supply - ELDO3 as DVDD supply - PE16 gpio

[PATCH v5 5/6] arm64: dts: allwinner: a64: Add pinmux setting for CSI MCLK on PE1

2018-12-20 Thread Jagan Teki
Some camera modules have the SoC feeding a master clock to the sensor instead of having a standalone crystal. This clock signal is generated from the clock control unit and output from the CSI MCLK function of pin PE1. Add a pinmux setting for it for camera sensors to reference. Signed-off-by: Ja

[PATCH v5 3/6] media: sun6i: Add A64 CSI block support

2018-12-20 Thread Jagan Teki
CSI block in Allwinner A64 has similar features as like in H3, but default mod clock rate in BSP along with latest mainline testing require to operate it at 300MHz. So, add A64 CSI compatibe along with mod_rate quirk. Signed-off-by: Jagan Teki --- drivers/media/platform/sunxi/sun6i-csi/sun6i_cs

[GIT PULL for v4.21] second set of media patches: ipu3 driver

2018-12-20 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.20-7 For the Intel IPU3 camera driver. NOTE Please apply this series *after* my first pull request, as it partially contains the patches that are there. Also, it would be g

[GIT PULL for v4.21] First part of media patches

2018-12-20 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.20-6 For the first set of media patches for 4.21. It contains: - Three new platform drivers: aspeed-video seco-sed and sun5i-csi; - One new sensor driver: imx214; - Support for Xbox DVD

Drahý přítel

2018-12-20 Thread martin larcher
Drahý přítel Jak se máš? Poslal jsem vám e-mail, ale nemám od vás žádnou odpověď. Je spojena s důležitými informacemi o vašem pozdějším příbuzném, tady je moje e-mailová adresa (martin_larc...@outlook.com) pozdravy Martin Larcher

Re: [PATCH v3 10/10] drm/bridge: cdns: Convert to phy framework

2018-12-20 Thread kbuild test robot
Hi Maxime, I love your patch! Yet something to improve: [auto build test ERROR on phy/next] [cannot apply to v4.20-rc7 next-20181220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Maxime

Re: [PATCH v2] media: vicodec: add support for CROP selection in the encoder

2018-12-20 Thread Hans Verkuil
On 12/19/18 1:18 PM, Dafna Hirschfeld wrote: > Add support for the selection api for the crop target in the encoder. > The driver rounds up the coded width and height such that > all planes dimensions are multiple of 8. > > Signed-off-by: Dafna Hirschfeld > --- > Changes from v1: > Renaming field

Re: [PATCH v4l-utils] v4l2-ctl: Add support for CROP selection in m2m streaming

2018-12-20 Thread Hans Verkuil
On 12/19/18 2:32 PM, Dafna Hirschfeld wrote: > On Wed, Dec 19, 2018 at 12:03 PM Hans Verkuil wrote: >> >> On 12/19/18 9:34 AM, Dafna Hirschfeld wrote: > +bool is_m2m_enc = false; This should be static. I'm assuming that in a future patch we'll get a is_m2m_dec as well? >>>

[PATCH] media: si2165: fix a missing check of return value

2018-12-20 Thread Kangjie Lu
si2165_readreg8() may fail. Looking into si2165_readreg8(), we will find that "val_tmp" will be an uninitialized value when regmap_read() fails. "val_tmp" is then assigned to "val". So if si2165_readreg8() fails, "val" will be a random value. Further use will lead to undefined behaviors. The fix ch