[PATCH 2/2] [media] via-camera: Include media/v4l2-image-sizes.h

2014-08-08 Thread Axel Lin
So we can remove the same defines in the driver code. Signed-off-by: Axel Lin --- drivers/media/platform/via-camera.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via-camera.c index b4f9d03..2ac8704 1006

[PATCH 1/2] [media] sh_veu: Include media/v4l2-image-sizes.h

2014-08-08 Thread Axel Lin
So we can remove the same defines in the driver code. Signed-off-by: Axel Lin --- drivers/media/platform/sh_veu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c index 8dc279d..be3b3bc 100644 --- a/drivers/m

[PATCH 4/4] [media] soc_camera: ov772x: Include media/v4l2-image-sizes.h

2014-08-08 Thread Axel Lin
So we can remove the same defines in the driver code. Signed-off-by: Axel Lin --- drivers/media/i2c/soc_camera/ov772x.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/i2c/soc_camera/ov772x.c b/drivers/media/i2c/soc_camera/ov772x.c index 7f2b3c8..970a04e 10

[PATCH 3/4] [media] soc_camera: mt9t112: Include media/v4l2-image-sizes.h

2014-08-08 Thread Axel Lin
So we can remove the same defines in the driver code. Signed-off-by: Axel Lin --- drivers/media/i2c/soc_camera/mt9t112.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/i2c/soc_camera/mt9t112.c b/drivers/media/i2c/soc_camera/mt9t112.c index 46f431a..996d7b4

[PATCH 2/4] [media] vs6624: Include media/v4l2-image-sizes.h

2014-08-08 Thread Axel Lin
So we can remove the same defines in the driver code. Signed-off-by: Axel Lin --- drivers/media/i2c/vs6624.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/media/i2c/vs6624.c b/drivers/media/i2c/vs6624.c index 23f4f65..373f2df 100644 --- a/drivers/medi

[PATCH 1/4] [media] ov7670: Include media/v4l2-image-sizes.h

2014-08-08 Thread Axel Lin
So we can remove the same defines in the driver code. Signed-off-by: Axel Lin --- drivers/media/i2c/ov7670.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/media/i2c/ov7670.c b/drivers/media/i2c/ov7670.c index cdd7c1b..dd3db24 100644 --- a/drivers/medi

cron job: media_tree daily build: WARNINGS

2014-08-08 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 Aug 9 04:00:48 CEST 2014 git branch: test git hash: 0f3bf3dc1ca394a8385079a5653088672b65c5c4 gcc versi

[PATCH 0/2] au0828: au0828_rc_*() defines cleanup

2014-08-08 Thread Shuah Khan
Define au0828_rc_*() stubs to avoid compile errors when VIDEO_AU0828_RC is disabled and avoid the need to enclose au0828_rc_*() in ifdef CONFIG_VIDEO_AU0828_RC in .c files. This patch series adds stubs and fixes places where ifdef is used. Shuah Khan (2): au0828: add au0828_rc_*() stubs for VID

[PATCH 1/2] au0828: add au0828_rc_*() stubs for VIDEO_AU0828_RC disabled case

2014-08-08 Thread Shuah Khan
Define au0828_rc_*() stubs to avoid compile errors when VIDEO_AU0828_RC is disabled and avoid the need to enclose au0828_rc_*() in ifdef CONFIG_VIDEO_AU0828_RC in .c files. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828.h | 15 +++ 1 file changed, 11 insertions(+), 4

[PATCH 2/2] au0828: remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_*()

2014-08-08 Thread Shuah Khan
Remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_register() and au0828_rc_unregister() calls in au0828-core Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/u

Re: [PATCH/RFC v4 00/21] LED / flash API integration

2014-08-08 Thread Bryan Wu
On Thu, Aug 7, 2014 at 11:43 PM, Jacek Anaszewski wrote: > Hi Bryan, > > > On 07/16/2014 07:21 PM, Bryan Wu wrote: >> >> On Wed, Jul 16, 2014 at 10:19 AM, Bryan Wu wrote: >>> >>> On Fri, Jul 11, 2014 at 7:04 AM, Jacek Anaszewski >>> wrote: This is is the fourth version of the patch ser

Re: [PATCH 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-08-08 Thread Vincent Palatin
On Wed, Aug 6, 2014 at 7:18 PM, Pawel Osciak wrote: > > On Thu, Aug 7, 2014 at 12:10 AM, Vincent Palatin > wrote: > > > > On Sun, Aug 3, 2014 at 10:52 PM, Pawel Osciak wrote: > > > This looks good to me in general (with one comment below). I don't think > > > we > > > can easily implement curr

[PATCH trivial 1/4] [media] cx25840: Spelling s/compuations/computations/

2014-08-08 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org --- drivers/media/i2c/cx25840/cx25840-ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/cx25840/cx25840-ir.c b/drivers/media/i2c/cx25840/cx25840-ir.c index e6588e

[PATCH trivial 2/4] [media] cx23885: Spelling s/compuations/computations/

2014-08-08 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org --- drivers/media/pci/cx23885/cx23888-ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx23885/cx23888-ir.c b/drivers/media/pci/cx23885/cx23888-ir.c index 2c951d

Re: [PATCH 3/3] au0828: don't let the IR polling thread to run at suspend

2014-08-08 Thread Shuah Khan
On Fri, Aug 8, 2014 at 4:43 AM, Mauro Carvalho Chehab wrote: > Trying to make au0828 to suspend can do very bad things, as > the polling Kthread is not handled. We should disable it > during suspend, only re-enabling it at resume. > > Still, analog and digital TV won't work, as we don't reinit > t

[PATCH] [media] tda7432: Fix setting TDA7432_MUTE bit for TDA7432_RF register

2014-08-08 Thread Axel Lin
Fix a copy-paste bug when converting to the control framework. Fixes: commit 5d478e0de871 ("[media] tda7432: convert to the control framework") Signed-off-by: Axel Lin --- drivers/media/i2c/tda7432.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/tda7432.c

[RFC PATCH] vb2: use pr_info instead of pr_debug

2014-08-08 Thread Hans Verkuil
Modern kernels enable dynamic printk support, which is fine, except when it is combined with a debug module option. Enabling debug in videobuf2-core now produces no debugging unless it is also enabled through the dynamic printk support in debugfs. Either use a debug module option + pr_info, or u

Re: 3.15.8 USB issue with uvc cam

2014-08-08 Thread Udo van den Heuvel
Hello, The Logitech C615 works OK if moved away from a USB3 port into a non-USB3 port. So it appears a USB3 issue. Is 'xhci_hcd :02:00.0: ERROR: unexpected command completion code 0x11' a possible root cause? My board has: # lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Famil

[PATCH] dma-buf/fence: Fix one more kerneldoc warning

2014-08-08 Thread Thierry Reding
From: Thierry Reding The seqno_fence_init() function's cond argument isn't described in the kerneldoc comment. Fix that to silence a warning when building DocBook documentation. Signed-off-by: Thierry Reding --- include/linux/seqno-fence.h | 1 + 1 file changed, 1 insertion(+) diff --git a/in

[PATCH 3/3] au0828: don't let the IR polling thread to run at suspend

2014-08-08 Thread Mauro Carvalho Chehab
Trying to make au0828 to suspend can do very bad things, as the polling Kthread is not handled. We should disable it during suspend, only re-enabling it at resume. Still, analog and digital TV won't work, as we don't reinit the settings at resume, but at least it won't hang. Signed-off-by: Mauro

[PATCH 1/3] au0828: avoid race conditions at RC stop

2014-08-08 Thread Mauro Carvalho Chehab
As the RC kthread can re-enable IR int, we should first cancel the kthread and then disable IR int. While here, remove a temporary debug printk. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/au0828/au0828-input.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 2/3] au0828: handle IR int during suspend/resume

2014-08-08 Thread Mauro Carvalho Chehab
It doesn't make sense to handle an IR code given before suspending after the device resume. So, turn off IR int while suspending. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/au0828/au0828-input.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/usb/au0828/au

[PATCH] dma-buf/fence: Fix a kerneldoc warning

2014-08-08 Thread Thierry Reding
From: Thierry Reding kerneldoc doesn't know how to parse variables, so don't let it try. Signed-off-by: Thierry Reding --- drivers/dma-buf/fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma-buf/fence.c b/drivers/dma-buf/fence.c index 4222cb2aa96a..7bb9d65d9

qv4l2: many thanks to Anton for his work on this utility!

2014-08-08 Thread Hans Verkuil
Hi all, As you may have noticed a lot of work has been done in qv4l2 recently by Anton Arbring as part of his summer internship at Cisco Systems Norway. The goal was to improve the GUI and make it more user-friendly and professional looking. It has improved a lot, so many thanks to Anton for th

Re: [PATCH] v4l2-ioctl: The result of VIDIOC_S_EDID should always be returned

2014-08-08 Thread Hans Verkuil
Hi Mats, I know I reviewed this earlier and it looked good, but then I added a test for this to the v4l2-compliance tool and I couldn't reproduce the error that should occur if this patch wasn't applied. Some more digging uncovered that the S_EDID ioctl is one of the 'array' controls (see check

[PATCH] v4l2-ioctl: The result of VIDIOC_S_EDID should always be returned

2014-08-08 Thread matrandg
From: Mats Randgaard VIDIOC_S_EDID can return error and valid result Documentation/DocBook/media/v4l/vidioc-g-edid.xml: "If there are more EDID blocks than the hardware can handle then the EDID is not written, but instead the error code E2BIG is set and blocks is set to the maximum that the hard

[PATCH] DocBook media: fix order of v4l2_edid fields

2014-08-08 Thread Hans Verkuil
The order of the last two fields in the G/S_EDID specification was swapped from what is in the actual struct. Fix this. Signed-off-by: Hans Verkuil diff --git a/Documentation/DocBook/media/v4l/vidioc-g-edid.xml b/Documentation/DocBook/media/v4l/vidioc-g-edid.xml index ce4563b..fa91651 100644 --

[PATCHv2 2/4] Add USB ID for TechnoTrend TT-connect CT2-4650 CI

2014-08-08 Thread Olli Salonen
Signed-off-by: Olli Salonen --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h index 5135a09..b7a9b98 100644 --- a/drivers/media/dvb-core/dvb-usb-ids.h +++ b/drivers/media/dvb-co

[PATCH 4/4] cxusb: Add read_mac_address for TT CT2-4400 and CT2-4650

2014-08-08 Thread Olli Salonen
Read MAC address from the EEPROM. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb/cxusb.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index c3a44c7..6abfd6b 100644 ---

[PATCHv2 1/4] sp2: Add I2C driver for CIMaX SP2 common interface module

2014-08-08 Thread Olli Salonen
Driver for the CIMaX SP2 common interface chip. It is very much based on the existing cimax2 driver for cx23885, but should be more reusable. The product has been sold with name Atmel T90FJR as well and the data sheets for that chip seem to be publicly available. It seems that the USB device that

[PATCHv2 3/4] cxusb: Add support for TechnoTrend TT-connect CT2-4650 CI

2014-08-08 Thread Olli Salonen
TechnoTrend TT-connect CT2-4650 CI (0b48:3012) is an USB DVB-T2/C tuner with the following components: USB interface: Cypress CY7C68013A-56LTXC Demodulator: Silicon Labs Si2168-A20 Tuner: Silicon Labs Si2158-A20 CI chip: CIMaX SP2HF The firmware for the tuner is the same as for TechnoTrend TT