cron job: media_tree daily build: ERRORS

2014-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: Sun Dec 21 04:00:16 CET 2014 git branch: test git hash: 427ae153c65ad7a08288d86baf99000569627d03 gcc versio

[RESEND PATCH] media: fix au0828_analog_register() to not free au0828_dev

2014-12-20 Thread Shuah Khan
au0828_analog_register() frees au0828_dev when it fails to locate isoc endpoint. au0828_usb_probe() continues with dvb and rc probe and registration assuming dev is still valid. When au0828_analog_register() fails to locate isoc endpoint, it should return without free'ing au0828_dev. Otherwise, the

Re: [PATCH] media: pci: cx18: cx18-alsa-mixer.c: Remove some unused functions

2014-12-20 Thread Andy Walls
On December 20, 2014 8:17:05 PM EST, Rickard Strandqvist wrote: >2014-12-21 1:06 GMT+01:00 Andy Walls : >> On December 20, 2014 5:35:17 PM EST, Rickard Strandqvist > wrote: >>>Removes some functions that are not used anywhere: >>>snd_cx18_mixer_tv_vol_get() snd_cx18_mixer_tv_vol_info() >>>snd_cx1

Re: [PATCH] media: pci: cx18: cx18-alsa-mixer.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
2014-12-21 1:06 GMT+01:00 Andy Walls : > On December 20, 2014 5:35:17 PM EST, Rickard Strandqvist > wrote: >>Removes some functions that are not used anywhere: >>snd_cx18_mixer_tv_vol_get() snd_cx18_mixer_tv_vol_info() >>snd_cx18_mixer_tv_vol_put() >> >>This was partially found by using a static

Re: [PATCH] media: pci: cx18: cx18-alsa-mixer.c: Remove some unused functions

2014-12-20 Thread Andy Walls
On December 20, 2014 5:35:17 PM EST, Rickard Strandqvist wrote: >Removes some functions that are not used anywhere: >snd_cx18_mixer_tv_vol_get() snd_cx18_mixer_tv_vol_info() >snd_cx18_mixer_tv_vol_put() > >This was partially found by using a static code analysis program called >cppcheck. > >Signe

Re: [RFC][PATCH] mn88472: add support for the mn88473 demod

2014-12-20 Thread Benjamin Larsson
This is what mn88473 support in the mn88472 demod driver could look like. The code is untested but will look similar in the final version. It is also possible to let the driver figure out the demod version from the 0xff register. Then the users would not need to set that parameter. Same goes to

[RFC][PATCH] mn88472: add support for the mn88473 demod

2014-12-20 Thread Benjamin Larsson
Factor out the bw_val data to a table and load data from it depending on the configured demod. Signed-off-by: Benjamin Larsson --- drivers/media/dvb-frontends/mn88472.h| 30 + drivers/staging/media/mn88472/mn88472.c | 66 ++-- drivers/staging/medi

[PATCHv2 1/2] regmap: add configurable lock class key for lockdep

2014-12-20 Thread Antti Palosaari
Lockdep validator complains recursive locking and deadlock when two different regmap instances are called in a nested order, as regmap groups locks by default. That happens easily for example when both I2C client and I2C adapter are using regmap. As a solution, add configuration option to pass cust

[PATCHv2 2/2] rtl2832: use custom lock class key for regmap

2014-12-20 Thread Antti Palosaari
There was nested locking error shown by lockdep validator when both demod and tuner drivers were using regmap. That is false positive coming from the reason lockdep groups mutexes to 'classes'. That leads situation both tuner driver and demod driver regmap mutex is seen as a same mutex, even those

[PATCH] media: pci: cx18: cx18-alsa-mixer.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: snd_cx18_mixer_tv_vol_get() snd_cx18_mixer_tv_vol_info() snd_cx18_mixer_tv_vol_put() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/pci/cx18/cx18-alsa-mix

Re: [RFC PATCH 5/8] media/i2c/Kconfig: drop superfluous MEDIA_CONTROLLER

2014-12-20 Thread Laurent Pinchart
Hi Hans, On Friday 19 December 2014 13:21:29 Hans Verkuil wrote: > On 12/19/2014 01:18 PM, Laurent Pinchart wrote: > > On Friday 19 December 2014 12:44:46 Hans Verkuil wrote: > >> On 12/08/2014 12:38 AM, Laurent Pinchart wrote: > >>> On Thursday 04 December 2014 10:54:56 Hans Verkuil wrote: >

Re: [PATCH/RFC] v4l: vsp1: Add format for Mem2Mem Playback

2014-12-20 Thread Laurent Pinchart
Hello Kaneko-san, Thank you for the patch. On Saturday 20 December 2014 23:16:03 Yoshihiro Kaneko wrote: > From: Hiroki Negishi > > Signed-off-by: Hiroki Negishi > Signed-off-by: Yoshifumi Hosoya > Signed-off-by: Yoshihiro Kaneko > --- > > This patch is based on the master branch of linuxt

Re: [BUG] Hauppage HVR-2250 - No Free Sequences

2014-12-20 Thread Kyle Sanderson
[891338.817585] s5h1411_readreg: readreg error (ret == -5) [891338.817591] saa7164_cmd_send() No free sequences [891338.817594] saa7164_api_i2c_read() error, ret(1) = 0xc [891338.817597] s5h1411_readreg: readreg error (ret == -5) [891338.817602] saa7164_cmd_send() No free sequences [891338.817604]

cx23885: Add si2165 support for HVR-5500

2014-12-20 Thread Antti Palosaari
Matthias and Mauro, so you decided to add that patch, which makes rather big changes for existing HVR-4400 models, without any testing. I plugged HVR-4400 version that has only DVB-S2 in my machine in order to start finding out one lockdep issue but what I see is bad HVR-4400. ***

Re: [PATCH 0/8] Fix issues in em28xx

2014-12-20 Thread Russell King - ARM Linux
On Sat, Dec 20, 2014 at 03:10:04PM +0100, Frank Schäfer wrote: > > Am 20.12.2014 um 13:44 schrieb Russell King - ARM Linux: > > It isn't clear who is the maintainer for this driver; there is no > > MAINTAINERS entry. If there is a maintainer, please ensure that they > > add themselves to this cri

Re: [PATCH 1/8] [media] em28xx: fix em28xx-input removal

2014-12-20 Thread Russell King - ARM Linux
On Sat, Dec 20, 2014 at 03:11:54PM +0100, Frank Schäfer wrote: > Hi Russel, I guess you won't mind if I mis-spell your name too... > I'd prefer to keep the button initialization related stuff together in > em28xx_init_buttons() and do the cancel_delayed_work_sync() only if we > have buttons (dev-

[PATCH/RFC] v4l: vsp1: Add format for Mem2Mem Playback

2014-12-20 Thread Yoshihiro Kaneko
From: Hiroki Negishi Signed-off-by: Hiroki Negishi Signed-off-by: Yoshifumi Hosoya Signed-off-by: Yoshihiro Kaneko --- This patch is based on the master branch of linuxtv.org/media_tree.git. drivers/media/platform/vsp1/vsp1_video.c | 3 +++ include/uapi/linux/videodev2.h | 3 +++

Re: [PATCH 0/8] Fix issues in em28xx

2014-12-20 Thread Frank Schäfer
Am 20.12.2014 um 13:44 schrieb Russell King - ARM Linux: > It isn't clear who is the maintainer for this driver; there is no > MAINTAINERS entry. If there is a maintainer, please ensure that they > add themselves to this critical file. Thanks. (line 3598) EM28XX VIDEO4LINUX DRIVER M:Mauro

[PATCH] media: Pinnacle 73e infrared control stopped working since kernel 3.17

2014-12-20 Thread David Cimbůrek
Hi, with kernel 3.17 remote control for Pinnacle 73e (ID 2304:0237 Pinnacle Systems, Inc. PCTV 73e [DiBcom DiB7000PC]) does not work anymore. I checked the changes and found out the problem in commit af3a4a9bbeb00df3e42e77240b4cdac5479812f9. In dib0700_core.c in struct dib0700_rc_response the fo

[PATCH 3/8] [media] em28xx-input: fix missing newlines

2014-12-20 Thread Russell King
Inspection shows that newlines are missing from several kernel messages in em28xx-input. Fix these. Cc: Fixes: 5025076aadfe ("[media] em28xx-input: implement em28xx_ops: suspend/resume hooks") Signed-off-by: Russell King --- drivers/media/usb/em28xx/em28xx-input.c | 4 ++-- 1 file changed, 2

[PATCH 8/8] [media] em28xx-video: fix missing newlines

2014-12-20 Thread Russell King
Inspection shows that newlines are missing from several kernel messages in em28xx-video. Fix these. Cc: Fixes: a61f68119af3 ("[media] em28xx-video: implement em28xx_ops: suspend/resume hooks") Signed-off-by: Russell King --- drivers/media/usb/em28xx/em28xx-video.c | 4 ++-- 1 file changed, 2

[PATCH 2/8] [media] em28xx: ensure "closing" messages terminate with a newline

2014-12-20 Thread Russell King
The lockdep splat addressed in a previous commit revealed that at least one message in em28xx-input.c was missing a new line: em28178 #0: Closing input extensionINFO: trying to register non-static key. Further inspection shows several other messages also miss a new line. These will be fixed in a

[PATCH 4/8] [media] em28xx-core: fix missing newlines

2014-12-20 Thread Russell King
Inspection shows that newlines are missing from several kernel messages in em28xx-core. Fix these. Cc: Fixes: 9c669b731470 ("[media] em28xx: add suspend/resume to em28xx_ops") Signed-off-by: Russell King --- drivers/media/usb/em28xx/em28xx-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de

[PATCH 5/8] [media] em28xx-audio: fix missing newlines

2014-12-20 Thread Russell King
Inspection shows that newlines are missing from several kernel messages in em28xx-audio. Fix these. Cc: Fixes: 1b3fd2d34266 ("[media] em28xx-audio: don't hardcode audio URB calculus") Signed-off-by: Russell King --- drivers/media/usb/em28xx/em28xx-audio.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH 6/8] [media] em28xx-audio: fix missing newlines

2014-12-20 Thread Russell King
Inspection shows that newlines are missing from several kernel messages in em28xx-audio. Fix these. Cc: Fixes: 6d746f91f230 ("[media] em28xx-audio: implement em28xx_ops: suspend/resume hooks") Signed-off-by: Russell King --- drivers/media/usb/em28xx/em28xx-audio.c | 4 ++-- 1 file changed, 2

[PATCH 7/8] [media] em28xx-dvb: fix missing newlines

2014-12-20 Thread Russell King
Inspection shows that newlines are missing from several kernel messages in em28xx-dvb. Fix these. Cc: Fixes: ca2b46dacbf5 ("[media] em28xx-dvb: implement em28xx_ops: suspend/resume hooks") Signed-off-by: Russell King --- drivers/media/usb/em28xx/em28xx-dvb.c | 12 ++-- 1 file changed,

[PATCH 1/8] [media] em28xx: fix em28xx-input removal

2014-12-20 Thread Russell King
Removing the em28xx-rc module results in the following lockdep splat, which is caused by trying to call cancel_delayed_work_sync() on an uninitialised delayed work. Fix this by ensuring we always initialise the work. INFO: trying to register non-static key. the code is fine but needs lockdep anno

[PATCH 0/8] Fix issues in em28xx

2014-12-20 Thread Russell King - ARM Linux
While testing a PCTV tripleSTICK 292e, a couple of issues were discovered. Firstly, disconnecting the device causes a lockdep splat, which is addressed in the first patch. Secondly, a number of kernel messages are missing their terminating newline characters, and these are spread over a range of

[PATCH 01/15] media: blackfin: bfin_capture: drop buf_init() callback

2014-12-20 Thread Lad, Prabhakar
this patch drops the buf_init() callback as init of buf list is not required. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blac

[PATCH 00/15] media: blackfin: bfin_capture enhancements

2014-12-20 Thread Lad, Prabhakar
Hi Scott, Although I was on holiday but couldn't resist myself from working, since I was away from my hardware I had to choose a different one, blackfin driver was lucky one. Since I don't have the blackfin board I haven't tested them on the actual board, but just compile tested, Can you please te

[PATCH 06/15] media: blackfin: bfin_capture: use vb2_fop_mmap/poll

2014-12-20 Thread Lad, Prabhakar
No need to reinvent the wheel. Just use the already existing functions provided by vb2. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 28 +++--- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/drivers/media/platform/blackfin

[PATCH 07/15] media: blackfin: bfin_capture: use v4l2_fh_open and vb2_fop_release

2014-12-20 Thread Lad, Prabhakar
this patch adds support to use v4l2_fh_open() and vb2_fop_release, which allows to drop driver specific struct bcap_fh, as this is handled by core. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 79 +- 1 file changed, 2 insertions(+), 7

[PATCH 03/15] media: blackfin: bfin_capture: set min_buffers_needed

2014-12-20 Thread Lad, Prabhakar
this patch sets the min_buffers_needed field of the vb2 queue so that the vb2 core will make sure start_streaming() callback is called only when we have minimum buffers queued. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 08/15] media: blackfin: bfin_capture: use vb2_ioctl_* helpers

2014-12-20 Thread Lad, Prabhakar
this patch adds support to vb2_ioctl_* helpers. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 107 + 1 file changed, 22 insertions(+), 85 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platfo

[PATCH 05/15] media: blackfin: bfin_capture: improve queue_setup() callback

2014-12-20 Thread Lad, Prabhakar
this patch improves the queue_setup() callback. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_c

[PATCH 02/15] media: blackfin: bfin_capture: release buffers in case start_streaming() call back fails

2014-12-20 Thread Lad, Prabhakar
this patch adds support to release the buffer by calling vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED if start_streaming() call back fails. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 16 +--- 1 file changed, 13 insertions(+), 3

[PATCH 15/15] media: blackfin: bfin_capture: set v4l2 buffer sequence

2014-12-20 Thread Lad, Prabhakar
this patch adds support to set the v4l2 buffer sequence. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c inde

[PATCH 11/15] media: blackfin: bfin_capture: return -ENODATA for *dv_timings calls

2014-12-20 Thread Lad, Prabhakar
this patch adds support to return -ENODATA for *dv_timings calls if the current output does not support it. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/media/platform/blackfin/

[PATCH 13/15] media: blackfin: bfin_capture: add support for VB2_DMABUF

2014-12-20 Thread Lad, Prabhakar
this patch adds support for VB2_DMABUF. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index 3887

[PATCH 10/15] media: blackfin: bfin_capture: return -ENODATA for *std calls

2014-12-20 Thread Lad, Prabhakar
this patch adds supports to return -ENODATA to *_std calls if the selected output does not support it. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/media/platform/blackfin/bfin_captur

[PATCH 14/15] media: blackfin: bfin_capture: add support for VIDIOC_EXPBUF

2014-12-20 Thread Lad, Prabhakar
this patch adds support for VIDIOC_EXPBUF. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index 858e333..ff89bae

[PATCH 12/15] media: blackfin: bfin_capture: add support for vidioc_create_bufs

2014-12-20 Thread Lad, Prabhakar
this patch adds support for vidioc_create_bufs. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index f663687..388

[PATCH 09/15] media: blackfin: bfin_capture: make sure all buffers are returned on stop_streaming() callback

2014-12-20 Thread Lad, Prabhakar
In start_streaming() callback the buffer is removed from the dma_queue list and assigned to cur_frm, this patch makes sure that is returned to vb2 core with VB2_BUF_STATE_ERROR flag. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 3 +++ 1 file changed, 3 inser

[PATCH 04/15] media: blackfin: bfin_capture: improve buf_prepare() callback

2014-12-20 Thread Lad, Prabhakar
this patch improves the buf_prepare() callback. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin

Re: [PATCH v2 06/13] clk: sunxi: Make the mod0 clk driver also a platform driver

2014-12-20 Thread Hans de Goede
Hi, On 19-12-14 19:24, Maxime Ripard wrote: Hi, On Wed, Dec 17, 2014 at 06:18:17PM +0100, Hans de Goede wrote: With the prcm in sun6i (and some later SoCs) some mod0 clocks are instantiated through the mfd framework, and as such do not work with of_clk_declare, since they do not have registers

Re: [PATCH v2 12/13] ARM: dts: sun6i: Add sun6i-a31s.dtsi

2014-12-20 Thread Hans de Goede
Hi, On 19-12-14 19:34, Maxime Ripard wrote: On Wed, Dec 17, 2014 at 06:18:23PM +0100, Hans de Goede wrote: Add a dtsi file for A31s based boards. Since the A31s is the same die as the A31 in a different package, this dtsi simply includes sun6i-a31.dtsi and then overrides the pinctrl compatibl

Re: [linux-sunxi] [PATCH v2 04/13] rc: sunxi-cir: Add support for an optional reset controller

2014-12-20 Thread Hans de Goede
Hi, On 19-12-14 19:17, Maxime Ripard wrote: Hi, On Thu, Dec 18, 2014 at 09:50:26AM +0100, Hans de Goede wrote: Hi, On 18-12-14 03:48, Chen-Yu Tsai wrote: Hi, On Thu, Dec 18, 2014 at 1:18 AM, Hans de Goede wrote: On sun6i the cir block is attached to the reset controller, add support for d