[PATCH] Fix line too long warning

2017-10-28 Thread Kien Ha
>From fc52a98aca0c033f2c03fdc7e8f83ae49625675a Mon Sep 17 00:00:00 2001 From: Kien Ha Date: Fri, 27 Oct 2017 14:07:55 -0400 Subject: [PATCH] Fix line too long warning Signed-off-by: Kien Ha --- drivers/staging/rtlwifi/base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

Re: [PATCH] staging: vc04_services: Convert timers to use timer_setup()

2017-10-28 Thread Stefan Wahren
> Kees Cook hat am 24. Oktober 2017 um 10:26 > geschrieben: > > > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Greg Kroah-Hartman > Cc:

[PATCH 2/9] media: staging/imx: remove static media link arrays

2017-10-28 Thread Steve Longerbeam
Remove the static list of media links that were formed at probe time. These links can instead be created after all registered async subdevices have been bound in imx_media_probe_complete(). The media links between subdevices that exist in the device tree, can be created post-async completion by us

[PATCH 5/9] media: staging/imx: pass fwnode handle to find/add async subdev

2017-10-28 Thread Steve Longerbeam
Pass the subdev's fwnode_handle to imx_media_find_async_subdev() and imx_media_add_async_subdev(), instead of a device_node. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-dev.c | 20 ++-- drivers/staging/media/imx/imx-media-of.c | 7 +++ drivers/st

[PATCH 6/9] media: staging/imx: remove static subdev arrays

2017-10-28 Thread Steve Longerbeam
For more complex OF graphs, there will be more async subdevices registered. Remove the static subdev[IMX_MEDIA_MAX_SUBDEVS] array, so that imx-media places no limits on the number of async subdevs that can be added and registered. There were two uses for 'struct imx_media_subdev'. First was to act

[PATCH 7/9] media: staging/imx: convert static vdev lists to list_head

2017-10-28 Thread Steve Longerbeam
Although not technically necessary because imx-media has only a maximum of 8 video devices, and once setup the video device lists are static, in anticipation of moving control ineritance to v4l2-core, make the vdev lists more generic by converting to dynamic list_head's. After doing that, 'struct

[PATCH 9/9] media: staging/imx: update TODO

2017-10-28 Thread Steve Longerbeam
Update TODO file: - Remove TODO info about the OV564x driver, while this still needs to be done (add a OV5642 driver or merge with OV5640 driver), it is not relevant here. - Update TODO about methods for retrieving CSI bus config. - Add some TODO's about OF graph parsing restrictions. Signe

[PATCH 3/9] media: staging/imx: of: allow for recursing downstream

2017-10-28 Thread Steve Longerbeam
Calling of_parse_subdev() recursively to a downstream path that has already been followed is ok, it just means that call will return immediately since the subdevice was already added to the async list. With that there is no need to determine whether a subdevice's port is a sink or source, so 'num_

[PATCH 8/9] media: staging/imx: reorder function prototypes

2017-10-28 Thread Steve Longerbeam
Re-order some of the function prototypes in imx-media.h to group them correctly by source file. No functional changes. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media.h | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/stag

[PATCH 0/9] media: imx: Add better OF graph support

2017-10-28 Thread Steve Longerbeam
This is a set of patches that improve support for more complex OF graphs. Currently the imx-media driver only supports a single device with a single port connected directly to either the CSI muxes or the MIPI CSI-2 receiver input ports. There can't be a multi-port device in between. This patch set

[PATCH 1/9] media: staging/imx: get CSI bus type from nearest upstream entity

2017-10-28 Thread Steve Longerbeam
The imx-media driver currently supports a device tree graph of limited complexity. This patch is a first step in allowing imx-media to work with more general OF graphs. The CSI subdevice assumes the originating upstream subdevice (the "sensor") is connected directly to either the CSI mux or the MI

[PATCH 4/9] media: staging/imx: remove devname string from imx_media_subdev

2017-10-28 Thread Steve Longerbeam
A separate string for the device name, for DEVNAME async match, was never needed. Just assign the asd device name to the passed platform device name pointer in imx_media_add_async_subdev(). Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-dev.c | 3 +-- drivers/staging/med