cron job: media_tree daily build: WARNINGS

2017-01-27 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 Jan 28 05:00:19 CET 2017 media-tree git hash:40eca140c404505c09773d1c6685d818cb55ab1a media_build git

Fwd: Upside down webcam

2017-01-27 Thread Hamidreza Jafari
Hello, There is a problem with the webcam that uses v4l code. If anyone has a hint, contact me on hamidrjaf...@gmail.com since I am going off the mailing list since The mailing list is sending numerous notifications Hamid با سپاس، حمیدرضا جعفری ‎-- Forwarded message --‎ From: Ha

Re: [PATCH 6/6] staging: bcm2835-v4l2: Apply spelling fixes from checkpatch.

2017-01-27 Thread Joe Perches
On Fri, 2017-01-27 at 13:55 -0800, Eric Anholt wrote: > Generated with checkpatch.pl --fix-inplace and git add -p out of the > results. Maybe another. > diff --git a/drivers/staging/media/platform/bcm2835/mmal-vchiq.c > b/drivers/staging/media/platform/bcm2835/mmal-vchiq.c [] > @@ -239,7 +239,7

[GIT PULL 4.11] af9035 misc changes

2017-01-27 Thread Antti Palosaari
The following changes since commit d183e4efcae8d88a2f252e546978658ca6d273cc: [media] v4l: tvp5150: Add missing break in set control handler (2016-12-12 07:49:58 -0200) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git af9035 for you to fetch changes up to 93

Re: [ANN] Media object lifetime management meeting report from Oslo

2017-01-27 Thread Sakari Ailus
Hi Mauro, Obrigado for the comments! Please see my replies below. On Fri, Jan 27, 2017 at 09:38:31AM -0200, Mauro Carvalho Chehab wrote: > Hi Sakari/Hans/Laurent, > > First of all, thanks for looking into those issues. Unfortunately, I was in > vacations, and were not able to be with you there f

[PATCH 5/6] staging: bcm2835-v4l2: Apply many whitespace fixes from checkpatch.

2017-01-27 Thread Eric Anholt
Generated with checkpatch.pl --fix-inplace, some manual fixes for cases where checkpatch fixed one out of multiple lines of mis-indented function parameters, and then git add -p out of the results. I skipped some fixes that should probably instead be replaced with the BIT() macro. Signed-off-by:

[PATCH 6/6] staging: bcm2835-v4l2: Apply spelling fixes from checkpatch.

2017-01-27 Thread Eric Anholt
Generated with checkpatch.pl --fix-inplace and git add -p out of the results. Signed-off-by: Eric Anholt --- drivers/staging/media/platform/bcm2835/bcm2835-camera.c | 6 +++--- drivers/staging/media/platform/bcm2835/mmal-vchiq.c | 12 ++-- 2 files changed, 9 insertions(+), 9 deletio

[PATCH 4/6] staging: bcm2835-v4l2: Add a TODO file for improvements we need.

2017-01-27 Thread Eric Anholt
Signed-off-by: Eric Anholt --- drivers/staging/media/platform/bcm2835/TODO | 39 + 1 file changed, 39 insertions(+) create mode 100644 drivers/staging/media/platform/bcm2835/TODO diff --git a/drivers/staging/media/platform/bcm2835/TODO b/drivers/staging/media/platfo

[PATCH 3/6] staging: bcm2835-v4l2: Add a build system for the module.

2017-01-27 Thread Eric Anholt
This is derived from the downstream tree's build system, but with just a single Kconfig option. For now the driver only builds on 32-bit arm -- the aarch64 build breaks due to the driver using arm-specific cache flushing functions. Signed-off-by: Eric Anholt --- drivers/staging/media/Kconfig

[PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver

2017-01-27 Thread Eric Anholt
Here's my first pass at importing the camera driver. There's a bunch of TODO left to it, most of which is documented, and the rest being standard checkpatch fare. Unfortunately, when I try modprobing it on my pi3, the USB network device dies, consistently. I'm not sure what's going on here yet,

[PATCH 2/6] staging: bcm2835-v4l2: Update the driver to the current VCHI API.

2017-01-27 Thread Eric Anholt
49bec49fd7f2 ("staging: vc04_services: remove vchiq_copy_from_user") removed the flags/msg_handle arguments, which were unused, and pushed the implementation of copying using memcpy vs copy_from_user to the caller. Signed-off-by: Eric Anholt --- drivers/staging/media/platform/bcm2835/mmal-vchiq.

[GIT PULL 4.11] si2168 ber and ucb statistics

2017-01-27 Thread Antti Palosaari
The following changes since commit d183e4efcae8d88a2f252e546978658ca6d273cc: [media] v4l: tvp5150: Add missing break in set control handler (2016-12-12 07:49:58 -0200) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git si2168 for you to fetch changes up to 7a

[PATCH 1/2] MAINTAINERS: remove hd29l2

2017-01-27 Thread Antti Palosaari
Drop unused driver. Signed-off-by: Antti Palosaari --- MAINTAINERS | 10 -- 1 file changed, 10 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 52cc077..761a3cc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5595,16 +5595,6 @@ L: linux-par...@vger.kernel.org S: Maint

[PATCH 2/2] hd29l2: remove unused driver

2017-01-27 Thread Antti Palosaari
Remove unused demod driver. Device that used it never went public. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/Kconfig | 7 - drivers/media/dvb-frontends/Makefile | 1 - drivers/media/dvb-frontends/hd29l2.c | 870 -- drivers/medi

[PATCH v3 3/7] zd1301_demod: ZyDAS ZD1301 DVB-T demodulator driver

2017-01-27 Thread Antti Palosaari
ZyDAS ZD1301 is chip having USB interface and DVB-T demodulator integrated. This driver is for demodulator part. Driver is very reduced, just basic demodulator functionality, no statistics at all. It registers as a platform driver to driver core. Signed-off-by: Antti Palosaari --- drivers/media/

[PATCH v3 6/7] MAINTAINERS: add zd1301 DVB USB interface driver

2017-01-27 Thread Antti Palosaari
DVB USB interface driver for ZyDAS ZD1301 chip. Signed-off-by: Antti Palosaari --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 26ae0ac..101be59 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13389,6 +13389,15 @@ Q: https://patchwo

[PATCH v3 7/7] mt2060: implement sleep

2017-01-27 Thread Antti Palosaari
I saw from ZyDAS ZD1301 sniffs it sets chip sleeping by using REG_MISC_CTRL. That has very huge effect for power management, around 0.9W. Sleep is still disabled for all the old hardware just to avoid possible regression as meaning of register bits are unknown. I tested it also with some other dev

[PATCH v3 5/7] zd1301: ZyDAS ZD1301 DVB USB interface driver

2017-01-27 Thread Antti Palosaari
ZyDAS ZD1301 is chip having USB interface and DVB-T demodulator integrated. This driver is for USB interface part. Device has USB ID 0ace:13a1. Used tuner is MT2060. Signed-off-by: Antti Palosaari --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb-v2/Kconfig | 8 +

[PATCH v3 4/7] MAINTAINERS: add zd1301_demod driver

2017-01-27 Thread Antti Palosaari
DVB-T demodulator driver for ZyDAS ZD1301 chip. Signed-off-by: Antti Palosaari --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 52cc077..26ae0ac 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13380,6 +13380,15 @@ L: zd1211-d...@list

[PATCH v3 1/7] mt2060: add i2c bindings

2017-01-27 Thread Antti Palosaari
Add proper i2c driver model bindings. Signed-off-by: Antti Palosaari --- drivers/media/tuners/mt2060.c | 83 ++ drivers/media/tuners/mt2060.h | 20 + drivers/media/tuners/mt2060_priv.h | 2 + 3 files changed, 105 insertions(+) diff --git a/

[PATCH v3 2/7] mt2060: add param to split long i2c writes

2017-01-27 Thread Antti Palosaari
Add configuration parameter to split long i2c writes as some I2C adapters cannot write 10 bytes used as a one go. Signed-off-by: Antti Palosaari --- drivers/media/tuners/mt2060.c | 21 + drivers/media/tuners/mt2060.h | 3 +++ drivers/media/tuners/mt2060_priv.h | 1

[patch] [media] add device IDs to ngene

2017-01-27 Thread vdr
Author: Helmut Auer Date: Fri Jan 27 09:09:35 2017 +0100 Adding 2 device ID's to ngene driver. Signed-off-by: Helmut Auer diff --git a/drivers/media/pci/ngene/ngene-cards.c b/drivers/media/pci/ngene/ngene-cards.c index 423e8c8..88815bd 100644 --- a/drivers/media/pci/ngene/ngene-cards

Re: [PATCH v6 0/5] davinci: VPIF: add DT support

2017-01-27 Thread Kevin Hilman
On Fri, Dec 16, 2016 at 4:49 PM, Kevin Hilman wrote: > Hans Verkuil writes: > >> On 07/12/16 19:30, Kevin Hilman wrote: >>> Prepare the groundwork for adding DT support for davinci VPIF drivers. >>> This series does some fixups/cleanups and then adds the DT binding and >>> DT compatible string ma

Upside down webcam

2017-01-27 Thread Hamidreza Jafari
Hello, https://linuxtv.org/wiki/index.php/Libv4l_Upside_Down_Webcams The webcam is upside down and the solution does not work (as it did in a previous Ubuntu version). On Kubuntu 16.10 with 4.8.0-34 kernel I installed an app called Webcamoid to test and ran the following commands: $export LIBV4L

DRM Atomic property for color-space conversion

2017-01-27 Thread Brian Starkey
Hi, We're looking to enable the per-plane color management hardware in Mali-DP with atomic properties, which has sparked some conversation around how to handle YCbCr formats. As it stands today, it's assumed that a driver will implicitly "do the right thing" to display a YCbCr buffer. YCbCr dat

Re: musb: isoc pkt loss with pwc

2017-01-27 Thread Matwey V. Kornilov
2016-11-01 23:33 GMT+03:00 Bin Liu : > On Sat, Oct 15, 2016 at 10:25:42PM +0300, Matwey V. Kornilov wrote: > > [snip] > >> >>> > Which means without this commit your camera has been working without >> >>> > issues, and this is a regression with this commit, right? >> >>> > >> >>> >> >>> Right >> >>

RE: [PATCH v2 6/7] dt-bindings: media: Add Renesas R-Car DRIF binding

2017-01-27 Thread Ramesh Shanmugasundaram
Hi Hans, Many thanks for the response & comments. > Subject: Re: [PATCH v2 6/7] dt-bindings: media: Add Renesas R-Car DRIF > binding > > On 01/10/2017 10:31 AM, Ramesh Shanmugasundaram wrote: > > Hi Laurent, > > > >> On Wednesday 21 Dec 2016 08:10:37 Ramesh Shanmugasundaram wrote: > >>>

[PATCH] [MEDIA] add device IDs to ngene

2017-01-27 Thread vdr
Author: Helmut Auer Date: Fri Jan 27 09:09:35 2017 +0100 Adding 2 device ID's to ngene driver. Signed-off-by: Helmut Auer diff --git a/drivers/media/pci/ngene/ngene-cards.c b/drivers/media/pci/ngene/ngene-cards.c index 423e8c8..88815bd 100644 --- a/drivers/media/pci/ngene/ngene-card

Re: [PATCH] v4l: of: check for unique lanes in data-lanes and clock-lanes

2017-01-27 Thread Sakari Ailus
Hi Niklas, On Thu, Jan 26, 2017 at 02:12:59PM +0100, Niklas Söderlund wrote: > All lines in data-lanes and clock-lanes properties must be unique. > Instead of drivers checking for this add it to the generic parser. > > Signed-off-by: Niklas Söderlund > --- > drivers/media/v4l2-core/v4l2-of.c |

Re: [ANN] Media object lifetime management meeting report from Oslo

2017-01-27 Thread Mauro Carvalho Chehab
Hi Sakari/Hans/Laurent, First of all, thanks for looking into those issues. Unfortunately, I was in vacations, and were not able to be with you there for such discussions. While I have a somewhat different view on some of the introductory points of this RFC, what really matters is the "proposal"

Re: [PATCH v2 6/7] dt-bindings: media: Add Renesas R-Car DRIF binding

2017-01-27 Thread Hans Verkuil
On 01/10/2017 10:31 AM, Ramesh Shanmugasundaram wrote: > Hi Laurent, > >> On Wednesday 21 Dec 2016 08:10:37 Ramesh Shanmugasundaram wrote: >>> Add binding documentation for Renesas R-Car Digital Radio >>> Interface >>> (DRIF) controller. >>> >>> Signed-off-by: Ramesh Shanmu

Re: [ANN] Media object lifetime management meeting report from Oslo

2017-01-27 Thread Sakari Ailus
On Fri, Jan 27, 2017 at 12:08:22PM +0200, Sakari Ailus wrote: > 2016-01-13 As the most attentive of you have noticed, this should have been 2017-01-13. The New Year just doesn't always take effect immediately. :-) -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk -- To

[PATCH] [media] v4l2-async: failing functions shouldn't have side effects

2017-01-27 Thread Tuukka Toivonen
v4l2-async had several functions doing some operations and then not undoing the operations in a failure situation. For example, v4l2_async_test_notify() moved a subdev into notifier's done list even if registering the subdev (v4l2_device_register_subdev) failed. If the subdev was allocated and v4l2

[GIT PULL for v4.10-rc6] media fixes

2017-01-27 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.10-2 For some fixes for -rc6: - fix a regression on tvp5150 causing failures at input selection and image glitches; - CEC was moved out of staging for v4.10. Fix some bugs on it

[ANN] Media object lifetime management meeting report from Oslo

2017-01-27 Thread Sakari Ailus
Hello everyone, Please read below my report on resolving object lifetime issues in V4L2 and Media controller frameworks. The document is rather long but worth reading if you're interested in the topic. Sakari Ailus, Laurent Pinchart and Hans Verkuil present 2016-01-13 Introduction to the probl

Re: [patch] [media] mantis_dvb: fix some error codes in mantis_dvb_init()

2017-01-27 Thread Dan Carpenter
You're, of course, correct that this code could be cleaned up... regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch] [media] mantis_dvb: fix some error codes in mantis_dvb_init()

2017-01-27 Thread walter harms
Am 27.01.2017 09:06, schrieb Dan Carpenter: > We should be returning negative error codes here or it leads to a crash. > This also silences a static checker warning. > > drivers/media/pci/mantis/mantis_cards.c:250 mantis_pci_probe() > warn: 'mantis->dmxdev.dvbdev->fops' double freed

[patch] [media] mantis_dvb: fix some error codes in mantis_dvb_init()

2017-01-27 Thread Dan Carpenter
We should be returning negative error codes here or it leads to a crash. This also silences a static checker warning. drivers/media/pci/mantis/mantis_cards.c:250 mantis_pci_probe() warn: 'mantis->dmxdev.dvbdev->fops' double freed Signed-off-by: Dan Carpenter diff --git a/drivers