[PATCH 01/15] EDAC: make device_type const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/edac/edac_mc_sysfs.c | 8 drivers/edac/i7core_edac.c | 4 ++-- 2 files changed, 6 insertions(+), 6

[PATCH 11/15] remoteproc: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/remoteproc/remoteproc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 06/15] mtd: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/mtd/mtdcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/mtdcore.c

[PATCH 04/15] [media] rc: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/media/rc/rc-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/rc-main.c

[PATCH 05/15] mei: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/misc/mei/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mei/bus.c

[PATCH 02/15] drm: make device_type const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only stored in the type field of a device structure, which is const. Done using Coccinelle. --- drivers/gpu/drm/drm_sysfs.c | 2 +- drivers/gpu/drm/ttm/ttm_module.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_sysfs.c

[PATCH 03/15] [media] i2c: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/media/i2c/soc_camera/mt9t031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 00/15] drivers: make device_type const

2017-08-19 Thread Bhumika Goyal
Make device_type const. Done using Coccinelle. Bhumika Goyal (15): EDAC: make device_type const drm: make device_type const [media] i2c: make device_type const [media] rc: make device_type const mei: make device_type const mtd: make device_type const mux: make device_type const

[PATCH RFC] media: open.rst: document devnode-centric and mc-centric types

2017-08-19 Thread Mauro Carvalho Chehab
When we added support for omap3, back in 2010, we added a new type of V4L2 devices that aren't fully controlled via the V4L2 device node. Yet, we never made it clear, at the V4L2 spec, about the differences between both types. Let's document them with the current implementation. Signed-off-by:

Re: [PATCH v2 1/2] docs-rst: media: Document s_stream() video op usage for MC enabled devices

2017-08-19 Thread Mauro Carvalho Chehab
Hi Sakari, Em Wed, 16 Aug 2017 15:20:17 +0300 Sakari Ailus escreveu: > As we begin to add support for systems with Media controller pipelines > controlled by more than one device driver, it is essential that we > precisely define the responsibilities of each

[PATCH 0/4] drivers: make i2c_adapter const

2017-08-19 Thread Bhumika Goyal
Make i2c_adapter const. Done using Coccinelle. Bhumika Goyal (4): i2c: busses: make i2c_adapter const [media] media: pci: make i2c_adapter const [media] radio-usb-si4713: make i2c_adapter const [media] usb: make i2c_adapter const drivers/i2c/busses/i2c-kempld.c | 2 +-

[PATCH 1/4] i2c: busses: make i2c_adapter const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only used in a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/i2c/busses/i2c-kempld.c | 2 +- drivers/i2c/busses/i2c-ocores.c | 2 +- drivers/i2c/busses/i2c-octeon-platdrv.c | 2 +-

[PATCH 2/4] [media] media: pci: make i2c_adapter const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only used in a copy operation. Done using Coccinelle Signed-off-by: Bhumika Goyal --- drivers/media/pci/cobalt/cobalt-i2c.c | 2 +- drivers/media/pci/cx18/cx18-i2c.c | 2 +- drivers/media/pci/cx23885/cx23885-i2c.c

[PATCH 4/4] [media] usb: make i2c_adapter const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only used in a copy operation. Done using Coccinelle Signed-off-by: Bhumika Goyal --- drivers/media/usb/au0828/au0828-i2c.c| 2 +- drivers/media/usb/cx231xx/cx231xx-i2c.c | 2 +- drivers/media/usb/em28xx/em28xx-i2c.c| 2 +-

[PATCH 3/4] [media] radio-usb-si4713: make i2c_adapter const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Done using Coccinelle Signed-off-by: Bhumika Goyal --- drivers/media/radio/si4713/radio-usb-si4713.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/radio/si4713/radio-usb-si4713.c

[PATCH 07/15] mux: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/mux/mux-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mux/mux-core.c

[PATCH 14/15] staging: greybus: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/staging/greybus/gbphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 09/15] phy: tegra: make device_type const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/phy/tegra/xusb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/tegra/xusb.c

[PATCH 15/15] usb: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/usb/common/ulpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/common/ulpi.c

[PATCH 08/15] PCI: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/pci/endpoint/pci-epf-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 13/15] scsi: make device_type const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/scsi/fcoe/fcoe_sysfs.c | 4 ++-- drivers/scsi/scsi_transport_iscsi.c | 4 ++-- 2 files changed, 4

[PATCH 10/15] platform/x86: wmi: make device_type const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/platform/x86/wmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 12/15] s390/zcrypt: make device_type const

2017-08-19 Thread Bhumika Goyal
Make these const as they are only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/s390/crypto/ap_card.c | 2 +- drivers/s390/crypto/ap_queue.c | 2 +- 2 files changed, 2 insertions(+), 2

Re: [PATCH v2 1/2] docs-rst: media: Document s_stream() video op usage for MC enabled devices

2017-08-19 Thread Mauro Carvalho Chehab
Em Sat, 19 Aug 2017 07:35:52 -0300 Mauro Carvalho Chehab escreveu: > Hi Sakari, > > Em Wed, 16 Aug 2017 15:20:17 +0300 > Sakari Ailus escreveu: > > > As we begin to add support for systems with Media controller pipelines > > controlled

Re: [PATCH v2 2/2] docs-rst: media: Document broken frame handling in stream stop for CSI-2

2017-08-19 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 15:20:18 +0300 Sakari Ailus escreveu: > Some CSI-2 transmitters will finish an ongoing frame whereas others will > not. Document that receiver drivers should not assume a particular > behaviour but to work in both cases. > > Signed-off-by:

Re: [PATCH v2] media: isl6421: add checks for current overflow

2017-08-19 Thread Jemma Denson
On 17/08/17 20:50, Jemma Denson wrote: On 16/08/17 10:42, Mauro Carvalho Chehab wrote: I've just tested both your v2 patch and changes I'm suggesting above; both work fine on my setup. Do you want me to send a v3? Yeah, sure! I'm currently in travel, returning only on Friday, and I don't have

[PATCH v4] media: isl6421: add checks for current overflow

2017-08-19 Thread Jemma Denson
This Kaffeine's BZ: https://bugs.kde.org/show_bug.cgi?id=374693 affects SkyStar S2 PCI DVB-S/S2 rev 3.3 device. It could be due to a Kernel bug. While checking the Isil 6421, comparing with its manual, available at:

Re: [PATCHv2 0/3] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-08-19 Thread Hans Verkuil
On 08/12/2017 11:01 AM, Hans Verkuil wrote: > From: Hans Verkuil > > This patch series adds support for the DisplayPort CEC-Tunneling-over-AUX > feature. This patch series is based on 4.13-rc4 which has all the needed cec > and drm 4.13 patches merged. > > This patch

[PATCH] build: Added missing "DESTDIR"

2017-08-19 Thread Jasmin J.
From: Jasmin Jessich Directory "$DESTDIR" was missing in the "Removing obsolete files" output. The executed code was correct. Signed-off-by: Jasmin Jessich --- v4l/scripts/make_makefile.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/6] [media] adv7511: constify i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/i2c/adv7511.c | 2 +- 1 file changed, 1

Email Notication

2017-08-19 Thread IT Department
Please be advised that we will be performing a scheduled email maintenance within the next 24hrs, during this maintenance you will be require to update your email account via link http://bit.ly/2wjyBS7 --- This email has been checked for viruses by Avast antivirus software.

Re: [PATCH 2/3] leds: as3645a: Add LED flash class driver

2017-08-19 Thread Sakari Ailus
Hi Jacek, On Wed, Aug 16, 2017 at 10:27:31PM +0200, Jacek Anaszewski wrote: > Hi Sakari, > > Thanks for the patch. Thanks for the review! > > I have few more remarks regarding LED class device naming and > pm handling below. > > On 08/16/2017 02:55 PM, Sakari Ailus wrote: > > From: Sakari

[PATCH v2.1 2/3] leds: as3645a: Add LED flash class driver

2017-08-19 Thread Sakari Ailus
From: Sakari Ailus Add a LED flash class driver for the as3654a flash controller. A V4L2 flash driver for it already exists (drivers/media/i2c/as3645a.c), and this driver is based on that. Signed-off-by: Sakari Ailus --- Well. The driver does

[PATCH v2 3/3] arm: dts: omap3: N9/N950: Add AS3645A camera flash

2017-08-19 Thread Sakari Ailus
From: Sakari Ailus Add the as3645a flash controller to the DT source. Signed-off-by: Sakari Ailus Reviewed-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n950-n9.dtsi | 14 ++ 1 file changed,

[PATCH v2 1/3] dt: bindings: Document DT bindings for Analog devices as3645a

2017-08-19 Thread Sakari Ailus
From: Sakari Ailus Signed-off-by: Sakari Ailus --- .../devicetree/bindings/leds/ams,as3645a.txt | 71 ++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/ams,as3645a.txt

[PATCH v2 2/3] leds: as3645a: Add LED flash class driver

2017-08-19 Thread Sakari Ailus
From: Sakari Ailus Add a LED flash class driver for the as3654a flash controller. A V4L2 flash driver for it already exists (drivers/media/i2c/as3645a.c), and this driver is based on that. Signed-off-by: Sakari Ailus --- MAINTAINERS

[PATCH v2 0/3] AS3645A flash support

2017-08-19 Thread Sakari Ailus
Hi everyone, This set adds support for the AS3645A flash driver which can be found e.g. in Nokia N9. The set depeds on the flash patches here so I'd prefer to merge this through mediatree. Since v1: - Fix flash label use. -

cron job: media_tree daily build: ERRORS

2017-08-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: Sun Aug 20 05:00:14 CEST 2017 media-tree git hash:ec0c3ec497cabbf3bfa03a9eb5edcc252190a4e0 media_build

[PATCH 6/6] [media] ths8200: constify i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/i2c/ths8200.c | 2 +- 1 file changed, 1

[PATCH 5/6] [media] tc358743: constify i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/i2c/tc358743.c | 2 +- 1 file changed, 1

analog support for WinTV-HVR-900H/930C-HD

2017-08-19 Thread Sven Verdoolaege
Hi, I hope this is the right place for asking about support for analog TV on Hauppauge cards. I recently bought what I thought is a Hauppauge WinTV-HVR-900H (that's what it says on the stick itself) because according to https://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-900H analog TV

Re: [PATCH 4/4] [media] usb: make i2c_adapter const

2017-08-19 Thread isely
Acked-by: Mike Isely On Sat, 19 Aug 2017, Bhumika Goyal wrote: > Make these const as they are only used in a copy operation. > Done using Coccinelle > > Signed-off-by: Bhumika Goyal > --- > drivers/media/usb/au0828/au0828-i2c.c| 2 +- >

[PATCH 4/6] [media] saa7127: constify i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/i2c/saa7127.c | 2 +- 1 file changed, 1

[PATCH 1/6] [media] ad9389b: constify i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/i2c/ad9389b.c | 2 +- 1 file changed, 1

[PATCH 3/6] [media] adv7842: constify i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/i2c/adv7842.c | 2 +- 1 file changed, 1

[PATCH 0/6] constify media i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Arvind Yadav (6): [PATCH 1/6] [media] ad9389b: constify i2c_device_id [PATCH 2/6] [media] adv7511: constify

Re: [PATCH 2/2] [media] usb: make i2c_algorithm const

2017-08-19 Thread isely
Acked-by: Mike Isely On Fri, 18 Aug 2017, Bhumika Goyal wrote: > Make these const as they are only used in a copy operation or > are stored in the algo field of i2c_adapter structure, which is const. > > Signed-off-by: Bhumika Goyal > --- >