[PATCH] [media] dvb_core: Replace memset with eth_zero_addr

2015-06-19 Thread Vaishali Thakkar
Use eth_zero_addr to assign the zero address to the given address array instead of memset when second argument is address of zero. The Coccinelle semantic patch that makes this change is as follows: // smpl @eth_zero_addr@ expression e; @@ -memset(e,0x00,ETH_ALEN); +eth_zero_addr(e); // /smpl

cron job: media_tree daily build: OK

2015-06-19 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 Jun 20 04:00:17 CEST 2015 git branch: test git hash: 6f32a8c97f11eb074027052b6b507891e5c9d8b1 gcc

[PATCH for v4.2] cobalt: set Kconfig default to n

2015-06-19 Thread Hans Verkuil
Since this board is a Cisco-internal board there is no point in having it compiled by default. So set the Kconfig default to n. Signed-off-by: Hans Verkuil hans.verk...@cisco.com diff --git a/drivers/media/pci/cobalt/Kconfig b/drivers/media/pci/cobalt/Kconfig index 3be1b2c..4d0777a 100644 ---

[PATCH v10.1] leds: aat1290: add support for V4L2 Flash sub-device

2015-06-19 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

Total system hang/freeze - segfault - error 4 in libc-2.21.so

2015-06-19 Thread Michael
Greetings! Apologies if this is the inappropriate method of contact. I was directed here from tvheadend's support forum. I have an Asrock Q2900-ITX with an RTL2838 USB DVB-T device (0bda:2838) that works out of the box on Kernels 3.19.0 (Ubuntu Vivid) and 4.0.5 (both distros).

[PATCH] leds: aat1290: Add 'static' modifier to init_mm_current_scale

2015-06-19 Thread Jacek Anaszewski
Fix sparse warning by adding static modifier to the function init_mm_current_scale. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com --- drivers/leds/leds-aat1290.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-aat1290.c

[PATCH v3] media: i2c: ADV7604: Migrate to regmap

2015-06-19 Thread Pablo Anton
This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Signed-off-by: Pablo Anton pablo.an...@veo-labs.com Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@veo-labs.com Acked-by: Hans Verkuil hans.verk...@cisco.com Tested-by: Hans

Re: [PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Sudip Mukherjee
On Fri, Jun 19, 2015 at 02:22:02PM +0530, Sunil Shahu wrote: Fix code indentation error by replacing tab in place of spaces. Signed-off-by: Sunil Shahu shsh...@gmail.com when you are sending a modified patch, please mark it as [PATCH v2] otherwise it becomes confusing. regards sudip -- To

[PATCH] v4l: vsp1: Fix plane stride and size checks

2015-06-19 Thread Laurent Pinchart
The checks need to be performed on up to two planes, as the third plane, if present, must have the same stride and size as the second plane. The code incorrectly performs the checks on at least two planes instead of at most two planes, fix it. Signed-off-by: Laurent Pinchart

Re: [URGENT FOR v4.1] [PATCH v2] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-19 Thread Hans Verkuil
On 06/19/2015 02:02 PM, Laurent Pinchart wrote: Commit f61bf13b6a07 ([media] vb2: add allow_zero_bytesused flag to the vb2_queue struct) added a WARN_ONCE to catch usage of a deprecated API using a zero value for v4l2_buffer.bytesused. However, the condition is checked incorrectly, as the

Re: [URGENT FOR v4.1] [PATCH v2] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-19 Thread Marek Szyprowski
Hello, On 2015-06-19 14:02, Laurent Pinchart wrote: Commit f61bf13b6a07 ([media] vb2: add allow_zero_bytesused flag to the vb2_queue struct) added a WARN_ONCE to catch usage of a deprecated API using a zero value for v4l2_buffer.bytesused. However, the condition is checked incorrectly, as the

Re: [URGENT FOR v4.1] [PATCH v2] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-19 Thread Kamil Debski
Hi Laurent, First - thank you so much for the patch. I had a look into the code and it looks good. You have my Ack. Thank and best wishes, Kamil Debski On 19 June 2015 at 13:04, Hans Verkuil hverk...@xs4all.nl wrote: On 06/19/2015 02:02 PM, Laurent Pinchart wrote: Commit f61bf13b6a07 ([media]

Re: [PATCH v2] media: i2c: ADV7604: Migrate to regmap

2015-06-19 Thread Hans Verkuil
On 06/16/2015 10:38 AM, Pablo Anton wrote: This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Signed-off-by: Pablo Anton pablo.an...@veo-labs.com Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@veo-labs.com After fixing the

Re: [URGENT] [PATCH] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-19 Thread Hans Verkuil
On 06/19/2015 01:50 PM, Laurent Pinchart wrote: Commit f61bf13b6a07 ([media] vb2: add allow_zero_bytesused flag to the vb2_queue struct) added a WARN_ONCE to catch usage of a deprecated API using a zero value for v4l2_buffer.bytesused. However, the condition is checked incorrectly, as the

[PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Sunil Shahu
Fix code indentation error by replacing tab in place of spaces. Signed-off-by: Sunil Shahu shsh...@gmail.com --- drivers/staging/media/lirc/lirc_sasem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_sasem.c

[URGENT FOR v4.1] [PATCH v2] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-19 Thread Laurent Pinchart
Commit f61bf13b6a07 ([media] vb2: add allow_zero_bytesused flag to the vb2_queue struct) added a WARN_ONCE to catch usage of a deprecated API using a zero value for v4l2_buffer.bytesused. However, the condition is checked incorrectly, as the v4L2_buffer bytesused field is supposed to be ignored

Re: [PATCH] Revert [media] vb2: Push mmap_sem down to memops

2015-06-19 Thread Hans Verkuil
On 06/18/2015 12:33 PM, Jan Kara wrote: On Mon 15-06-15 09:24:55, Hans Verkuil wrote: This reverts commit 48b25a3a713b90988b6882d318f7c0a6bed9aabc. That commit caused two regressions. The first is a BUG: BUG: unable to handle kernel NULL pointer dereference at 0100 IP:

[URGENT] [PATCH] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-19 Thread Laurent Pinchart
Commit f61bf13b6a07 ([media] vb2: add allow_zero_bytesused flag to the vb2_queue struct) added a WARN_ONCE to catch usage of a deprecated API using a zero value for v4l2_buffer.bytesused. However, the condition is checked incorrectly, as the v4L2_buffer bytesused field is supposed to be ignored

Re: [URGENT] [PATCH] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-19 Thread Laurent Pinchart
Hi Hans, On Friday 19 June 2015 13:56:23 Hans Verkuil wrote: On 06/19/2015 01:50 PM, Laurent Pinchart wrote: Commit f61bf13b6a07 ([media] vb2: add allow_zero_bytesused flag to the vb2_queue struct) added a WARN_ONCE to catch usage of a deprecated API using a zero value for

Re: HDMI and Composite capture on Lager, for kernel 4.1, version 3

2015-06-19 Thread Hans Verkuil
On 06/03/2015 03:59 PM, William Towle wrote: Version 3. Obsoletes version 2, as seen at: http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/91668 Key changes in this version: this has some reworking of the adv7604 driver probe and soc_camera initialisation

Re: [PATCH v9 2/8] media: Add registration helpers for V4L2 flash sub-devices

2015-06-19 Thread Jacek Anaszewski
Hi Alexey, On 06/18/2015 07:45 PM, Alexey Klimov wrote: Hi Jacek, On Mon, May 25, 2015 at 6:13 PM, Jacek Anaszewski j.anaszew...@samsung.com wrote: This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from

Re: [RFC PATCH 2/2] v4l2-utils: extend set-dv-timing options for RB version

2015-06-19 Thread Hans Verkuil
On 06/16/2015 11:30 AM, Prashant Laddha wrote: To support the timings calculations for reduced blanking version 2 (RB v2), extended the command line options to include flag indicating whether to use RB V2 or not. Updated the command usage for the same. Cc: Hans Verkuil hans.verk...@cisco.com

[PATCH v10.1] media: Add registration helpers for V4L2 flash sub-devices

2015-06-19 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be

Re: [PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Dan Carpenter
On Wed, Jun 17, 2015 at 06:01:32PM +0530, Sunil Shahu wrote: Fix code indentation error by replacing tab in place of spaces. Signed-off-by: Sunil Shahu shsh...@gmail.com --- drivers/staging/media/lirc/lirc_sasem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Sunil Shahu
Fix code indentation error by replacing tab in place of spaces. Signed-off-by: Sunil Shahu shsh...@gmail.com --- drivers/staging/media/lirc/lirc_sasem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_sasem.c

Re: [PATCH for v4.2] cobalt: set Kconfig default to n

2015-06-19 Thread Mauro Carvalho Chehab
Em Fri, 19 Jun 2015 08:31:05 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: Since this board is a Cisco-internal board there is no point in having it compiled by default. So set the Kconfig default to n. This should not change anything. The default for all options that aren't specified are

Re: [PATCH v2] media: i2c: ADV7604: Migrate to regmap

2015-06-19 Thread Lars-Peter Clausen
On 06/16/2015 10:38 AM, Pablo Anton wrote: This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Looks pretty good. #define ADV76XX_REG(page, offset) (((page) 8) | (offset)) @@ -633,13 +618,15 @@ static int

[PATCH] MEDIA PCI Kconfig ANALOG_TV - CAMERA

2015-06-19 Thread Krzysztof HaƂasa
Hi, I noticed certain cards are currently under MEDIA_ANALOG_TV_SUPPORT but it seems they are frame grabbers (with CVBS, Svideo etc. inputs) rather than TV receivers (with analog TV tuners). MEDIA_CAMERA_SUPPORT maybe isn't the best name (only meye driver seems to drive a real camera in a

Re: [PATCH v2 09/17] staging/lirc_serial: Remove TSC-based timing

2015-06-19 Thread Andy Lutomirski
Hi Mauro, etc: Are you okay with this change landing in the tip tree? --Andy On Fri, Jun 12, 2015 at 4:44 PM, Andy Lutomirski l...@kernel.org wrote: It wasn't compiled in by default. I suspect that the driver was and still is broken, though -- it's calling udelay with a parameter that's