[PATCH] media: platform: sti: c8sectpfe: core: Add of_node_put() at goto

2019-07-15 Thread Nishka Dasgupta
Each iteration of for_each_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Hence add a new label that puts the last used node, and edit the goto statements in the middle of the loop to first go to the new labe

Re: PATCH V3.5 1/2] dvbsky: add support for "Mygica T230C v2"

2019-07-15 Thread JP
On 7/15/19 11:21 PM, Sean Young wrote: On Tue, Jul 09, 2019 at 08:39:32PM +0200, Jan Pieter van Woerkom wrote: From: Jan Pieter van Woerkom Adds support for the "Mygica T230C v2" into the "dvbsky" driver. A small enhancement is also needed in the si2168 demodulator driver, and a USB device

[PATCH 2/2] media: Don't hide any menu if "ancillary drivers autoselect" is enabled

2019-07-15 Thread Ezequiel Garcia
Many users have been complaining about not being able to find certain menu options. One such example are camera sensor drivers (e.g IMX219, OV5645, etc) which are common on embedded platforms and not always ancillary devices. The problem with MEDIA_SUBDRV_AUTOSELECT seems to be related to the fact

[PATCH 1/2] media: Don't default-enable "ancillary driver autoselect" if EMBEDDED

2019-07-15 Thread Ezequiel Garcia
Admittedly, it's not easy to say what CONFIG_EMBEDDED really should be doing, just as it's not easy to say what is "embedded". In any case, the very description of MEDIA_SUBDRV_AUTOSELECT specifies that embedded systems usually don't want to enable this autoselect option. Therefore, drop the defa

[PATCH 0/2] Some cleanups for ancillary drivers autoselect

2019-07-15 Thread Ezequiel Garcia
Hi Mauro, Hans: While developing the Rockchip ISP1 driver Helen and I noticed that the MEDIA_SUBDRV_AUTOSELECT option was a bit confusing, hiding some menu options, preventing us from jumping to sensor drivers via the numbered menuconfig shortcuts. Then, I noticed a user on IRC falling on the sam

Re: PATCH V3.5 1/2] dvbsky: add support for "Mygica T230C v2"

2019-07-15 Thread Sean Young
On Tue, Jul 09, 2019 at 08:39:32PM +0200, Jan Pieter van Woerkom wrote: > From: Jan Pieter van Woerkom > > Adds support for the "Mygica T230C v2" into the "dvbsky" driver. > A small enhancement is also needed in the si2168 demodulator > driver, and a USB device ID in dvb-usb-ids.h . > > This is

[PATCH 6/6] media: v4l2-core: introduce unregister subdev i2c helper

2019-07-15 Thread Ezequiel Garcia
Introduce a new video4linux2 I2C helper, to unregister a subdev. This allows to get rid of yet another ifdefs. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-device.c | 25 ++--- drivers/media/v4l2-core/v4l2-i2c.c| 20 include/media/v

[PATCH 6/6] media: v4l2-core: introduce a helper to unregister a I2C subdev

2019-07-15 Thread Ezequiel Garcia
Introduce a new video4linux2 I2C helper, to unregister a subdev. This allows to get rid of yet another ifdefs. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-device.c | 25 ++--- drivers/media/v4l2-core/v4l2-i2c.c| 20 include/media/v

[PATCH 4/6] media: v4l2-core: move i2c helpers out of v4l2-common.c

2019-07-15 Thread Ezequiel Garcia
Separate the i2c helpers to v4l2-i2c.c, in order to get rid of the ifdefery. No functional changes intended, this is just a cosmetic change to organize the code better. Given I2C is a tristate symbol, a hidden boolean symbol is introduced, to make the conditional build easier. Signed-off-by: Ezeq

[PATCH 1/6] media: v4l2-core: Cleanup Makefile

2019-07-15 Thread Ezequiel Garcia
Use the videodev-$(CONFIG_FOO) syntax to simplify the Makefile. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/Makefile | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/media/v4l2-core/Makefile b/drivers/media/v4l2-core/Makefile index 9ee57e1efef

[PATCH 2/6] media: v4l2-core: Module re-organization

2019-07-15 Thread Ezequiel Garcia
videodev.ko and v4l2-common.ko driver are built under the same conditions. Therefore, it doesn't make much sense to split them in two different modules. Splitting v4l2-common to its own driver has done many years ago: commit a9254475bbfbed5f0596d952c6a3c9806e19dd0b Author: Mauro Carvalho Cheh

[PATCH 0/6] V4L2 core I2C/SPI code cleanup

2019-07-15 Thread Ezequiel Garcia
Hi Mauro, Hans: While reading v4l2-common.c, I came across a few ifdefs that could be cleaned-up with some minor reorganization. Patch 1 is just cleaning the Makefile, removing ifeq/endif to make it more readable. Patch 2 merges v4l2-common.ko into videodev.ko, which I think it's now possible. L

[PATCH 3/6] media: v4l2-core: move spi helpers out of v4l2-common.c

2019-07-15 Thread Ezequiel Garcia
Separate the spi helpers to v4l2-spi.c, in order to get rid of the ifdefery. No functional changes intended, this is just a cosmetic change to organize the code better. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/Makefile | 1 + drivers/media/v4l2-core/v4l2-common.c | 65 ---

[PATCH 5/6] media: v4l2-core: introduce a helper to unregister a SPI subdev

2019-07-15 Thread Ezequiel Garcia
Introduce a new video4linux2 SPI helper, to unregister a subdev. This allows to get rid of some more ifdefs. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-device.c | 14 ++ drivers/media/v4l2-core/v4l2-spi.c| 8 include/media/v4l2-common.h |

[PATCH 5/6] media: v4l2-core: introduce an unregister spi subdev helper

2019-07-15 Thread Ezequiel Garcia
Introduce a new video4linux2 SPI helper, to unregister a subdev. This allows to get rid of some more ifdefs. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-device.c | 14 ++ drivers/media/v4l2-core/v4l2-spi.c| 8 include/media/v4l2-common.h |

Nachricht

2019-07-15 Thread Martin Winkler
Sehr geehrte Damen und Herren, nach unserem Besuch Ihrer Homepage möchten wir Ihnen ein Angebot von Produkten vorstellen, das Ihnen ermöglichen wird, den Verkauf Ihrer Produkte sowie Dienstleistungen deutlich zu erhöhen. Die Datenbanken der Firmen sind in für Sie interessante und relevante Zie

Re: [RFC PATCH 0/5] Add enum_fmt flag for coded formats with dynamic resolution switching

2019-07-15 Thread Hans Verkuil
On 6/11/19 10:13 AM, Hans Verkuil wrote: > On 6/9/19 4:38 PM, Maxime Jourdan wrote: >> Hello, >> >> This RFC proposes a new format flag - V4L2_FMT_FLAG_DYN_RESOLUTION - used >> to tag coded formats for which the device supports dynamic resolution >> switching, via V4L2_EVENT_SOURCE_CHANGE. >> This

Re: [PATCH 4/6] s5p-cec: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Marek Szyprowski
Hi Hans, On 2019-07-15 12:30, Hans Verkuil wrote: > Use cec_notifier_cec_adap_(un)register instead of > cec_notifier_get, cec_notifier_put and cec_register_cec_notifier. > > Also enable the CEC_CAP_CONNECTOR_INFO capability. > > Signed-off-by: Hans Verkuil > Cc: Marek Szyprowski > Cc: Sylwester

Re: [PATCH v2 2/3] [media] mceusb: Reword messages referring to "urb"

2019-07-15 Thread Sean Young
Hi, On Tue, Jun 25, 2019 at 05:29:02PM -0400, A Sun wrote: > > Hi again, > > On 6/25/2019 12:12 PM, Sean Young wrote: > > Hello, > > > > On Tue, Jun 25, 2019 at 11:01:32AM -0400, A Sun wrote: > >> On 6/25/2019 6:51 AM, Sean Young wrote: > >>> On Wed, Jun 19, 2019 at 03:54:21AM -0400, A Sun wrot

Help with OV5640 camera and Bayer format

2019-07-15 Thread Laura Nao
Hi all, I'm trying to enable RAW format on a ov5640 camera. I'm using a custom imx8mm based board, with a 4.14 kernel based on the rel_imx_4.14.98_2.0.0_ga branch from nxp. I tried capturing some RAW frames using v4l-utils using the following commands: - RAW8: v4l2-ctl -d /dev/video0 --verbo

Re: [PATCH v2 0/5] cec: convert remaining drivers to the new notifier API

2019-07-15 Thread Hans Verkuil
Hi Dariusz, On 7/1/19 4:59 PM, Dariusz Marcinkiewicz wrote: > This series updates remaining drivers in DRM to use new CEC notifier API. > > Those complement the "cec: improve notifier support, add > connector info" patch series and also replace 2 following patches from > there: > - [PATCHv8 09/13

Kindly Respond

2019-07-15 Thread Donald Douglas
Hello, I am Barr Fredrick Mbogo a business consultant i have a lucrative business to discuss with you from the Eastern part of Africa Uganda to be precise aimed at agreed percentage upon your acceptance of my hand in business and friendship. Kindly respond to me if you are interested to partner wit

Re: [PATCH v2 5/5] drm: exynos: exynos_hdmi: use cec_notifier_conn_(un)register

2019-07-15 Thread Hans Verkuil
On 7/1/19 4:59 PM, Dariusz Marcinkiewicz wrote: > Use the new cec_notifier_conn_(un)register() functions to > (un)register the notifier for the HDMI connector, and fill in > the cec_connector_info. > > Signed-off-by: Dariusz Marcinkiewicz > --- > drivers/gpu/drm/exynos/exynos_hdmi.c | 33 +++

Re: [PATCH v2 4/5] drm: dw-hdmi: use cec_notifier_conn_(un)register

2019-07-15 Thread Hans Verkuil
On 7/1/19 4:59 PM, Dariusz Marcinkiewicz wrote: > Use the new cec_notifier_conn_(un)register() functions to > (un)register the notifier for the HDMI connector, and fill in > the cec_connector_info. > > Changes since v1: > Add memory barrier to make sure that the notifier > becomes visi

Re: [PATCH v2 3/5] drm: tegra: use cec_notifier_conn_(un)register

2019-07-15 Thread Hans Verkuil
On 7/1/19 4:59 PM, Dariusz Marcinkiewicz wrote: > Use the new cec_notifier_conn_(un)register() functions to > (un)register the notifier for the HDMI connector, and fill in > the cec_connector_info. > > Signed-off-by: Dariusz Marcinkiewicz > --- > drivers/gpu/drm/tegra/output.c | 18 +++--

Re: [PATCH v1] media: dvb: Add devm_dvb_register_adapter

2019-07-15 Thread Marc Gonzalez
On 12/07/2019 18:26, Jonathan Neuschäfer wrote: > On Fri, Jul 12, 2019 at 04:19:20PM +0200, Marc Gonzalez wrote: > >> Add devm* variant for automagic resource release. > > S-o-b missing. > >> +int devm_dvb_register_adapter(struct device *dev, struct dvb_adapter *adap, >> +const char

Re: [PATCH v2 2/5] drm: sti: use cec_notifier_conn_(un)register

2019-07-15 Thread Hans Verkuil
On 7/1/19 4:59 PM, Dariusz Marcinkiewicz wrote: > Use the new cec_notifier_conn_(un)register() functions to > (un)register the notifier for the HDMI connector, and fill > in the cec_connector_info. > > Signed-off-by: Dariusz Marcinkiewicz > --- > drivers/gpu/drm/sti/sti_hdmi.c | 20 +

Re: [PATCH v2 1/5] drm: tda998x: use cec_notifier_conn_(un)register

2019-07-15 Thread Hans Verkuil
On 7/1/19 4:59 PM, Dariusz Marcinkiewicz wrote: > Use the new cec_notifier_conn_(un)register() functions to > (un)register the notifier for the HDMI connector, and fill > in the cec_connector_info. > > Changes since v1: > Add memory barrier to make sure that the notifier > becomes visi

[PATCH 3/6] seco-cec: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Hans Verkuil
Use cec_notifier_cec_adap_(un)register instead of cec_notifier_get_conn, cec_notifier_put and cec_register_cec_notifier. Also enable the CEC_CAP_CONNECTOR_INFO capability. Signed-off-by: Hans Verkuil Cc: Ettore Chimenti --- drivers/media/platform/seco-cec/seco-cec.c | 55 --

[PATCH 6/6] tegra-cec: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Hans Verkuil
Use cec_notifier_cec_adap_(un)register instead of cec_notifier_get, cec_notifier_put and cec_register_cec_notifier. Also enable the CEC_CAP_CONNECTOR_INFO capability. Signed-off-by: Hans Verkuil Cc: Thierry Reding --- drivers/media/platform/tegra-cec/tegra_cec.c | 35 ++-- 1 fi

[PATCH 2/6] cros-ec-cec: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Hans Verkuil
Use cec_notifier_cec_adap_(un)register instead of cec_notifier_get_conn, cec_notifier_put and cec_register_cec_notifier. Also enable the CEC_CAP_CONNECTOR_INFO capability. Signed-off-by: Hans Verkuil Cc: Neil Armstrong --- .../media/platform/cros-ec-cec/cros-ec-cec.c | 68 +++

[PATCH 4/6] s5p-cec: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Hans Verkuil
Use cec_notifier_cec_adap_(un)register instead of cec_notifier_get, cec_notifier_put and cec_register_cec_notifier. Also enable the CEC_CAP_CONNECTOR_INFO capability. Signed-off-by: Hans Verkuil Cc: Marek Szyprowski Cc: Sylwester Nawrocki --- drivers/media/platform/s5p-cec/s5p_cec.c | 23

[PATCH 5/6] stih-cec: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Hans Verkuil
Use cec_notifier_cec_adap_(un)register instead of cec_notifier_get, cec_notifier_put and cec_register_cec_notifier. Also enable the CEC_CAP_CONNECTOR_INFO capability. Signed-off-by: Hans Verkuil Cc: Benjamin Gaignard --- drivers/media/platform/sti/cec/stih-cec.c | 32 ++- 1

[PATCH 0/6] media: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Hans Verkuil
This series converts all media cec adapter drivers to use cec_notifier_cec_adap_(un)register instead of cec_notifier_get(_conn), cec_notifier_put and cec_register_cec_notifier. Also enable the CEC_CAP_CONNECTOR_INFO capability. The CEC_CAP_CONNECTOR_INFO capability is not yet exposed, that will b

[PATCH 1/6] meson/ao-cec: use cec_notifier_cec_adap_(un)register

2019-07-15 Thread Hans Verkuil
Use the new cec_notifier_cec_adap_(un)register() functions to (un)register the notifier for the CEC adapter. Signed-off-by: Hans Verkuil Cc: Neil Armstrong --- drivers/media/platform/meson/ao-cec-g12a.c | 48 +++--- drivers/media/platform/meson/ao-cec.c | 44 +--

Loan offer !!

2019-07-15 Thread Smith Jerry
Do you need a Loan? email us now on kasaperkolo...@yahoo.com.hk and get more details on the loan we offer